You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
item.item_components's sort order is pretty inconsistent on shopping cart after expansion, it shows reverse order on shopping cart after expansion, but when visiting checkout page, it shows the same order as the expansion operation output, but after coming back to the site from checkout again, it is showing the same order as the checkout page until the cart is updated again and the orders become reversed once more.
It looks like a bug on shopify where this function is not able to provide the same consistent order as what's on the checkout page:
{%- for item in cart.items -%}
{%- for item_component in item.item_components -%}
...
{%- endfor -%}
{%- endfor -%}
The text was updated successfully, but these errors were encountered:
andrewchen5678
changed the title
cart line item order is inconsistent after expand operation
cart item_components's order is inconsistent after expand operation
Oct 24, 2024
item.item_components's sort order is pretty inconsistent on shopping cart after expansion, it shows reverse order on shopping cart after expansion, but when visiting checkout page, it shows the same order as the expansion operation output, but after coming back to the site from checkout again, it is showing the same order as the checkout page until the cart is updated again and the orders become reversed once more.
It looks like a bug on shopify where this function is not able to provide the same consistent order as what's on the checkout page:
The text was updated successfully, but these errors were encountered: