Maybe this should be straightforward but I can't seem to figure it out right now...
How do I redirect/change the checkout complete page without killing any puppies?

Say, upon checkout completion, I want to redirect to a particular node or the order summary at /user/%/orders/%?

Comments

rszrama’s picture

Status: Active » Fixed

Use Rules to do it either when that page loads or on checkout completion (may have unintended consequences if it interrupts other Rule execution, so make sure you do complete testing to confirm the execution of the Rules).

yannisc’s picture

It is nice that you can redirect to another completion page through Rules. But how do we have commerce analytics data on that page also?

rszrama’s picture

We'll have to sort that one out... tbh, I don't think the approach of the current Commerce Google Analytics module is sufficient. We can at least make it a checkout pane so it can be moved around or maybe even a block that somehow interacts with completed orders and could be placed anywhere on the site.

yannisc’s picture

Ryan, yes, that would be handy. Also, if there was a way to have google analytics commerce data sent only once for every order, would be awesome.

I mean, a lot of times customers refresh the checkout completion page sending the data more than once. A check that the data is sent for the current order would do the job.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Summit’s picture

Status: Closed (fixed) » Active

Hi, opening this, because I do not see follow up on this remark: We can at least make it a checkout pane so it can be moved around or maybe even a block that somehow interacts with completed orders and could be placed anywhere on the site.

Is this correct? Otherwise sorry for opening this closed issue.
greetings,
Martijn

rszrama’s picture

Status: Active » Closed (fixed)

That would be something for the Commerce Google Analytics module to address, not Drupal Commerce itself.

makbul_khan8’s picture

Issue summary: View changes

Hi
Check this in drupal 7 for updating checkout complete page: admin/commerce/config/checkout/form/pane/checkout_completion_message

TWD’s picture

Nice.

admin/commerce/config/checkout/form/pane/checkout_completion_message

works for me.