Solved

Compare at price not showing in DAWN theme

Aexonfix
Tourist
4 0 0

My store website : aexonfix.myshopify.com

IMG_20230226_154728.jpg

My website doesn't show the compare at price I want it to look like this...

IMG_20230226_154151.jpg

Accepted Solution (1)
PageFly-Victor
Shopify Partner
7865 1785 3065

This is an accepted solution.

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

#MainContent .price__container .price__regular{display:none !important}
#MainContent .price__container .price__sale{display:block !important}

 

View solution in original post

Replies 7 (7)

PageFly-Victor
Shopify Partner
7865 1785 3065

Hi @Aexonfix,

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file section-main-page.css

Step 3: Paste the below code at bottom of the file -> Save

.price__container .price__regular{display:none !important}
.price__container .price__sale{display:block !important}

 

PageFlyVictor_0-1677727199134.png

 

Hope my solution works perfectly for you!

Best regards,

Aexonfix
Tourist
4 0 0

Sorry to say but it still not working.

 

{3D93D9C5-E881-4E44-8640-973B88606E97}.png.jpg

PageFly-Victor
Shopify Partner
7865 1785 3065

This is an accepted solution.

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

#MainContent .price__container .price__regular{display:none !important}
#MainContent .price__container .price__sale{display:block !important}

 

Aexonfix
Tourist
4 0 0

Thank you so much now finally it's worked.

PageFly-Victor
Shopify Partner
7865 1785 3065

You are welcome. I'm glad when I can help you 😍

IWANNA
Visitor
1 0 0

i have the same problem 

but in my case this doesnt work 

can you help me please

MsfitDesigns
Visitor
1 0 0

Thank you I got this tto work however how to I add in the percentage off so it goes throughout my whole store? or change the compare price to the actual price in the code?

 

https://www.msfitdesigns.ca/products/baseball-shirt-graphic-sports-tee-baseball-fanatic-gift-trendy-...