@shoppexio/storefront 1.0.96 → 1.0.97
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 +4 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.97
|
|
4
|
+
|
|
5
|
+
- `Shop.stock_display` (`'low_stock' | 'exact'`): the merchant's Stock Display setting (Settings › Storefront › Catalog). `'exact'` asks for the unit count at every stock level, `'low_stock'` only while stock runs low. `hide_stock_counter` (shop or product) still hides every count. Optional: the field is absent until the API that sends it is deployed, and on partial shop records.
|
|
6
|
+
|
|
3
7
|
## 1.0.96
|
|
4
8
|
|
|
5
9
|
- `submitOrderReview(orderId, { anonymous })` (`@shoppexio/storefront/customer`): `false` posts the review under the buyer's public name; omitted or `true` posts it anonymously, as every review did before. `orderReview()` returns that name as `reviewer_name` (`null` for a guest or when the shop holds no name it may show, e.g. one that looks like an email or a link) and `anonymous`: the saved review's choice, or for a new review whether it starts anonymous. Offer the choice only when `reviewer_name` is a string: both fields are absent until the API that answers them is deployed.
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED