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
Comment #1
rszrama commentedUse 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).
Comment #2
yannisc commentedIt is nice that you can redirect to another completion page through Rules. But how do we have commerce analytics data on that page also?
Comment #3
rszrama commentedWe'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.
Comment #4
yannisc commentedRyan, 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.
Comment #6
summit commentedHi, 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
Comment #7
rszrama commentedThat would be something for the Commerce Google Analytics module to address, not Drupal Commerce itself.
Comment #8
makbul_khan8 commentedHi
Check this in drupal 7 for updating checkout complete page: admin/commerce/config/checkout/form/pane/checkout_completion_message
Comment #9
TWD commentedNice.
admin/commerce/config/checkout/form/pane/checkout_completion_message
works for me.