Asked by Jeff Bell on Jul 29, 2024
Jeff is trying to filter line items in a custom quote template based on a custom product property ('type'). It works in preview with mock_data but not on actual quotes.
Answered by Jeff Bell
Jeff discovered the issue was accessing the custom property. Instead of `|selectattr("type", ...)` , the correct filter needed to access it via `custom_properties`: `|selectattr("custom_properties.type.internal", "equalto", "price")`.