Open sofiamatulis opened 1 year ago
Thanks for logging. Do you have more context about why this change is happening? What is the before/after we're expecting? How do we test? Etc
@kimberlyoleiro Yes! well need to re-test the cart qty/awareness feature :) https://github.com/Shopify/dawn/pull/2203
Make sure this works in PDP/feat prod: https://screenshot.click/07-10-k0mka-moq50.png
More context: https://github.com/Shopify/dawn-private/issues/223
Describe the current behavior
We are currently using
cart | item_count_for_variant: product.selected_or_first_available_variant.id
, which is being deprecated.Describe the expected behavior
We should now use:
{{ cart | line_items_for: product.variant | sum: 'quantity' }}
Liquid files to update: