Forums / Templates, Stylesheets, Page Layout / adding to cart, not using the view cart settings

adding to cart, not using the view cart settings

Locked

Views: 1,139

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
16 May 2007, 8:19 PM
#1
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

adding to cart, not using the view cart settings

hi there,
I would like to be able to (w/o modifying core files) have the option in an add to cart button that I am making have the option if I want to to not use the, Display Cart After Adding Product setting if I dont want to.
Basicly I want to have one button the goes to the cart and one that just adds to the cart and continues shopping.
Any one got any ideas?
JOsh

JOsh Beauregard
Sanguis Development

17 May 2007, 3:34 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: adding to cart, not using the view cart settings

You would need to add a paramater to the init_cart_handler.php so that not only does it check for the setting but can check for another value passed to override the setting for: DISPLAY_CART

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!

17 May 2007, 4:34 PM
#3
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: adding to cart, not using the view cart settings

worked great thanx

JOsh Beauregard
Sanguis Development