Personalized checkout and custom promotions with Shopify Scripts
My store website : aexonfix.myshopify.com
My website doesn't show the compare at price I want it to look like this...
Solved! Go to the solution
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}
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}
Hope my solution works perfectly for you!
Best regards,
Sorry to say but it still not working.
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}
Thank you so much now finally it's worked.
You are welcome. I'm glad when I can help you 😍
i have the same problem
but in my case this doesnt work
can you help me please
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?
Learn what's possible with customizing Shopify Checkout beyond what's available out of...
By Shopify Feb 19, 20252m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025