K3NAJ Posted April 7, 2014 Share Posted April 7, 2014 Hello, i want to create a custom module for product customization. All customization are saved. How can I add the customization to cart just giving the price and the id of customization? For example: Product costs $5. If the customer buys 10: 10x$5 + $15 for handling. Handling costs are just once. the quantity does not matter for handling. Thanks for any help. Link to comment Share on other sites More sharing options...
3cubes Posted April 7, 2014 Share Posted April 7, 2014 You could do that by setting up a product as the basis for your customaziation product with a price set as basis price (in your case 5$). then when customization is made by customer you just have to send the new quantity created by your customizer app to the cart conroller. For example 10 pieces. so 10x5$ = 50$ Shipping and handling costs are done within shipping setting in prestashop. As I understood there is nothing to customize. But it would be intereseting to know how you save your customization settings? Have created a cutom table in database? How you let your customers customize their products? By HTML form or by javascript or maybe by PHP? How you send data to save in databse? Link to comment Share on other sites More sharing options...
K3NAJ Posted April 8, 2014 Author Share Posted April 8, 2014 Hey, thank you for your answer. I've already tried this shipping thing, but i didnt work. The handling costs depend on user customization. I've created a custom table and save all changes via ajax/php. Link to comment Share on other sites More sharing options...
3cubes Posted April 8, 2014 Share Posted April 8, 2014 (edited) Hey, how did you save data via ajax/php exactly?? could you give some detailed advice here? Maybe with that information I would be able to get a workarounf for your problem also as we are looking for the same functionality. Edited April 8, 2014 by 3cubes (see edit history) Link to comment Share on other sites More sharing options...
K3NAJ Posted April 17, 2014 Author Share Posted April 17, 2014 Hello, anyone who can help me ?I couldn't find a solution... 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