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

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

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

Quote:
Originally Posted by totaltec
Look near line 1274 of include/register.php
Code:
// 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
4.6.1
Reboot template
Reply With Quote