I’m unable to set up a Sale price on my products as the Sale price on the product page is appearing below the LAYBUY details (which is confusing to the customers).
I want the sale price to appear next to the full price (striked through price).
I have attached an example here. Could you please help me to reposition the LAYBUY below the SALE price.
Need to get this sorted urgently. Please help.
Hello! To reposition the LAYBUY section on your product page, you would need to modify the theme’s code. This can be a bit tricky, especially if you don’t have experience with coding, so it’s important to proceed with caution and back up your theme files before making any changes.
Here’s a general guide on how to achieve what you’re looking for:
From your Shopify admin, go to “Online Store” > “Themes” > “Actions” > “Edit Code”.
In the left sidebar, open the “Sections” folder and click on the “product-template.liquid” file.
Look for the section of code that displays the sale price and LAYBUY details. It may look something like this:
Save the changes to the file and preview your product page to see if the LAYBUY section has been moved below the sale price.
Note that the exact code you need to modify may vary depending on your theme and the way it handles pricing and LAYBUY details. If you’re unsure about any part of this process, it may be a good idea to consult with a Shopify expert or developer who can help you make the necessary changes safely and effectively.
We are OneCommerce - an eCommerce Solution Platform.
To reposition the sale price on your product page, you will need to edit the code of your Shopify theme. Here’s how:
Go to Online Store → Themes → Action → Edit Code
In the code editor, look for the file that controls the layout of your product page. This may be called “product-template.liquid”.
Find the section of code that controls the display of the product price. This may include code for the regular price, the sale price, and any additional details like the LAYBUY information.
you can try adding some CSS code to adjust the position like this: