Knowledgebase
X-Cart isn't properly processing $0 when the cart is all egoods if the downloads are assigned through the Download Expander.
Posted by - NA - on 04 May 2011 03:43 PM
To insure that X-Cart 4.2.x and greater recognize the downloads when processing an order please make the following edit.

include/func/func.cart.php

Find the following code:

foreach($cart['products'] as $p) {


After insert:

// Download Expander :: www.alteredcart.com //
global $xcart_dir, $active_modules;
if ($active_modules['Download_Expander']) {
require_once $xcart_dir."/modules/Download_Expander/download_functions.php";
$p['distribution'] = dlex_is_esd_assigned($p['productid'], $p['options']);
}
// End Download Expander //

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: