How to update links removing items from the cart in Shopify
Drive 20-40% of your revenue with Avada
As you might not know about, you are able to collect the customization information for those products which are using the line item properties. However, in case your themes do not display the customization in the cart, you are able to insert codes to your cart-template.liquid
or cart.liquid
to help check for the line item properties as well as show them if they are existing.
In previous writing, you were already shown on how to show line item properties in the cart. You also take note that any links removing items from your cart can be required to upload to work well with custom line properties Hence, in this post, we will instruct you on how to update links removing items from the cart in Desktop, iPhone, and Android.
How to update links removing items from the cart
- How to update links removing items from the cart in Desktop
- How to update links removing items from the cart in iPhone
- How to update links removing items from the cart in Android
How to update links removing items from the cart in Desktop
- Step 1: From your own Shopify admin, head to Online Store > Themes.
- Step 2: You can look for themes you want to modify. After that, press Action > Edit Code.
- Step 3: Click on
cart-template.liquid
in the Sections directory. In case your themes do not possess acart-template.liquid
, you can open the Templates directory as well as choosecart.liquid
.
-
Step 4: Find
a
tag which is loaded with anhref
value beginning with/cart/change
. -
Step 5: In this step, you can change the
href
value to `href=”/cart/change?line=&quantity=0”.
-
Step 6: Repeat the above steps for each
a
tag in thecart-template.liquid
which has thehref
value starting with/cart/change
. -
Step 7: Don’t forget to click Save.
How to update links removing items from the cart in iPhone
-
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 acart-template.liquid
, you can open the Templates directory before touchingcart.liquid
. -
Step 6: Look for
a
tag having anhref
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 thecart-template.liquid
having anhref
value beginning with/cart/change
. -
Step 9: Touch Save to finish your task.
How to update links removing items from the cart in Android
-
Step 1: Head to your Shopify app, then press Store.
-
Step 2: Touch Online Store in your Sales channels section.
- Step 3: Tap Manage Themes.
- Step 4: Look for themes you would like to change. After that, tap Actions > Edit Code
- Step 5: Touch
cart-template.liquid
. In ase this theme does not contain acart-template.liquid
, you can open the Templates directory before touchingcart.liquid
.
-
Step 6: Find
a
tag having anhref
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 thecart-template.liquid
having anhref
value beginning with/cart/change
. -
Step 9: Tap Save to complete your task.
Conclusion
As you can see, the question on how to update links removing items from the cart is not too complicated to answer. All you need to do is reading and following those above steps carefully to make sure everything is ok.