Totally Zenned
- Join Date:
- Jun 2006
- Location:
- My family and I live in Brighton, England
- Posts:
- 947
- Plugin Contributions:
- 0
Whoops! Sorry, but you are not allowed to perform the action requested
I read a suggestion concerning account creation that made sense to me: A (potential) customer creates an account on the fly with items in their shopping cart. Eliminate the need for CREATE_ACCOUNT_SUCCESS page by re-directing them to the CHECKOUT_SHIPPING page after account creation. This eliminates one step, which can make the difference between closing the sale and not. I followed the advice and made the suggested changes to create_account.php: I changed this:
zen_redirect(zen_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));
} //endif !error
}
To this:
zen_redirect(zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
} //endif !error
}
Everything went swimmingly while testing under the above circumstances. However, if I just log in and create an account without items in my cart, I received this error:
Whoops! Sorry, but you are not allowed to perform the action requested.
You are still logged in to your account and may continue shopping. Please choose a destination from a menu.
The account was indeed created, however, that error message is hardly the welcome message I have in mind. I think the CREATE_ACCOUNT_SUCCESS page is vital for someone just signing up so I certainly don't want to lose it. Is it possible to have both of these things happen?
Thanks