Can the debut theme strike price be positioned before the normal price?

Is it possible to make the strike price before the normal price?

Screenshot - 2021-10-04T212831.289.png

Hi there!

yes. it’s possible.

to fix this issue you have to edit the liquid files.

do you know coding?

Hi @Spaetzle93

Sure! you can place the compare price before the normal price.

  1. On the debut theme - Go to Snippets/product-price.liquid

  2. Search for “price__sale” or just go to line 62

  3. This is the code for the compare price

{{ 'products.product.regular_price' | t }}
{{ compare_at_price | money }}

Move it above the code for the sale price while still inside the “price__sale” div

So it should look like this

1 Like

Hello,

I have done so, but unfortunately nothing happens.
I have sent the following screenshot. Does this fit the coding?

no i don´t know how to code this.