Can we add a one-time coupon code to a customer's first order packing slip?

Can we add a one-time coupon code to a customer's first order packing slip?

Joachimgolf
Shopify Partner
36 1 6

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?

Replies 4 (4)

thefoalyard
Excursionist
19 0 10

I wish there was a way to do this too.

gr_trading
Shopify Partner
2040 149 206

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

gr_trading_0-1720976186410.png

 

4. Now edit the shopping label liquid code to read.

 

Hope this will help...

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
thefoalyard
Excursionist
19 0 10

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.

gr_trading
Shopify Partner
2040 149 206

hi @thefoalyard ,

 

If orders are coming in Shopify then my answer will definitely work, let me know if you face any issues.

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee