Icon Theme: Hide Cart Icon on Header & Remove "Add to Cart" button

Solved
Highlighted
Tourist
10 0 0

Hello, 

 

I've been trying to use the other posts in the community to hide the cart icon on the header, however, none of them work for the "Icon Theme". I'm trying to hide the cart icon, the number of items in cart icon, and dollar amount icons from the header on all pages. I also want to disable or remove the "Add to Cart" button. I've also tried the instructions for this on the Shopify community for other themes and it didn't work. My end goal is to be able to prevent customers from trying to purchase items. I've already made my account dormant but I don't want the site to look like purchasing a product is even possible. Any help is greatly appreciated.

0 Likes
Highlighted
Shopify Expert
365 6 79

Hey Kferguson,

 

This will require some custom coding changes to at least two of your theme's templates (header.liquid & product.liquid). 

 

You'll probably want to hire a Shopify Expert to make these changes for you, so that you don't break the theme. You can reach out to me at support@stephensworld.ca to negotiate something, otherwise, I recommend looking in this category of Experts: 

 

https://experts.shopify.com/services/development-and-troubleshooting/add-custom-features-or-code

 

Best of luck! :)

★ Did my post help? If yes, then please like and accept solution. ★

→ Have me build your Shopify store @ stephens.world
→ Get your FREE 30-Step Setup Guide @ stephens.world/guide
→ View My Official Expert Profile @ stephens.world/expert
→ Want to buy me lunch? stephens.world/lunch

0 Likes
Highlighted
Shopify Expert
3892 559 933

Hi @kferguson 

Send me store url so i can give you solution, 

for add to cart button you can follow this:

For product page:

1. Section->product-template.liquid->find name="add", this is your add to cart button so remove/comment this button,

 

Want to modify or custom changes on store hire me.
Want to give Gift for time? its my Paypal too.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like
Highlighted
Tourist
10 0 0

Hi @Jasoliya , the store url is forthewaterswim.com

Thanks so much!!!

0 Likes
Highlighted
Shopify Expert
3892 559 933

This is an accepted solution.

Hi @kferguson 

Follow this:

Add this css in Asset->theme.scss file at bottom of page

#cart li:nth-child(2){display:none;}
#AddToCart {    display: none !important;}
Want to modify or custom changes on store hire me.
Want to give Gift for time? its my Paypal too.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like
Highlighted
Tourist
10 0 0

Hi @Jasoliya , so I followed the instructions for both the add to cart button. And there isn't a  name="add" in the Section->product-template.liquid. I even searched for add by itself and the below screenshot is the only thing that was found. And there isn't a theme.scss in Asset. See screenshots of both below. Screen Shot 2019-07-25 at 1.39.47 PM.pngScreen Shot 2019-07-25 at 1.41.15 PM.png

 

0 Likes
Highlighted
Shopify Expert
3892 559 933

Its because of may be you have custom theme, but you can find add to cart button in this file, or if not add me as staff i will check and do. 

Want to modify or custom changes on store hire me.
Want to give Gift for time? its my Paypal too.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like
Highlighted
Tourist
10 0 0

@Jasoliya I just added you to the staff account. I was able to remove the cart icon from the desktop homepage but it still shows on the mobile version. I still wasn't able to remove the "add to cart" button on the product pages. 

0 Likes
Highlighted
Shopify Expert
3892 559 933

Done, Check now

On your store there are different icon for desktop and mobile that's why mobile remain, bow done. 

Want to modify or custom changes on store hire me.
Want to give Gift for time? its my Paypal too.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like
Highlighted
Tourist
10 0 0

Great! Thanks so much!!

0 Likes