Hello, I want to remove the cross out price and the promotional sticker in Dawn theme. I just want to keep the final price. Does anyone have any idea how to do this? Thanks.
Hi @silvia_louros ,
To remove the cross out price and the promotional sticker in Dawn theme, simply remove the “Compared at price” from your peoducts.
-
From your Shopify admin, go to Products.
-
Click the name of a product.
-
In the Pricing section, delete the number in Compare at price field. If the product has several variants, you’ll need to find the Compare at price under Variants section.
-
Click Save
I hope it helps.
Can you share with me the page url…
Alternatively, you can remove them by adding this code to your theme code:
-
From your Shopify admin, go to Sales channel > Online Store > Themes > Action > Edit code
-
Open the Assets/component-price.css and paste this code at the bottom of the file
.price--on-sale .price-item--regular{
display: none !important;
}
.price--on-sale .price__badge-sale, .price--sold-out .price__badge-sold-out{
display: none !important;
}
- Hit Save
I hope it helps.
Thank you a lot!
I edited the code to make it work with your theme. Please use this one instead of the previous one I shared.
- Paste this under the Assets/section-main-product.css
.price--on-sale .price-item--regular{
display: none !important;
}
- And paste this code under Assets/component-price.css
.price--sold-out .price__badge-sold-out, .price--on-sale .price__badge-sale
.price--on-sale .price-item--regular{
display: none !important;
}
This was the only way it worked for me and thank god!
