Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I want everyone who goes to checkout to have the FREE GIFT discount code added. I managed to achieve this using the app, however, I have to select a code in the pop-up that does not visually match the store. Is it possible to add the code automatically using a script or is there an application that will add the code without displaying any information about it?
I would prefer to write a script, but I need someone to direct me how to do it.
Hello @mrycko,
Thanks for being part of the Shopify community! A discount code is a great way to increase sales and convert non-believers into clear customers. Could you confirm that you want to apply the discount code in the Cart, so people will see it before going to the Checkout?
Thanks!
I don't have a discount entry in my cart. It is not necessary to show the discount in the cart.
My discount code can be added to each order. There will be validation at checkout that targets specific customer segments that First_order_date IS NULL. At checkout, after entering your email, Shopify will automatically reject the code for emails from which a purchase has already been made.
Therefore, it is important that the code is active immediately after entering checkout. How and where it will be added does not matter. Before proceeding to checkout, the user does not need to know about it.
Hi @mrycko ,
you can write a custom script which will add discount code to every user which will have the discount criteria in admin.
please find the URL to implement discount code on page load
https://help.shopify.com/en/manual/discounts/managing-discount-codes
hope this will help…
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