Shopify themes, liquid, logos, and UX
Most of my customers are using my mobile website and I’m finding my conversion rate is much lower since I’ve added a discount code as it takes too long to get into the discount code section of the checkout process, it’s also quite hidden. Is there a way to enter a discount code field on the cart page?
thanks in advance
Hello Craftscupboard
I am just wondering if you have found a resolution for this? I am experiencing the same issue with the mobile website and would love to know if you found a workaround?
Kind regards
Hey! I had the same issue with my website. I was looking for some liquid code to add to my cart page and found an app which added it to my cart drawer.
I had some small issues with the layout after installation and support fixed it in about an hour after my first email. Here is how my cart drawer looks like now:
And here is an app:
https://apps.shopify.com/discount-in-cart
Thank you Adrian for these details. I ended up engaging a coder to code this into my website for me!
If you're only looking for a way to display a discount input, then you can add a regular input field with the name 'discount' to the cart's <form> element. This works on the cart page as well as a cart popup, as long as the form action posts into the checkout. The discount will be applied on the checkout page after the form is submitted.
E.g. <label>Discount <input name="discount" type="text></label>
The tricky part is if you want to check that the coupon is applicable to the cart and display the discounted amount. There is no easy way to do that yourself at this time, which is why apps exist to handle this functionality. There are many apps that apply a discount on the cart page. They differ in appearance as well as supporting functionality and price. The app we've developed for this purpose is https://apps.shopify.com/discount-on-cart-pro. It has a 14-day free trial so you can give it a shot risk-free.
I see you mention here that it has a 14 day trial, but on the app page in the Shopify marketplace it says "FREE" with no information about pricing anywhere. Can you provide some clarity on the pricing structure?
Great question! For the time being, we have decided to give the app away for free. If you install it your price will never change (the app will remain free forever - for you). In the future we will work on a different pricing model however at this time we prefer to let people use it without any deterrents.
Excellent, thanks! One other question for you. I am relatively new to Shopify, when I tried to install your app it warned me about all these permissions for account details, user emails, etc. What exactly do you gather, do you store it, and why? These days we're extra careful about PI!
Most of the permissions that you see are standard (outside our control). The custom permissions that we ask for are:
- To be able to add JavaScript code to your live store, which we need in order to power the custom cart summary
- To manage your theme, in order to be able to help with any issues you may have with installation or while using the app
- To read your discount and shipping configuration.
To answer your question about what data we use - only your store's email and phone number as provided by Shopify during app installation. At this time we do not store anything else (apart from temporarily caching certain API responses to improve load time). In the future, we will be adding a reporting feature that will involve storing and displaying non-identifiable cumulative data. For example the count of how many users went on the cart page and applied the coupon yesterday. At that time we will also have language explaining how we use data from your store.
Thank you for all the excellent information. I installed the app today, but unfortunately, it's doing the same thing that my own custom solution was doing, which was why I went looking for a professional solution in the first place. The cart coupons and the checkout coupons don't seem to communicate with each other, and the cart seems to always think there's a coupon. I believe the problem is that the discount_code cookie is not being removed. But that's not the only issue, because I've also had it where there was a coupon applied on checkout but the cart didn't know about it.
I can provide more details later, unfortunately I don't have the time now, but I wanted to get this message to you in case you have any ideas.
Thanks!
Brian
You are correct, there are limitations due to the fact that there is no straight-forward way to apply discounts on the cart page (indeed the cart and checkout page cannot share enough data).
Even with these two edge cases in mind, we've seen conversion rates jump by two-digit percentages in some cases when using the current solution that we offer. We are still in the process of gathering data, when we are ready we will publish some case studies showing before/after stats.
Thank you for the details, I appreciate the info.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025