I'm using debut theme
and am currently trying to change the position of my "Sales" price and the "Regular/ Compare at" price.
So I would basically like to have it in following order :
1. Regular/compare at price
2. Sales price
3. Sales badge
Something like that :
I've tried several things, such as a code from a similar topic at the end of my theme.scss.liquid file
But it did not really work, rather make it look like this :
So basically the opposite of what I want.
Also tried it on a plain debut, without the currency converter, got the same result anyways.
Looking forward to an answer to this.
Solved! Go to the solution
You need to change code in two files:
Just change the order of that code and save the file.
Hey mate, thanks for the reply, however, for some reason it does not work.
I deleted the code from the theme.scss.liquid file, and swapped position of the codes in the product-price.liquid and product-price-listing.liquid file and still does not change anything.
See below what I changed.
--- Deleted ----
swapped position of the 2 codes, or did I do anything wrong?
Send me your store URL so I can check and assist you better.
This is an accepted solution.
Change the code order as showing on the screenshot:
I sent you request for the Shopify collaborate account, accept it so I can move both price.
I moved both price position. Please check it now!