Zen Cart Logo
Forums / General Questions / How to Remove just one "Display Product Add to Cart Button"?

How to Remove just one "Display Product Add to Cart Button"?

Locked

Views: 2,084

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
28 Oct 2009, 10:01 PM
#1
scottwww1 avatar

scottwww1

New Zenner

Join Date:
Jun 2009
Location:
Otorohanga, New Zealand
Posts:
25
Plugin Contributions:
0

How to Remove just one "Display Product Add to Cart Button"?

Hi All :smile:

The "Display Product Add to Cart Button" in the all products page you get a button at the top and bottom, is there a way to remove just the top or bottom button

I have been looking but not found how to remove just one button, to remove both is easy "Product Listing" options

Thanks for any help

Richard

28 Oct 2009, 10:10 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: How to Remove just one "Display Product Add to Cart Button"?

admin>>configuration>>all listing >> Display Multiple Products Qty Box Status and Set Button Location

28 Oct 2009, 10:32 PM
#4
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: How to Remove just one "Display Product Add to Cart Button"?

Oh, I misunderstood. What I suggested was for the 'all products' feature of Zen Cart.

The page you link to is a product listing page and the options for that are in admin>>configuration>>product listing >> Display Multiple Products Qty Box Status and Set Button Location

28 Oct 2009, 10:46 PM
#5
scottwww1 avatar

scottwww1

New Zenner

Join Date:
Jun 2009
Location:
Otorohanga, New Zealand
Posts:
25
Plugin Contributions:
0

Re: How to Remove just one "Display Product Add to Cart Button"?

Hey

Thanks for that, I missed the option on the product listing paged

:blush::blush:

true zen :smartalec:

again thank you

Richard

28 Oct 2009, 10:48 PM
#6
scottwww1 avatar

scottwww1

New Zenner

Join Date:
Jun 2009
Location:
Otorohanga, New Zealand
Posts:
25
Plugin Contributions:
0

Re: How to Remove just one "Display Product Add to Cart Button"?

Hey Nick

My client is also after the header "Item Name " & "Price" colour changed to White, would you know where to find this

Richard

28 Oct 2009, 10:50 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How to Remove just one "Display Product Add to Cart Button"?

You are using a three-year-old version of Zen Cart. When and where did you get it? The template may have been recoded to disable some admin features - we can't tell without seeing the actual files. More recent versions have a lot of significant security improvements as well as new features.

...so you did get the display to do what you wanted:)

28 Oct 2009, 10:57 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How to Remove just one "Display Product Add to Cart Button"?

Add to your stylesheet```
a.productListing-heading {color: #ffffff;}

28 Oct 2009, 10:57 PM
#9
scottwww1 avatar

scottwww1

New Zenner

Join Date:
Jun 2009
Location:
Otorohanga, New Zealand
Posts:
25
Plugin Contributions:
0

Re: How to Remove just one "Display Product Add to Cart Button"?

As far as i know with the cpanel, it is the latest version of ZenCart (all updates - installed this the other day to test), with the TS-OfficeNeeds template installed too

Richard

28 Oct 2009, 10:58 PM
#10
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: How to Remove just one "Display Product Add to Cart Button"?

It's best if you start a new thread for a new topic because then other people can find the answers they need more easily.

For the changes you asked for put a rule at the bottom of your stylesheet.css file:

a.productListing-heading{
color:#ffffff;
}

And listen to what Glenn has said! More recent versions are more secure as well as just being better...

28 Oct 2009, 10:59 PM
#11
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: How to Remove just one "Display Product Add to Cart Button"?

snap!......

28 Oct 2009, 11:10 PM
#12
scottwww1 avatar

scottwww1

New Zenner

Join Date:
Jun 2009
Location:
Otorohanga, New Zealand
Posts:
25
Plugin Contributions:
0

Re: How to Remove just one "Display Product Add to Cart Button"?

Thank you Glen & Nick

I will get my server host to look into the out of date issue too

Richard

28 Oct 2009, 11:39 PM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How to Remove just one "Display Product Add to Cart Button"?

The stylesheet is dated 2006-09-04, which is the v1.3.5 release date. If it really is v1.3.5, someone did a lot of work on the template to revert it back to the old-fashioned table layout. I believe 1.3.5 was the first version where the old-style templates would no longer work at all, even with adaptation.

The most recent version (1.3.8a), out for almost two years now, will have a body id of #indexHomeBody for the home page; older versions have #indexBody for home and all other index-type pages.