ann@ Posted May 31, 2014 Share Posted May 31, 2014 I need a method for modifying the cart product summary page from inside a Prestashop (1.6) module. Basically I want a new column with a select box for each product, and after the client clicks the Proceed to Checkout button I want to fetch the option selected for each product. I'm attaching a image of how I imagined this would look. Thank you, Ann@ Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2014 Share Posted May 31, 2014 it's not possible with module only. you have to modify template file (shoppinf-cart-product-line.tpl) Link to comment Share on other sites More sharing options...
ann@ Posted June 9, 2014 Author Share Posted June 9, 2014 Thank you for your reply. Is it possible to override from module the shopping-cart-product-line.tpl ? Or it's not possible without touching the main theme tpl? Link to comment Share on other sites More sharing options...
vekia Posted June 9, 2014 Share Posted June 9, 2014 everything depends what you want to do with value selected from this select box you want to store it somewhere? Link to comment Share on other sites More sharing options...
ann@ Posted June 9, 2014 Author Share Posted June 9, 2014 Yes, I want to store in a table in database. Link to comment Share on other sites More sharing options...
vekia Posted June 9, 2014 Share Posted June 9, 2014 so it's more complicated. in addition, in what table? order? some table related to products? it will be necessary to change also back office to display this field somewhere. It's attribute? or what? in this case it's necessary to modify controller, and add some js scripts to handle changes in the cart and to handle ajax requests i think that for this kind of job is necessary to hire some dev... Link to comment Share on other sites More sharing options...
Recommended Posts