How to give dropdown option to change size variant in cart page (Dawn Theme)

Topic summary

A Shopify store owner wants to add a dropdown menu in the cart page that allows customers to change product size variants directly, rather than removing and re-adding items.

Proposed Solutions:

  • One contributor provided detailed code snippets to add to the main-cart-items.liquid file, including JavaScript for handling variant changes via AJAX requests
  • Another user cautioned that this requires significant customization, as the typical approach involves removing the old item and adding a new variant to the cart rather than updating in place

Current Status:

  • The store owner attempted the code implementation but reported it didn’t work as expected (size not updating)
  • The original code contributor requested store access credentials to troubleshoot and provide a working solution
  • The discussion remains unresolved and ongoing, pending further technical assistance
Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

Hello,

Can you provide me with store access so I can check and provide the exact solution?

Email id : rajesh.zestard@gmail.com

1 Like