Skip to main content

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.

Status: Completed1 comment

Comments1

  • Noah Gilmore

    Team•

    Sep 21, 2025

    You can now do this in Replo using States with a trigger of “Product Variant Is On Sale” for this one. The common case is to only show the discount text when the product is on sale (that is, when the compare-at price and the price are different). See

    https://support.replo.app/articles/1713125668-states for more info as well