cachousam2014-02-21 16:49 | I would like to know how to call a variable stored in a file as database/products.php for example,to use it in a function of calcul in a file like core/orders.php. » Quick.Cart v6.x |
boboo2014-02-21 17:14 | If You have the Product ID ($iProduct), then call object Products:
$oProduct=Products::getInstance();
$fProductPurchasePrice=$oProduct->aProducts[$iProduct]['fPurchasePrice']
boboo :-) |