Shopify themes, liquid, logos, and UX
Hello!
We want to send out a coupon code for new customers on their first order, and adding it to the packing slip is idea as we print these out for all orders. However, we just want to offer a coupon code if it is their first order. On repeat orders, we dont want to provide a coupon code.
Any one know if there is a way to use a variable to check how many orders the customer has, then add the coupon code & text to the packing slip if this is their first order, and on repeat orders hide it?
I wish there was a way to do this too.
Hey @Joachimgolf ,
Feature can be built using the below flow.
1. Create a metafield at order level.
2. Create a default discount code for first time user.
3. Create a flow which will add that discount code in order metafield
4. Now edit the shopping label liquid code to read.
Hope this will help...
Thanks @gr_trading , we would like to add this to the Packing Slip instead of the order as some of our orders come into Shopify from eBay via Marketplace Connect and I doubt they get our order emails.
I'll have a look if your method works for Packing Slips too. Thanks again.
hi @thefoalyard ,
If orders are coming in Shopify then my answer will definitely work, let me know if you face any issues.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025