Solved

Switch position of price and compare at price

anzestrazar
Tourist
7 0 2

Hello, I want to switch the position of price and compare at price on my product page, I have seen similar questions and I switched the <div> price.regular and price.sale but it didn't change anything 

anzestrazar_0-1706188368953.png

anzestrazar_1-1706188386995.png

 

Please help

 

 

Accepted Solution (1)

techlyser_web
Shopify Partner
1036 197 206

This is an accepted solution.

Hello @anzestrazar 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid

<style>
  .price--on-sale .price__sale {
     display: flex !important;
     flex-direction: row-reverse !important;
  }
</style>

techlyser_web_0-1706190854085.png

 

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 3 (3)

ThePrimeWeb
Shopify Partner
1051 271 214

Hey @anzestrazar,

Please provide the link to your store.

Was I helpful?

Buy me a coffee

🙂

Need help with your store? Contact me here
anzestrazar
Tourist
7 0 2

techlyser_web
Shopify Partner
1036 197 206

This is an accepted solution.

Hello @anzestrazar 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid

<style>
  .price--on-sale .price__sale {
     display: flex !important;
     flex-direction: row-reverse !important;
  }
</style>

techlyser_web_0-1706190854085.png

 

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com