create-brainerce-store 1.5.2 → 1.5.3
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/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var require_package = __commonJS({
|
|
|
31
31
|
"package.json"(exports2, module2) {
|
|
32
32
|
module2.exports = {
|
|
33
33
|
name: "create-brainerce-store",
|
|
34
|
-
version: "1.5.
|
|
34
|
+
version: "1.5.3",
|
|
35
35
|
description: "Scaffold a production-ready e-commerce storefront connected to Brainerce",
|
|
36
36
|
bin: {
|
|
37
37
|
"create-brainerce-store": "dist/index.js"
|
package/package.json
CHANGED
|
@@ -556,8 +556,8 @@ function CheckoutContent() {
|
|
|
556
556
|
)
|
|
557
557
|
)}
|
|
558
558
|
|
|
559
|
-
{/* Coupon input */}
|
|
560
|
-
{cart && (
|
|
559
|
+
{/* Coupon input — show from shipping/pickup step onwards */}
|
|
560
|
+
{cart && (step === 'shipping' || step === 'pickup' || step === 'payment') && (
|
|
561
561
|
<div className="border-border border-t pt-4">
|
|
562
562
|
<CouponInput cart={cart} onUpdate={handleCouponUpdate} />
|
|
563
563
|
</div>
|