Website Building » Shopify » How Do I Get Rid of Compare Price on Shopify?

How Do I Get Rid of Compare Price on Shopify?

Last updated on October 2, 2022 @ 3:54 am

There are a few things you can do to get rid of the compare price on Shopify. You can either delete the compare price or hide it from your shop.

To delete the compare price, go to your Shopify admin and click on Products. Find the product that you want to remove the compare price from and click Edit.

In the pricing section, delete the Compare At Price. Save your changes and you’re done!

If you want to keep the compare price but just hide it from your shop, there are a few different ways you can do this. One way is to add a snippet of code to your theme.liquid file. Another way is to use a CSS code snippet.

To add a snippet of code to your theme.liquid file, go to Online Store > Themes > Edit code. In the Layout folder, open theme.liquid and find the place where you want to insert the code snippet. Paste in the following code:

PRO TIP: If you are considering using the “Compare Price” feature on Shopify, be aware that there are some potential risks.

First, it is important to note that this feature is still in beta, which means that it is subject to change and may not work as expected. Additionally, there is no guarantee that the prices you see in the comparison will be accurate.

Finally, keep in mind that using this feature could potentially result in a lower search ranking for your store. If you are concerned about this, you may want to consider other options for promoting your products.

{% if product.compare_at_price > product.price %}

{% endif %}

Save your changes and you’re done!

If you want to use a CSS code snippet, go to Online Store > Themes > Edit Code. In the Assets folder, open stylesheet.css and find the place where you want to insert the code snippet. Paste in the following CSS code:

.compare-at-price { display: none; }

Save your changes and you’re done!

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.