Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to change the link on the "add this to my cart" button?

How to change the link on the "add this to my cart" button?

Locked

Started by chiflatin on 19 Oct 2009, 4:27 AM · Views: 998

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Oct 2009, 4:27 AM
#1
chiflatin avatar

chiflatin

New Zenner

Join Date:
Oct 2009
Posts:
10
Plugin Contributions:
0

Post #1 by chiflatin

ZC 1.3.8a : Mysql 4.1.14 : addons "EasyPopulate", "Attribute Grid 1.1.1"

I would like to change the "add this to my cart" button to not navigate to the shopping cart when pressed.

I'd actually like to go one step farther and have the "add to cart" button also do the same thing as the "next" button and navigate to the next product's description! This way the customer is cycled through all the products as he/she purchases them (all products are related enough to inspire this) and of course they can go to the "shopping cart" with a seperate link at any time.

19 Oct 2009, 4:34 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Half of what you seek:

admin > config > my store > Display Cart After Adding Product > set to false

Zen-Venom Get Bitten

19 Oct 2009, 4:54 AM
#3
chiflatin avatar

chiflatin

New Zenner

Join Date:
Oct 2009
Posts:
10
Plugin Contributions:
0

Post #3 by chiflatin

Great! Thanks for the quick response- The first part I knew had to be an easy one but I just couldn't find the answer in my searches anywhere. Since that was so easy surely its going to be harder than I think to get the "add to cart button" to do something completely different like go to "next" product.... any takers?

19 Oct 2009, 8:02 PM
#4
chiflatin avatar

chiflatin

New Zenner

Join Date:
Oct 2009
Posts:
10
Plugin Contributions:
0

Post #4 by chiflatin

Perhaps an easier solution would be to let the "NEXT" button continue to do its job of pulling up the next product, but when it has gone through the list of all the products, instead of starting again it goes to "shopping cart". Is there anyway to do that? I've played with the "products_prev_next.php" file to make it stop at the end of the list but I haven't a clue how to tell it to navigate to the shopping cart.