View Single Post
Old 10-06-2014, 12:22 AM
xtech xtech is offline

Join Date: Jun 2010
Posts: 605

Default Re: common if/then modifications I make to x-cart...

Originally Posted by totaltec
Look near line 1274 of include/register.php
// Redirect just registered customer if ($isAutoLogin) { $script = 'address_book.php'; } else { $script = 'home.php'; }

How to achieve this?

If any customer directly register in the cart by clicking register.php without adding product in the cart will redirect to home page and if any customer added product in the cart and then click register.php then how to redirected that customer to address book page?
X-cart Platinum
Reboot template
Reply With Quote