Hi there
I am using Virtuemart 2.0.18a and am having some serious problems linking a form to the cart etc.
I have a number of vmdebug that come up on the site such as:
vmdebug self::$_jpConfig->lang en_gb
vmdebug vmTime: loadConfig db no: 0.0027580261230469
vmdebug Start used Ram 7.75M
vmdebug No admin
vmdebug No $storeadmin
vmdebug No $superVendor
vmdebug vmTime: VirtuemartControllerProductdetails Finished task : 0.14661812782288
vmdebug End used Ram 18.25M
vmdebug Peak memory peak 18.25M
Could someone please tell me where I am going wrong??
On the form, how does one link the cart to the form?
The URL is http://www.woc21.org/index.php/?option=com_virtuemart&view=productdetails&virtuemart_product_id=1&vmbfresetform=1
Please help!
Thanks so much
vmdebug No admin
vmdebug No $storeadmin
vmdebug No $superVendor
This is just a check of the permission of the current logged user. I. E. the logged user is not storeadmin and is not supervendor. So, no problem.
The code is in the file \components\com_virtuemart\views\productdetails\view.html.php
$storeadmin = $perm->check("admin,storeadmin");
if(!$storeadmin) vmdebug('No $storeadmin');
$superVendor = $perm->isSuperVendor();
if(!$superVendor) vmdebug('No $superVendor');
(I was wondering the same thing right now and I found this answer)