CMS MADE SIMPLE FORGE

CGEcommerceBase

 

[#7494] Add to cart smarty tag error

avatar
Created By: Mathieu Muths (airelibre) (airelibre)
Date Submitted: Sat Jan 21 08:52:01 -0500 2012

Assigned To: Robert Campbell (calguy1000)
Version: 1.3.9
CMSMS Version: 1.10.2
Severity: Major
Resolution: None
State: Open
Summary:
Add to cart smarty tag error
Detailed Description:
Hi,

There is a problem in the smarty tag proposed in the module help :
{cgecomm_form_addtocart source=Products produc=$num}

"source" should be replaced with "supplier" because of the part :
$supplier_mod = 'Products';
if( isset($params['supplier']) )
  {
    $supplier_mod = trim($params['supplier']);
    
  }

in the action.default.php of the Cart module

The problem occures when I try to use another supplier module than Products

Thanks


History