Black and Yellow Circle Band Logo

How to Hide Fee to appear as Product in cart page.

Table of Contents

Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp
Share on email
Share on print

These one was most requested customization but thought to share the guide with you ,

Warning: If the app does not work / keeps on reloading the site after the below change ,just revert it back,

Mostly it should work .

Tested with Multiple fee & One time a.k.a. cart fees as of 3 Aug 2022.

Result

Before:

The fee appears in cart as product, which most customers dont like

After

.Fixed

Steps

  1. Go to theme, and search for the .liquid file which renders the cart items, mostly like main-cart-items.liquid
  2. Search for {%- for item in cart.items -%}. line.

3. Paste the below code above it

 {% if item.product.type  == 'deposit_fee' %}{% continue %}{% endif %} 

4. Hit Save.

No more posts to show