6 replies [Last post]
s.pacchiele's picture
Offline
Joined: 12/05/2008
Juice: 27
Was this information Helpful?

Is there a way to re-direct to a custom page, different for each product, after checkout?
For instance, i want my shoppers to have to join a mailing list directly after they buy something, and there's one list for each product. Is that functinality currently possible?

Thanks

Simone

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Custom redirect after checkout

There isn't, but you could do it through custom PHP on the checkout completion page.

s.pacchiele's picture
Offline
Joined: 12/05/2008
Juice: 27
Thank you Ryan! Simone

Thank you Ryan!
Simone

snicers's picture
Offline
Uber DonorInternationalizationizer
Joined: 09/20/2007
Juice: 192
Re: Thank you Ryan! Simone

use workflow-ng. You can set up a rule "page been viewed" -> the page been viewed is cart/checkout/complete and from that you redirect to your mailinglist.

vancouverWill's picture
Offline
Joined: 01/22/2009
Juice: 8
Hi Any idea how this can be

Hi

Any idea how this can be done with Drupal 6? I have tried the rules module which is workflow-ng for drupal 6. I couldn't find any options for "page been viewed" in the Rules module. I have tried trigger and actions modules and couldn't get it to work.

Summit_drupal's picture
Offline
Joined: 12/11/2010
Juice: 137
Re: Hi Any idea how this can be

Hi, On D6 it is not rules module, but conditional actions! I do not know which action can provide this.
Anyone please?
greetings, Martijn

SeanA's picture
Offline
Joined: 06/04/2010
Juice: 5
Useful code here...

Use hook_menu_alter to override the page callback for 'cart/checkout/complete'
http://www.ubercart.org/comment/56108