Hi,
Can anyone tell me where/how the cart price is stored?
So the final price after addition of custom fields in product_details.
Once the customers hits the add to cart button where does this price go?
VM used to store it in the session, but I can no longer find it there.
Thanks.
Ok figured it out: it is still set in session but unlike VM 1 further down the track.
VM2 loads basic product details in the session at the product_details level, then dumps the rest after submitting the form to go to cart.
Cart data is dumped in session with the function: setCartIntoSession() in: components/com_vm/helpers/cart.php.
Prices however are not added here but are pulled via the calculation model: admin/components/com_vm/helpers/calculationh.php.
Hope this helps anyone.