Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Displaying add to cart button for each product

Displaying add to cart button for each product

Locked

Views: 1,358

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Dec 2007, 10:06 AM
#1
suman07 avatar

suman07

New Zenner

Join Date:
Dec 2007
Posts:
62
Plugin Contributions:
0

Displaying add to cart button for each product

Hi :smile:
Is it possible to display the 'add to cart' button for each product along with the quantity box?
Thank You

30 Dec 2007, 11:54 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Displaying add to cart button for each product

What value do you have for your Admin > Configuration > Product Listing > Display Product Add to Cart Button setting?

30 Dec 2007, 12:19 PM
#3
suman07 avatar

suman07

New Zenner

Join Date:
Dec 2007
Posts:
62
Plugin Contributions:
0

Re: Displaying add to cart button for each product

I have Display Product Add to Cart Button=2
in the product listing

30 Dec 2007, 12:36 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Displaying add to cart button for each product

Do you have a link to your site?

30 Dec 2007, 4:23 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Displaying add to cart button for each product

Two settings are needed to make the Add to Cart button and the Quantity Box to show for each Product in the Product Listing ...

In the Configuration ... Product Listing ... set to 2 for:

Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)
Do you want to display the Add to Cart Button?

NOTE: Turn OFF Display Multiple Products Qty Box Status to use Option 2 on with Qty Box per Product

Just below it you need to set to 0 or OFF:

Display Multiple Products Qty Box Status and Set Button Location
Do you want to display Add Multiple Products Qty Box and Set Button Location?
0= off
1= Top
2= Bottom
3= Both

Now you will see an Add to Cart Button and the Quantity box on each Product ...

NOTE: now the customer may only add products 1 by 1 rather than fill in how many they want of each Product and hit the 1 button to add all of them to the Cart ...

1 Jan 2008, 8:29 AM
#6
suman07 avatar

suman07

New Zenner

Join Date:
Dec 2007
Posts:
62
Plugin Contributions:
0

Re: Displaying add to cart button for each product

Thanx for the reply

13 Feb 2008, 11:58 AM
#7
spencoid avatar

spencoid

New Zenner

Join Date:
Feb 2008
Posts:
16
Plugin Contributions:
0

Re: Displaying add to cart button for each product

I need to modify the multiple add to cart feature and have just begun to try to find the way to do it. My products are music files to be added to a CD. Customers will only want one of each and I have it set up with a min and max of 1 so they can not accidentally choose the same item twice on one CD.

I would like to eliminate the need to change the number in an entry box. I would prefer a check box instead. I'm sure I can change it in the PHP if I can find the right file but would be more appreciative if someone knows the code (very little HTML expeience) for a checkbox and whatever is necessary to read the value of 1 into the same variable that the entry box is using.

So, what PHP file addresses this feature? What code would be needed to make a checkbox and put the value in the right place?