Skip to content

Commit 4f04c56

Browse files
@W-21038080: [1CC][PWA] Add new feature toggle in config to template files (#3609)
* @W-21038080: [1CC][PWA] Add new feature toggle in config to template files Signed-off-by: d.phan <d.phan@salesforce.com> * add new changelog Signed-off-by: d.phan <d.phan@salesforce.com> --------- Signed-off-by: d.phan <d.phan@salesforce.com>
1 parent 753f306 commit 4f04c56

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

packages/pwa-kit-create-app/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## v3.16.0-dev (Dec 17, 2025)
2+
- Add new One-Click Checkout configuration [#3609](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3609)
3+
24
## v3.15.0 (Dec 17, 2025)
35
- Add new Google Cloud API configuration and Bonus Product configuration [#3523](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3523)
46

packages/pwa-kit-create-app/assets/bootstrap/js/config/default.js.hbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ module.exports = {
136136
appSourceId: '{{answers.project.dataCloud.appSourceId}}',
137137
tenantId: '{{answers.project.dataCloud.tenantId}}'
138138
},
139+
// Enable one-click checkout feature
140+
oneClickCheckout: {
141+
enabled: false
142+
},
139143
// Bonus product config
140144
pages: {
141145
cart: {

packages/pwa-kit-create-app/assets/templates/@salesforce/retail-react-app/config/default.js.hbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ module.exports = {
136136
appSourceId: '{{answers.project.dataCloud.appSourceId}}',
137137
tenantId: '{{answers.project.dataCloud.tenantId}}'
138138
},
139+
// Enable one-click checkout feature
140+
oneClickCheckout: {
141+
enabled: false
142+
},
139143
// Bonus product config
140144
pages: {
141145
cart: {

packages/template-retail-react-app/config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = {
7373
tenantId: 'g82wgnrvm-ywk9dggrrw8mtggy.pc-rnd'
7474
},
7575
oneClickCheckout: {
76-
enabled: true
76+
enabled: false
7777
},
7878
partialHydrationEnabled: false,
7979
pages: {

0 commit comments

Comments
 (0)