Skip to content

Commit

Permalink
feat(payment): BOLT-576 Add Bolt SPB support to cornerstone
Browse files Browse the repository at this point in the history
  • Loading branch information
PavlenkoM authored and BC-krasnoshapka committed May 12, 2023
1 parent 99be4e8 commit faf2598
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Running Lighthouse npm script fails in terminal [#2345](https://github.com/bigcommerce/cornerstone/pull/2345)
- Removed accelerated checkout integration [#2341](https://github.com/bigcommerce/cornerstone/pull/2341)
- Added css classes for ApplePay Button [[#2344]](https://github.com/bigcommerce/cornerstone/pull/2344)
- Added styling config for the Bolt smart payment button [[#2356]](https://github.com/bigcommerce/cornerstone/pull/2356)

## 6.10.0 (03-23-2023)
- A bug with the display of the product quantity on the PDP [#2340](https://github.com/bigcommerce/cornerstone/pull/2340)
Expand Down
1 change: 1 addition & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@
"paymentbuttons-paypal-shape": "rect",
"paymentbuttons-paypal-label": "checkout",
"paymentbanners-homepage-color": "white",
"paymentbuttons-bolt-shape": "rect",
"paymentbanners-homepage-ratio": "8x1",
"paymentbanners-cartpage-text-color": "black",
"paymentbanners-cartpage-logo-position": "left",
Expand Down
27 changes: 27 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2879,6 +2879,11 @@
"value": "masterpass",
"label": "i18n.MasterpassProviderSortingLabel",
"enabledBy": "masterpass"
},
{
"value": "bolt",
"label": "i18n.BoltProviderSortingLabel",
"enabledBy": "bolt"
}
]
},
Expand Down Expand Up @@ -3175,6 +3180,28 @@
"label": "i18n.WhiteBlackText"
}
]
},
{
"type": "heading",
"content": "i18n.SmartBoltButton",
"enable": "isBoltProvidersEnabled"
},
{
"type": "select",
"label": "i18n.ButtonShape",
"id": "paymentbuttons-bolt-shape",
"enable": "isBoltProvidersEnabled",
"force_reload": true,
"options": [
{
"value": "pill",
"label": "i18n.Pill"
},
{
"value": "rect",
"label": "i18n.Rectangle"
}
]
}
]
},
Expand Down
6 changes: 6 additions & 0 deletions schemaTranslations.json
Original file line number Diff line number Diff line change
Expand Up @@ -4810,6 +4810,9 @@
"no": "PayPal-knapp på betalingssiden",
"ko": "PayPal 체크아웃"
},
"i18n.SmartBoltButton": {
"default": "Bolt button"
},
"i18n.ProductPageBanner": {
"default": "Product page banner",
"fr": "Bannière de la page produit",
Expand Down Expand Up @@ -5591,5 +5594,8 @@
"da": "Masterpass",
"no": "Masterpass",
"ko": "Masterpass"
},
"i18n.BoltProviderSortingLabel": {
"default": "Bolt"
}
}

0 comments on commit faf2598

Please sign in to comment.