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.
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.
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 .