Hi, how can i to show discount on product page on Down Theme? Maybe any apps or codes? Thanks in advance.
Hi, @Anar1999 !
Thanks for reaching out in our Community Forums and for sharing your concern, I’d be happy to help.
I understand that you’re looking to show a discount on your product page. Are you able to provide some more context as to what type of discount that you’re looking to display? If you want your customers to be able to see the original price and sale price, you can do so directly from your Shopify Admin. Once you’re there, please follow these steps:
-
Go to Products.
-
Click the name of a product.
-
In the Pricing section, set the Compare-at price to the product’s original price.
-
Set the Price of the product to your new sale price.
You can also follow our step-by-step video guide here. Once you’re able to set this up, I’d love to chat with you more about your business! I see you’re a new community member and it sounds like you may still be in the process of setting up your store. If you’re interested, we have some great resources to help you get started. What stage are you at in setting up your store?
Please feel free to let me know here if you need any further assistance.
Thanks for your response, yes, i want to show original price and 20% sale, and i have tried to do it from Admin Panel “compare at price” but nothing has changed
Hi again, @Anar1999 !
Thanks for following up.
If you are using the Dawn theme, then updating your compare at price will show a crossed out original price of your product. It’s possible that you did not update the compare at price for your variants. To do so, please follow these steps:
-
Select a product from the Products page.
-
Scroll down to the Variants section.
-
Find a variant you want to put on sale, and click Edit.
-
In the Pricing section, set the Compare-at price field to the product’s original price.
-
Set the Price of the product to your new sale price.
This will also mark the item as a Sale item. If you’re looking to display a percentage off, then this will take some customization. Follow these steps below for a basic customization:
- From your Shopify admin, go to Online Store > Themes.
- Find the theme that you want to edit, and then click Customize.
- Select a template from the drop-down menu.
- Click + Add section, and select Custom liquid
- From there, paste these lines of code:
.discount-tag {
display: inline-block;
background-color: red;
color: white;
font-size: 12px;
font-weight: bold;
padding: 4px 8px;
border-radius: 4px;
}
-
Optional: Click and drag the
⋮⋮icon next to a section to rearrange the sections on your page. -
Click Save.
Kindly reply back to this thread with any questions or updates and we can continue our conversation further!