Add Discount Text on Product Page (Debut)

Solved
New Member
44 0 0

Hello,

 

How can i add a message just under 'Tax Included' that reads out a discount message.

 

Many thanks!

0 Likes
Highlighted

Success.

Shopify Staff
Shopify Staff
899 91 167

Hey there, @MSY92 

 

Bo here from Shopify Support! 

 

That is a really great question and it can be achieved with just a little bit of HTML coding. This tutorial is specific to an unedited version of the Debut theme. We cannot guarantee results for themes that have been modified with custom coding and/or apps. We suggest hiring a Shopify Expert, if you are not comfortable proceeding with the following tutorial, or wish to make any variations to this tutorial.

 

  • Go to Online Store > Current Theme > Edit Code. 
  • Open Sections > product-template.liquid. 
  • Search for 
            {% capture "form_classes" -%}
  • Just before the line, you can add your line of text such as:
    <p> 20% Dicount Using Code: THISDISCOUNT </p>
  • Click Save.

Let me know how this goes and if there is anything else I can assist you with, I'm happy to help!

 

All the Best,

Bo

Bo | Social Care @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Highlighted
Shopify Partner
51 4 8

Would the discount message be static or your want it to change based on a criteria?



Problem Solved? ✅ Accept the solution so you can help others.

Confused? Busy? ? Let me solve it for you: rumen@rumendimitrov.com

Buy me a coffee? ☕ paypal.me/braiv

Want to increase revenue? $ Find where you are leaving money on the table with your Shopify store by reading "Your Next Brass Ring"
0 Likes