Add a discount code to a shopping cart through an app?

Highlighted
Shopify Expert
59 0 17

Hi All,

I have seen a few apps that are automatically adding discounts to the shopping cart based on a certain condition.

Does anyone have an idea how they do it, adding the discount code in particular?

This app for example:

https://apps.shopify.com/automatic-discount-rules

Thanks

Beautiful and responsive Shopify themes crafted with care at www.kabukithemes.com.
0 Likes
Shopify Staff
Shopify Staff
180 6 36

Hello!

You may want to take a look at Cart Permalinks for this. They're a reasonable, documented solution.

0 Likes