News:

Support the VirtueMart project and become a member

Main Menu

[fixed] VirtuemartCart object, missing height!

Started by kyrotomia, November 01, 2011, 15:15:47 PM

Previous topic - Next topic

kyrotomia

Hi,

During the developpement of a shipping plugin, I noticed the VirtueMartCart class' products array was missing the HEIGHT value for each product...

Fix for this :

/components/com_virtuemart/helpers/cart.php

add this between like 343 and 344 :
$product -> product_height = $tmpProduct -> product_height;

Thank you.

P.S. Is this the right place to report bug? It seems I couldn't register in the redmine (http://dev.virtuemart.net)... Nevermind that last part. Found the answer to that question in the stickies ;D

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/