View Single Post
  #237  
Old 11-14-2004, 09:39 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Looks like in the newer versions they are now making changes to integrate some of my mod.

Login.php needs to be changed to this:

if ($login_type == "C" || $login_type == "B") {
if($redirect2 == "checkout")
func_header_location($redirect_to."/cart.php?mode=checkout");
elseif (!func_is_cart_empty($cart)) {
if((strpos($HTTP_REFERER, "mode=auth") === false) && (strpos($HTTP_REFERER, "mode=checkout") === false)) {
func_header_location($redirect_to."/cart.php");

---

If in register.php it looks like this you do not need to change it:

elseif ($action == "cart") {
if (empty($paymentid))
$script = "cart.php?mode=checkout&registered=";
Reply With Quote