My remove from cart icon is hidden, how do I fix it?

Last Updated: Mar 02, 2018 08:00PM EST


If you have chosen to use the Page Cart Style in the theme settings, have an item in your cart, and notice your remove trash can icon is not showing here is a quick fix to help get this working again.

In your Shopify admin go to Online Store > Themes under the theme you want to edit click Actions > Edit Code. On the left sidebar, you will see a list of theme folders scroll down, and select Templates > and choose cart.liquid. On line #79 of the file you should see a line that appears as:

<p><a href="#" onclick="remove_item({{ item.variant.id }}); return false;"><i class="icon-trash icon-2x"></i></a></p>

change this line to:

<p><a href="#" onclick="remove_item({{ item.variant.id }}); return false;"><i class="fa fa-trash-o" aria-hidden="true"></i></a></p> 

Click save when done. Now open the Assets folder and choose stylesheet.css.liquid scroll all the way to the bottom of this file and add:

#shop-cart i{font-size:20px;}

Click save when done and test your cart page.

LOGGING YOUR CHANGES

We strongly suggest you keep track of any code changes made by you or other developers to your theme's code files. This will make upgrading to newer versions of the Icon theme in the future much easier and quicker. An easy way to keep track of these changes is by keeping a simple Google Doc with details on all code changes.

Get help

Want to customize your theme?
Have questions not covered in our docs?
  • Ask a theme support question
  • Support Hours:
    9:30 - 17:30 EST
    Monday - Friday

retail@undergroundmedia.co.uk
http://assets3.desk.com/
false
undergrndmedia
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete