VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Jorge Moises on February 17, 2012, 18:00:15 PM

Title: Help to add New field in cart
Post by: Jorge Moises on February 17, 2012, 18:00:15 PM
Hello i have manage to add a new field in the product table in the databas/admin view/user view/  is working fine,

this field is for Points so every product has diferent value example "Product 1" has 20 points, "prouct 2" has 30 points

i need help to but to be able to  show that field in the Cart, and summarize depending on the quantity of the same product the add to the cart.

example if the user add 2 "product 1" in the cart i need to show the total point in this case "40 points" .

i am try to find in javascript in models but for some reason the model that read the product is not getting that new field i have add it.

Thanks for any advise !!!
Title: Re: Help to add New field in cart
Post by: Jorge Moises on February 17, 2012, 19:36:42 PM
I have manage to show the Field and value in the Cart view, now i like to be able to summarize depending on the quantity of the same product, any advise?

thanks