Hide the "Compare at price difference percentage" when it is 0%

At the moment, if the value is 0%, it is still displayed on the page, unlike the “Compare at Display Price” which remains hidden if there is no value.


This would be a great help for product templates and be able to show different dynamic data without having to create additional states to show/hide them.

Upvoters
Status

Completed

Board

🔨 Replo for Shopify Themes

Date

Over 1 year ago

Author

Leo Garcia

Subscribe to post

Get notified by email when there are changes.