View Single Post
  #5  
Old 01-27-2011, 01:12 PM
 
7thdesire 7thdesire is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 115
 

Default Re: Altered Cart One page checkout error

hi

if you are useing version 1.4.5 of one page checkout and version 4.1 for xcart the instructions for the install guide are as follows

i would suggest using the code from the install file file incase my paste has broken the code in some way

Code:
include/func/func.core.php Find this code near line 102: [FONT='Courier New', Courier, mono]$location .= (strpos($location, "?") === false ? "?" : "&").implode("&", $added); if (!empty($hash)) $location .= "#".$hash; } Immediately after insert this code: [FONT='Courier New', Courier, mono]// Checkout One :: www.alteredcart.com // global $xcart_dir, $active_modules; if ($active_modules['Checkout_One']){ require $xcart_dir."/modules/Checkout_One/checkout_one_headers.php"; if ($_return) return; } // End Checkout One //[/font] Find this code near line 1510: This may not be needed in all versions. If your func.core.php file doesn't contain this code you can safely skip this step. This step may also have been made for a different alteredCart module. If this code change has already been made please skip this step. [FONT='Courier New', Courier, mono]function func_setcookie() { global $PHP_SELF, $HTTP_HOST;[/font] Immediately after insert this code: [FONT='Courier New', Courier, mono]// Checkout One :: www.alteredcart.com // global $ajax_headers; if ($ajax_headers) return false; // End Checkout One //[/font] [/font]
__________________
X-cart - 4.3.2 loads of mods and custom code
Reply With Quote