#ops-supply-chain
Thread
Hi guys, I’m trying to figure out how this GWP option for first time customers works… it’s the best i’ve ever seen. Basically all new customers get a ‘free gift’ automatically applied at checkout as soon as they enter their email address. Does anyone know how it’s done? I think it might involve some sort of custom ‘cart transform function’ - but i’m really not sure?
Shopify Store Builder/Maintainer here 👋 . There's a few ways to do this. Merit Beauty is on Shopify, so you can:
1. add an automation that checks if it's the first order the customer has ever created, then add that product using Shopify Flow. However, that will create it on order creation, not when they add it to the cart like you show in the image (you'll also need to add a discount if that gift item normally has a price).
2. Custom code into all add to cart buttons to check if it's the customers first order and then add the gift.
3. Easiest option if you're not technically inclined would be to use an app like .
I don't recommend using a lot of apps in the long run, they slow down your store and you're at their mercy if they decide to start charging you and you want to keep their functionality.
❤️
@Hugo Lewis if you ever get unsolicited DM’s please let me know 🙂