Skip to main content

update links removing items from the cart

Last updated: October 07 2024

Written and researched by experts at Avada Learn more about our methodology

Having trouble updating links to remove items from the cart in your Shopify store? It’s a common issue that can frustrate customers and impact sales. In this guide, we’ll show you how to fix these links quickly, enhancing your store’s checkout experience and keeping shoppers happy.

  • Step 1: From your own Shopify admin, head to Online Store > Themes.

update links removing items from the cart

  • Step 2: You can look for themes you want to modify. After that, press Action > Edit Code.

update links removing items from the cart

  • Step 3: Click on cart-template.liquid in the Sections directory. In case your themes do not possess a cart-template.liquid, you can open the Templates directory as well as choose cart.liquid.

update links removing items from the cart

  • Step 4: Find a tag which is loaded with an href value beginning with /cart/change.

  • Step 5: In this step, you can change the href value to `href=”/cart/change?line=&quantity=0”.

update links removing items from the cart

  • Step 6: Repeat the above steps for each a tag in the cart-template.liquid which has the href value starting with /cart/change.

  • Step 7: Don’t forget to click Save.

update links removing items from the cart

  • Step 1: Go to your Shopify app, then press Store.

  • Step 2: Tap Online Store in your Sales channels section.

  • Step 3: After that, touch Manage Themes.

  • Step 4: Find themes you would like to change. After that touch Actions > Edit Code.

  • Step 5: Tap cart-template.liquid. In ase this theme does not contain a cart-template.liquid, you can open the Templates directory before touching cart.liquid.

  • Step 6: Look for a tag having an href value beginning with /cart/change.

  • Step 7: Change the href value to `href=”/cart/change?line=&quantity=0”.

  • Step 8: Then, you can repeat those above steps for each a tag in the cart-template.liquid having an href value beginning with /cart/change.

  • Step 9: Touch Save to finish your task.

  • Step 1: Head to your Shopify app, then press Store.

  • Step 2: Touch Online Store in your Sales channels section.

update links removing items from the cart

  • Step 3: Tap Manage Themes.

update links removing items from the cart

  • Step 4: Look for themes you would like to change. After that, tap Actions > Edit Code

update links removing items from the cart

  • Step 5: Touch cart-template.liquid. In ase this theme does not contain a cart-template.liquid, you can open the Templates directory before touching cart.liquid.

update links removing items from the cart

  • Step 6: Find a tag having an href value beginning with /cart/change.

  • Step 7: Change the href value to `href=”/cart/change?line=&quantity=0”.

update links removing items from the cart

  • Step 8: Then, you can repeat those above steps for each a tag in the cart-template.liquid having an href value beginning with /cart/change.

  • Step 9: Tap Save to complete your task.

Conclusion

To conclude, updating links to remove items from the cart in Shopify is a straightforward process that can greatly enhance your store’s user experience. By following the steps outlined for desktop, iPhone, or Android, you can ensure a smoother checkout for your customers. Take the time to implement these changes today, and watch as your store benefits from fewer cart frustrations and happier shoppers.

linkedin
Sam Nguyen is the CEO and founder of Avada Commerce, an e-commerce solution provider headquartered in Singapore. He is an expert on the Shopify e-commerce platform for online stores and retail point-of-sale systems. Sam loves talking about e-commerce and he aims to help over a million online businesses grow and thrive.