NO BUG: Condition based on product price does not work well

Browser: Chrome (new)
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue

Hi,

I want to display a badge for products with a price less than $50 in the query loop. Therefore, I set the following condition.

condition

This works well. But the problem is that it displays the desired bagde for all variable products. In fact, it also displays variable products as products with a price of less than $20. While their price is more than $20.

Hi Jolia,

A variable product has no regular price/it is empty. This condition should work in your case:

Best,
timmse

1 Like