Using Discounts on the Server Side
Can I access Regios Discounts calculations in Liquid?
No.
Regios Discounts uses Shopify Functions to apply discounts during checkout. Because Shopify Functions only execute at checkout, the discount calculations are not available in Liquid or other storefront theme contexts.
What this means
You cannot use Liquid to:
- Check whether a Regios discount applies to a product
- Access Regios discount calculations on product or collection pages
- Detect Regios discounts before checkout begins
Why this happens
- Shopify Functions only run during checkout
- There is no Liquid or product page context available at that stage
- Shopify does not expose Regios discount calculations to storefront themes
How discounted prices are shown on the storefront
Regios Discounts uses a JavaScript-based system called DOPP (Discount on Product Page) to display discounted prices before checkout.
DOPP works by:
- Fetching your discount configuration from Regios servers
- Calculating the expected discounted price client-side
- Dynamically updating prices on product and collection pages
This is why the app requires Regios app blocks to be added to your theme.
Note: Shopify’s discount_allocations object may contain discount information in cart or checkout contexts, but it does not expose Regios Discounts calculations on storefront pages before checkout.Can I access Regios Discounts calculations in Shopify Flow?
No.
Does Regios Discounts have a server-side API for calculating discounts?
No. Upvote this feature request.
Does Regios Discounts have a server-side API for creating/updating/deleting discounts?
Yes: REST API
Updated on: 18/05/2026
Thank you!