Knowledgebase: Download Expander
After installing the Download Expander the quantity option shows on my search and category pages when there is a download assigned.
Posted by - NA - on 04 May 2011 03:41 PM
To prevent the quantity box from displaying make the following edit to your include/search.php file:

Find this code near line 966:

$products[$k]['appearance'] = func_get_appearance_data($products[$k]);


BEFORE insert:

// Download Expander :: www.alteredcart.com
if ($active_modules['Download_Expander']){
require_once $xcart_dir."/modules/Download_Expander/download_functions.php";
$products[$k]['distribution'] = dlex_is_esd_assigned($v['productid'] , func_get_default_options($v['productid'], 1, @$user_account['membershipid']));
}
// End Download Expander

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