How to remove default compare price Zero

Topic summary

A Shopify store owner is encountering an issue where a default “£0” compare price displays on product pages for the “pack of-1” variant, even though no compare price was entered. This zero value appears automatically from Shopify’s product variant settings.

Key Requirements:

  • Remove the “£0” compare price display from pack of-1 variants
  • Show compare prices only for pack of-6 variants
  • Apply this fix across an entire product collection

Additional Issue:
The user also wants to eliminate empty space appearing on product pages for desktop devices, likely related to the compare price display logic.

Status:
The discussion involves troubleshooting which Liquid theme file needs modification. Screenshots have been shared showing the unwanted zero value and empty space. The solution likely requires conditional Liquid code to hide compare prices when they equal zero or for specific variants.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Hello,

I need to remove the pound zero value from the pack of -1 variant on the product details page. This is coming by default "“0” from Shopify product variant pack of-1. If you have a solution for this then please tell me. I want to show the compare price only on the pack of -6 variant.

This is product collection page url: i want to remove default zero from all this collection:- https://itznot.com/collections/low-carb-gluten-free-konjac-pasta

Please attached screenshot of issue.

Thank you for your time.

Thanks

Jitendra

Please find the ss attached.

Here is the screenshot.

Which file you need?

Here is code file.

Have you got the file?

Yes, I want compare price only show pack of-6, and not showing compare price into pack of-1. How to solve this issue?

Like this attached screenshot, i didn’t fill any compare price for pack of-1, it is showing by default value showing our website pound zero so i want to remove this “0” from pack of -1 .

okay, how to place this can you tell me?

I’m trying to figure out how to remove the empty space on product pages for desktop


devices. See screenshot.