@ordergroove/offers 2.26.2 → 2.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/bundle-report.html +3 -3
- package/dist/examples.js +138 -31
- package/dist/examples.js.map +2 -2
- package/examples/index.js +12 -0
- package/package.json +3 -3
- package/schema.json +2 -2
package/examples/index.js
CHANGED
|
@@ -105,6 +105,18 @@ const exampleTemplates = [
|
|
|
105
105
|
textCopy: { ...textCopy }
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
|
+
{
|
|
109
|
+
name: 'cart',
|
|
110
|
+
selector: 'og-offer[location="cart"]',
|
|
111
|
+
defaultPreviewMode: 'subscribed',
|
|
112
|
+
config: {
|
|
113
|
+
settings: {
|
|
114
|
+
...settings,
|
|
115
|
+
offerType: 'cart'
|
|
116
|
+
},
|
|
117
|
+
textCopy: { ...textCopy }
|
|
118
|
+
}
|
|
119
|
+
},
|
|
108
120
|
{
|
|
109
121
|
name: 'side-by-side',
|
|
110
122
|
selector: 'og-offer[location="side-by-side"]',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ordergroove/offers",
|
|
3
|
-
"version": "2.26.
|
|
3
|
+
"version": "2.26.4",
|
|
4
4
|
"description": "offer state component",
|
|
5
5
|
"author": "Eugenio Lattanzio <eugenio63@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/ordergroove/plush-toys#readme",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"throttle-debounce": "^2.1.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@ordergroove/offers-templates": "^0.4.
|
|
46
|
+
"@ordergroove/offers-templates": "^0.4.6"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "b294a2bd1eb354f5cdf31f429a1f3c046c3add1c"
|
|
49
49
|
}
|
package/schema.json
CHANGED
|
@@ -449,8 +449,8 @@
|
|
|
449
449
|
"defaultFrequencyCopy": "(Most Popular)",
|
|
450
450
|
"offerOptInLabel": "Subscribe to save",
|
|
451
451
|
"offerIncentiveText": "Save {{ogIncentive DiscountPercent}} when you subscribe",
|
|
452
|
-
"offerEveryLabel": "
|
|
453
|
-
"offerOptOutLabel": "
|
|
452
|
+
"offerEveryLabel": "Deliver Every",
|
|
453
|
+
"offerOptOutLabel": "Deliver one-time only",
|
|
454
454
|
"showTooltip": true,
|
|
455
455
|
"upsellButtonLabel": "Add to upcoming subscription order and receive 20% off",
|
|
456
456
|
"upsellButtonContent": "Add to Next Order on ",
|