Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Add to Cart

Locked
This thread is locked. New replies are disabled.
1 Apr 2007, 6:31 PM
#1
richter avatar

richter

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Post #1 by richter

Hello all,

This thread is about the 'add to cart' functionality.

I like the 'add to cart' functionality of the product detail pages eg http://www.untitled-project.com/zen-cart-en/index.php?main_page=product_info&cPath=1&products_id=1

I want to have the SAME input box with 'add to cart' button for every item on the Categories list page. I dont like the default how the user has to enter the quantity in the box and then scroll up or down to click the 'Add Selected Products to cart' button at the top or bottom of the page. By default it looks something like this: http://www.untitled-project.com/zen-cart-en/index.php?main_page=index&cPath=2

I have done a few searches within the templates but I cant find where code is to change this. Can anyone point to me where this code is? or better yet, how I would change this?

thanks, Richter

1 Apr 2007, 6:36 PM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

Note the difference in URLS ...

The first link is to a Product that is a single product in a Category and "Skips" the Product Listing based on a switch in the Layout Settings to do so ...

The second link is to a Product Listing ...

Now, you can have on the Product Listing:

Add to Cart button without quantity box

Add to Cart button with quantity box

Multiple Add to Cart quantity box with no button except top or bottom or both

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Apr 2007, 3:20 AM
#3
richter avatar

richter

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Post #3 by richter

Hi , thanks for your reply.
It gave me a clue to do more searches and I found the answer.

I checked 'Configuration > Product Listing > Display Product Add to Cart Button' and I set this to '2' (on with Qty box per product)

BUT oddly this didnt work. However I saw underneath the 'Display Multiple Products Qty Box Status and Set Button Location' option. After I set this to '0' (off) only then did the 'Display Product Add to Cart Button' take effect (as set above)

I hope this can help someone else too.

**note for anyone checking the links on my first post to see what Im talking about, the layout will have changed because Ive modified the admin section.

Cheers, Richter

2 Apr 2007, 4:00 AM
#4
ajeh avatar

ajeh

Oba-san

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

Post #4 by ajeh

Hence the note:

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

Thanks for the update on what worked for you and stressing the second setting to change ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Apr 2007, 2:20 PM
#5
richter avatar

richter

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Post #5 by richter

Hi again, just a call for help on this issue again please. Everything works as above for categories BUT the change did not work for 'new products' list.

You can see the ADD TO CART as I want it here: http://www.untitled-project.com/zen-cart-en/index.php?main_page=index&cPath=2

But not working for 'new products' here: http://www.untitled-project.com/zen-cart-en/index.php?main_page=products_new

I cant finding anything more to turn on / off in the admin other than what I posted above...
Any ideas? I want consistency :)

12 Apr 2007, 2:27 PM
#6
ajeh avatar

ajeh

Oba-san

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

Post #6 by ajeh

Peek in the Configuration ... New Listing ...

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

There are usually separate settings for each section, page, etc. so you can really customize your shop more completely ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Apr 2007, 4:54 PM
#7
richter avatar

richter

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Post #7 by richter

Hi Ajeh, that was a good suggestion but it didn't work... I played with every setting in there but got nothing to look the same as my product listing page.

The problem is that there is no 'Display Product Add to Cart Button' functionality with a quantity box (that I could find) for 'new listing', nor for 'all listing'... there is for 'product listing'

As suggested I set the 'Add Multiple Products Qty Box and Set Button Location' for 'new listing' to 0 which simply added a BUY NOW button, not the add to cart with qty box. (it doesnt even have the html button style, but is just a link.. I have css buttons turned on)

Ill leave it like this to show you if you click those posted links again. Any other ideas?

thanks a lot for trying!
R

12 Apr 2007, 6:18 PM
#8
ajeh avatar

ajeh

Oba-san

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

Post #8 by ajeh

Have you an URL where you cannot change the Quantity box to the Buy Now button?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Apr 2007, 2:50 AM
#9
richter avatar

richter

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Post #9 by richter

Ajeh:

Have you an URL where you cannot change the Quantity box to the Buy Now button?

Hi sorry, Im not quite sure what you mean. I dont want the BUY NOW button, I want the ADD TO CART button with qty box (as here: http://www.untitled-project.com/zen-cart-en/index.php?main_page=index&cPath=2 or on product pages

Thanks :)

12 Jun 2007, 4:22 AM
#10
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #10 by numinix

I'm looking to have both an add to cart button on each line in the product listing which is achieved when placing multiple add to 0, but I also want the multple add at the top and bottom. How do I have both?

12 Jun 2007, 4:41 AM
#11
ajeh avatar

ajeh

Oba-san

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

Post #11 by ajeh

richter:

Hi sorry, Im not quite sure what you mean. I dont want the BUY NOW button, I want the ADD TO CART button with qty box (as here: http://www.untitled-project.com/zen-cart-en/index.php?main_page=index&cPath=2 or on product pages

Thanks :)

That would need to be customize ... the centerboxes do not have the quantity boxes nor buy now buttons ...

You could peek at how the New Products module is adding the buy now and duplicate the method, so to speak ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Jun 2007, 4:45 AM
#12
ajeh avatar

ajeh

Oba-san

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

Post #12 by ajeh

numinix:

I'm looking to have both an add to cart button on each line in the product listing which is achieved when placing multiple add to 0, but I also want the multple add at the top and bottom. How do I have both?

The multiple add to cart on top and bottom allow for each input field to be filled in at the same time and add to the cart anything > 0

The add to cart with the quantity box does this individually ...

You cannot have both with the current layout as embedded forms do not work right ...

You would have to customize it to allow for the same input button to be repeated on multiple lines and not conflict with the single form using multiple places to add the button ...

Currently, when the multiple add to cart is on you can enter a qty and hit enter ...

To have the button there at the same time as the multiple add to cart would require customization of the module without adding new forms but rather multiple submit buttons within the existing form ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Jun 2007, 2:59 AM
#13
hippy avatar

hippy

New Zenner

Join Date:
Dec 2006
Posts:
77
Plugin Contributions:
0

Post #13 by hippy

Hi my Add to Cart button doesn't wrk.... just nothing.... hand appears... ??

Sorry for PMing the other day...my checkout still won't confirm.... any suggestions please.....

Julz

18 Jun 2007, 3:09 AM
#14
ajeh avatar

ajeh

Oba-san

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

Post #14 by ajeh

Try switching to the Classic Template and see if this is a template issue ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Jun 2007, 3:14 AM
#15
hippy avatar

hippy

New Zenner

Join Date:
Dec 2006
Posts:
77
Plugin Contributions:
0

Post #15 by hippy

Ajeh:

Try switching to the Classic Template and see if this is a template issue ...

I feel so thick.... add to cart works.... with classic.. template. Will try to confirm a purchase...

irrrr

Thanks so much

Julz

18 Jun 2007, 3:23 AM
#16
hippy avatar

hippy

New Zenner

Join Date:
Dec 2006
Posts:
77
Plugin Contributions:
0

Post #16 by hippy

Still no confirmation possible returns to page 2 of 3

Any suggestions as blindingly obvious.

Cheers

Julz

18 Jun 2007, 3:27 AM
#17
ajeh avatar

ajeh

Oba-san

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

Post #17 by ajeh

What Payment modules are you running?

What error messages if any?

Which version of Zen Cart?

Clean install or an upgrade?

How did you install? How did you upgrade?

Have you an URL that we can peek at?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Jun 2007, 3:41 AM
#18
hippy avatar

hippy

New Zenner

Join Date:
Dec 2006
Posts:
77
Plugin Contributions:
0

Post #18 by hippy

What Payment modules are you running? == DPS (New Zeland)

What error messages if any? == We are currently unable to process your card. Please try again.

Which version of Zen Cart? 1.37

Clean install or an upgrade? == Upgrade from previous

How did you install? How did you upgrade? == By fluke :( think i did manually )

Have you an URL that we can peek at? == will pm

Julz

18 Jun 2007, 3:44 AM
#19
ajeh avatar

ajeh

Oba-san

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

Post #19 by ajeh

Turn on the Check/Money Order moneyorder Payment module ...

Can you complete the checkout?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Jun 2007, 3:47 AM
#20
ajeh avatar

ajeh

Oba-san

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

Post #20 by ajeh

Do you only Ship to NZ?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!