Add a place to put discount code in Cart

MitchellFly
Excursionist
22 0 3

Hi all,

We're currently trying to find a way to apply discounts to the cart total. Is there a way that we can add in an area for customers to apply a discount code while in the cart?

Our issue is that customers, when using Google Pay or other services, don't have a place to input a discount code, so they miss out on the discount.

Any thoughts on this?

Our store is: http://footyintl.com

0 Likes

There are two ways to implement the discount field on the cart page:

1. Use an App: https://apps.shopify.com/discount-on-cart-pro , https://apps.shopify.com/discount-in-cart AND https://apps.shopify.com/discount-coupon-field-in-cart-page 

2. Or creating a new section on the cart page. If you can code or can hire a developer, then the latter is recommended because you'll have more control over whats is been displayed.

Regards,

Sarv



If helpful then please Like and Accept the Solution.

Best,
Sarv
0 Likes
Ninthony
Shopify Partner
1964 296 777

I've seen this topic come up many times. I'm afraid the consensus is no, it's not possible. There are many apps that offer this functionality though. I believe you can add an input field with the name of 'discount' in the cart form and it will pass to the checkout page, the issue lies in not being able to calculate the prices of the products and reflect them on the cart page after the coupon has been added. I believe you need to access the back end of Shopify to access the coupon codes to check and make sure it's a correct code. If you had a set number of codes you could probably do it yourself by creating an array of the codes and checking the input against that array, but that's not a very effective solution if you're going to keep having new codes often. This thread seems to talk about it a bit:

https://community.shopify.com/c/Ecommerce-Marketing/Apply-Discounts-at-cart/td-p/498644/page/2

Probably would be best to get one of the apps mentioned in the thread, some are very affordable.

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish :D
0 Likes

Also, I see the discount field on your cart page if I add 3 socks to the cart. 

Your Shopping Cart – Footy Intl - Google Chrome 20.png



If helpful then please Like and Accept the Solution.

Best,
Sarv
0 Likes