App reviews, troubleshooting, and recommendations
Hi,
as the subject says, we would like to send customers a free gift product with their 2nd order. We are using a fulfillment service, so the gift product needs to be added automatically to the order.
So basically the flow would be the following:
Customer order comes in -> if 2nd order of this specific customer -> then add gift product X to the order
if not 2nd order, but (1st) or (3rd order or higher) > then do not add gift product X to the order
Does anyone know how to do that? Maybe with an app? We can't do these things manually obv.
Thanks in advance
Carlo
Hello @CarloVialiv ,
Through custom code, count the total or past orders
if customer order == 2 then add gift product automatically in background.
e.g.
{% if customer.orders_count == 2 %}
Do you code to add gift product to cart in background
{% endif %}
Here you have to take care of cart also means if cart is empty then free product will not added to cart.
Thanks
Hi @CarloVialiv,
I'm Richard - CRO Expert at PageFly Landing Page Builder. Welcome to Shopify Community!
Regarding your concern, you could refer to the app Free Gifts BOGO Buy x get y by Secomapp https://apps.shopify.com/freegifts. As far as I acknowledge, this app allows merchants to send free gifts based on their customers' order history.
Hope my answer will be helpful to you.
Best of luck!
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hey @Guleria ,
thank you for the quick response. However how is that possible if a customer doesn't have an account?
How is the history being checked then?
Our idea is to add the free gift after the customer has made a purchase. So the customer makes a purchase, then the system checks for customer history and if more than 2 orders in total -> add hidden free product X to the current order.
Is something like that possible?
@PageFly-Richard
we have tried the app but it only works with customer accounts. so they need to be logged in. we don't do customer accounts. but thanks for you tip!
Hello @CarloVialiv ,
Possible with webhook or custom app
Thanks
Hi @Guleria
thanks for the answer. I contacted 5 different coders now but they tell me it's impossible to do that.
Can you give me more detail on the webhook solution so I can forward that to them?
Thank you a lot!
With webhook store each order details in database. Before inserting the order details to database check, Is there any order in database with same email ID is available in database If yes count it and do you logic accordingly.
Hey Carlo,
I've built and app that lets you create rules that do exactly this! I made a short demo video so you can see exactly how it works and get it setup easily. This is unique to customer EMAIL and uses Shopify's logic to distinguish customers.
Link to the app: https://apps.shopify.com/pls-smart-pack-ship
Video Demo:
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024