Showing applicable discount codes on product page

Topic summary

Goal: Display all applicable discount codes per product directly on the product page (or an offers page) without customer input.

Shopify staff response: No native, automatic way in themes. Suggested workarounds include placing codes in product descriptions, using an announcement bar app with page targeting, or putting products “on sale” instead of requiring a code. Feedback was forwarded to developers; no official feature announced.

Community sentiment: Strong requests for a built‑in solution and for codes to appear in cart/product pages. Frustration with reliance on paid third‑party apps and comparisons to other platforms that offer this natively.

App option: A free app (“Automatic Discount Code Links”) was introduced, offering a product page coupon widget, storefront-applied discounts before checkout, and an infobar.

DIY approaches (no app):

  • Collection-based method: Name a manual collection “DISCOUNT-{code}-{amount}”, apply the discount to that collection, and add Liquid (Shopify’s templating language) in product-template.liquid to detect the collection and display “Use code X for Y off.” The collection must be on a sales channel.
  • Tag-based method: Tag products (e.g., DISCOUNT-5%) and use Liquid to calculate and display the discounted amount on the product page.

Status: No built‑in feature; solutions are apps or theme customizations. Images and code snippets are central to the shared examples. Discussion remains open.

Summarized with AI on December 14. AI used: gpt-5.

Well although putting an item on “Sale” would be a work around it would be nice to still have the coupon option so the customer feels like they are actually saving money off the retail pricing vs listed “Sale” price. I know when I personally shop around I like using coupon codes because it has a sense of getting it cheaper or it could just be me…

I still wish we had a better shipping system like BigCommerce. Each product should have shipping weight, dimensions, and option for “Free Shipping” or “Combined Shipping”. It is annoying to not offer free shipping on certain items that need it to sell.

Just my $0.02 to help save the planet, aka world wide web.

6 Likes