Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove buy now button

Remove buy now button

Views: 765

Results 1 to 2 of 2
3 Mar 2014, 10:44 PM
#1
bobc avatar

bobc

New Zenner

Join Date:
Jun 2013
Location:
UK
Posts:
49
Plugin Contributions:
0

Remove buy now button

Hi

Does anybody know how to remove the buy now button from a specific category page? I have a category where all PDF's are free to download. On the category page I have the Free Icon and Buy Now Icon. I have removed the buy now from the specific products in the category by creating a p_xxx.css where xxx is the product id with the element display:none;.

I am wondering if standard zen feature of c_????.css // changes to all info pages in a category will work with the main category page and the products within the category but I am not familiar with the syntax c??_?? insofar as what goes in ?? and ??

Thanks in advance

Bob

16 Mar 2014, 2:34 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Remove buy now button

bobc:

Hi

Does anybody know how to remove the buy now button from a specific category page? I have a category where all PDF's are free to download. On the category page I have the Free Icon and Buy Now Icon. I have removed the buy now from the specific products in the category by creating a p_xxx.css where xxx is the product id with the element display:none;.

I am wondering if standard zen feature of c_????.css // changes to all info pages in a category will work with the main category page and the products within the category but I am not familiar with the syntax c??_?? insofar as what goes in ?? and ??

Thanks in advance

Bob

So, couple of things, by hiding or doing away with the buy now button, basically you're hosting a webpage, not a store, so there is no tracking of how many people "bought" the item, etc... Otherwise, yes, if you use css to address a category or a product, then that will apply to all within that particular grouping. The thing that goes into ?? Is the number for the applicable grouping. So if it. Is cate then c_5.css. Perhaps this willhelp in general? http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Stylesheets_-_Per-Page-Rules