-
|
I’m using Shopify Markets and want the storefront tier price and final checkout discount to always match. What architecture is recommended? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi, Use one canonical pricing path and shared identifiers. • Treat server-side pricing logic as source of truth. Consistency depends on shared data contracts, not duplicated calculations. |
Beta Was this translation helpful? Give feedback.
Hi, Use one canonical pricing path and shared identifiers.
• Treat server-side pricing logic as source of truth.
• Widget should request pricing from app proxy/server, not recalculate differently on client.
• Store tier metadata in a consistent schema referenced by both widget and discount logic.
• Add regression tests for at least 2 currencies and multiple quantities.
Consistency depends on shared data contracts, not duplicated calculations.