Can you tell me when the products are in the cart then how can I extract all the information about them like Item name (product name), Quantity, Price?
http://forum.virtuemart.net/index.php?topic=79799.0 (http://forum.virtuemart.net/index.php?topic=79799.0)
http://forum.virtuemart.net/index.php?topic=104795.0 (http://forum.virtuemart.net/index.php?topic=104795.0)
read the cart object.. getCart()
from anywhere in Joomla
defined('DS') or define('DS', DIRECTORY_SEPARATOR);
if (!class_exists( 'VmConfig' )) require(JPATH_ROOT .'/administrator/components/com_virtuemart/helpers/config.php');
VmConfig::loadConfig();
if(!class_exists('VirtueMartCart')) require(VMPATH_SITE.DS.'helpers'.DS.'cart.php');
$cart = VirtueMartCart::getCart(false);