How to display list of discount codes at cart page

How to display list of discount codes at cart page

savita_nagdev
Shopify Partner
20 0 1

Hello,

I am trying to add/ display a list of discount codes currently active on my site on the cart page. So that users can easily copy that code and paste it on the checkout page. However, I am not getting any handy documents that can be used to achieve this functionality.

 

Any quick help would be grateful.

Replies 7 (7)

Dan-From-Ryviu
Shopify Partner
9668 1935 1970

Hi @savita_nagdev 

Dan here from Ryviu: Product Reviews & QA

 

If your theme supports adding sections to the cart page, add a section and list all discount codes of your store in that section.

You can do that from Online Store > Themes > Customize > click dropdown menu at the top > Cart

Screenshot 2024-02-27 at 14.53.33.png

- Helpful? Like and Accept solution! Support me! Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

savita_nagdev
Shopify Partner
20 0 1

I want to display a dynamic list of discount codes, not a static one. As soon as I create a new discount code it will automatically display in the list.

Dan-From-Ryviu
Shopify Partner
9668 1935 1970

You cannot display a dynamic discount code directly because it requires multiple access scopes. I guess you must to use an app or create your own function. 

- Helpful? Like and Accept solution! Support me! Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Anshul_arora
Navigator
453 128 98

Hello @savita_nagdev ,

The discount code (dynamic discount code) on cart page can be displayed in two ways - By custom coding or using Shopify App.

Please go through the below mentioned shopify app link, it will assist you in displaying discount code in cart page.

- https://apps.shopify.com/discount-on-cart-pro 
- https://apps.shopify.com/available-discount-coupon-list-on-cart-page 
- https://apps.shopify.com/discount-coupon-field-in-cart-page

I hope the app helps you.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
savita_nagdev
Shopify Partner
20 0 1

Hi @Anshul_arora ,

Thanks for the app suggestion. But I preferred it to do via coding. Is there any reference code you have that I can use?

GuynamedOlafsen
Shopify Partner
3 0 0

Hi! 

 

Did you ever find a solution for this?

maxvogel
Tourist
6 0 2

I tested all the mentioned apps but they all had issues with stacking discounts and free shipping discounts. I was surprised how long it took me to find a working app for this, so I decided to write a detailed review about the discount apps I tested: https://appreviewhq.com/shopify-discount-app-review-2024. TLDR: the clear winner was https://apps.shopify.com/discount-before-checkout, with https://apps.shopify.com/discount-in-cart in cart as the runner-up.