Need to Remove Add to Cart from Mobile display

Questions and answers about ShopSite Custom Templates

Need to Remove Add to Cart from Mobile display

Postby MgmtSpec » Tue Oct 20, 2015 6:24 pm

Using Fearless Theme as base for custom template. Kind of odd situation but my client only wants to sell certain items so price or order options removed from product template. Problem is the mobile/responsive version appears to use template mb_MobileDefaultProduct.sst and this generates an "Add to cart" and qty input. I want to remove this so the only way to order an item would be an order anywhere link. I took a screen shot of the HTML inspector but not sure where/what I need to edit to remove the Add to cart from the mobile display.

https://www.floridatorqueconverters.com/media/addcartissue.jpg

Suggestions please?
MgmtSpec
 
Posts: 204
Joined: Mon Apr 30, 2007 8:25 am

Re: Need to Remove Add to Cart from Mobile display

Postby Jim » Wed Oct 21, 2015 9:59 am

If you are using the Fearless theme, which is responsive, you should not have the Preferences > Mobile feature enabled.

The responsive themes automatically resize the content to fit the screen on which it is being displayed. Enabling the Mobile feature will just cause problems.

As for the add to cart buttons, do you only want to not display them on mobile devices or do you not want to display them on any page generated by ShopSite?
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Need to Remove Add to Cart from Mobile display

Postby MgmtSpec » Wed Oct 21, 2015 2:57 pm

Thanks! I think that resolved the issue!

I did not realize the old mobile option was still enabled. I was stumped how the mobile cart template was being invoked as I looked over all the includes/etc and could not find. That explains it.

To answer your question there are SOME products we do want to be able to order or add to cart. I customized the template by copying the SS template/includes and edited out both the price and ordering options. For the products they do want to see I will either make a template with the add to cart included or hand code an "Order Anywhere" link in product data.

The reason behind all of this is they sell mostly wholesale and don't want to alienate dealers by showing prices online. Their dealers are concerned that their dealer customers will see the prices. Its already happened. So they want to focus on items that price is not a concern BUT want the flexibility that down the road they can "activate" online ordering.

Thanks again!
MgmtSpec
 
Posts: 204
Joined: Mon Apr 30, 2007 8:25 am


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 10 guests

cron