susanne52 Posted February 21, 2013 Share Posted February 21, 2013 Hello, I'm trying to create a module in order to calculate individual prices for stickers (price depends on size, material and quantity). The problem: value of calculated variable isn't transferred to shopping cart. What file do I need to change to get things done ? Actually, I just want to transfer value of my variable of module "test" : $prixSticker=40.0; to the price of the individual product in order to get it into shopping cart. I did an override>classes>Product.php in order to modify just one product. Price of product need to change too, if $prixSticker=$longueur*$largeur*texteadmin; because the value $prixSticker will be calculated in fonction of several items in back office (marge, coefficient….) , AND in front office (length, width, quantity ... chosen by the buyer. Help would be great ! Thanks Susannetest.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now