Default price is an array when using tiered prices.
This causes the getDefaultPrice function on the Product element to return null since it expects data["default_price"] to be the id of the price.
When using tiers the default price is in data["default_price"]["id"].
The easiest way to fix this is to add an additional array check in the price filter function.
Here's the data-json for a default price with no tiers mode (when the first tier is equal to the next tier).
Description
Default price is an array when using tiered prices. This causes the getDefaultPrice function on the Product element to return null since it expects data["default_price"] to be the id of the price. When using tiers the default price is in data["default_price"]["id"].
The easiest way to fix this is to add an additional array check in the price filter function.
Here's the data-json for a default price with no tiers mode (when the first tier is equal to the next tier).
And here is one with tiers mode graduated (when the next tier changes price based on count):
Steps to reproduce
Additional info