Not able to set custom values in Cart session in version 3.0.14

Started by akjagetia, September 08, 2016, 17:31:21 PM

Previous topic - Next topic

akjagetia

Hi Guys,

I am trying to setup a new custom variable in cart session. I have modified helper class cart.php of frontend component. The session is storing the values until they get stored in database. The custom variable values are going into database carts table.

Could you please suggest me something to how to use VMCART session for my variable ?

Would be a great help.

Thanks,
Ankit

Milbo

Not this way. You must do it via the trigger when adding a product, else your system is hackable like an open barn
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/