Using Scripts Editor to create a Buy 3 get 1 free, but only available to email recipients

Shawn_Benk
New Member
3 0 0

We are trying to figure out a way to offer our email list a Buy X Get Y Free, but not make it available across the entire site. Any app that we have tried, like Buy X Get One by Supple, it opens up the offer to anyone on that site that meets the criteria. We only want to offer these exclusives deals through email.

0 Likes
rickydazla
Shopify Expert
690 0 73

customer.accepts_marketing is not currently accessible

I'm a million different people
0 Likes
Shawn_Benk
New Member
3 0 0

Would that require the customer to have already purchased or created an account on our site?

0 Likes
Alan_Ly
Shopify Staff
Shopify Staff
7 0 5

We've just recently added the orders_count and accepts_marketing? attributes to the Customer object. For further details, you can refer to the API documentation for the Customer object.

0 Likes