Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shopify - Redirecting user after Activate Account form is submitted

Tags:

shopify

By default, when users Activate their account in a Shopify store, they are redirected to their account page. I'd like to change the destination of that redirect to another page in the Shopify store. I've successfully done this for the Customer Login page to prevent redirection to the account page using a hidden input field for checkout_url, as described in this Shopify support post: http://support.shopify.com/customer/portal/articles/313065-is-it-possible-to-be-redirected-to-a-special-page-upon-being-logged-in-successfully-

However, this approach is not working on the Activate Account form page. Has anyone successfully done this? At least one other Shopify user has encountered this problem as well. http://ecommerce.shopify.com/c/shopify-discussion/t/account-activation-form-redirect-105959#comment-113150

Any help would be much appreciated. Thanks!

like image 470
erchen Avatar asked Sep 16 '25 01:09

erchen


1 Answers

The good folks at Shopify got back to me about this one. Apparently the following needs to be added to the form:

<input type="hidden" name="return_to" value="**destination**" />
like image 53
erchen Avatar answered Sep 19 '25 14:09

erchen