Apply discount codes in store

Highlighted
New Member
2 0 0

Hi there! I´m using the Shopify Api for create all my products, orders and discounts(with price rules and codes), but how a customer can add the discount code to the order checkout, I have to send the code inside the order request, or I missing a step before that

0 Likes
Highlighted

Hi

 

There is the option for automatic discounts which are "automatically" applied at the checkout?

 

https://help.shopify.com/en/manual/promoting-marketing/discount-codes/automatic-discounts

 

Martin

0 Likes
Highlighted
New Member
2 0 0

Hi, no my discounts are not applied automatically, the customers have to added when they are on the last step to pay for the products

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
624 103 124

Hi @xavimartz ,

 

If it is not an Automatic Discount but instead a Discount Code, then the only place where the customer can submit this code is in the Checkout when they are trying to pay for their order.

 

An alternative option is that you can pass the Discount Code by URL - you just need to redirect to the customer to the URL or "https://{shop_name}.myshopify.com/discount/{discount_code}". Read more about how to generate this URL here: https://help.shopify.com/en/manual/promoting-marketing/discount-codes/managing-discount-codes#promot...

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes