3 replies [Last post]
StephenGWills's picture
Offline
Uber DonorBug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/07/2007
Juice: 414
Was this information Helpful?

My Marketing guys have been letting their overactive imaginations design pages that will encourage products to be added to the cart while moving customers through differnt funnels.

Has anybody worked out a way to make different add to cart buttons redirect to different URLs?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Multiple Redirects for Add to Cart

If you're using the cart links API, just add a different ?destination=url for each one. Otherwise, you'll need to use hook_form_alter() in a custom module to get it done... good luck! Eye-wink

oslinux's picture
Offline
Joined: 09/06/2007
Juice: 461
Re: Multiple Redirects for Add to Cart

the page route module of drupal or how it is called let's you walk thru nodes in a particular order and since products are nodes, here we go! Cool

I hear you when non-developers start thinking out too loud Eye-wink

sam1am's picture
Offline
Joined: 12/13/2007
Juice: 46
Re: Re: Multiple Redirects for Add to Cart

That's a pretty cool module, but I don't think it will do exactly what is wanted (at least from playing around with it).

You'd want the add to cart button take you to the next product, and you'd want a "no, thanks" button to take you to another product that may be different. Am I right?