tinybibiya 0 Posted August 15, 2015 Hi, I tried doing this tutorial but it seems not to work. http://nemops.com/save-prestashop-custom-fields-add-to-cart/#.Vc6Wy_mqqko My version is 1.6.0.14.I am using a custom theme from themeforest (http://panda.sunnytoo.com/en/)Attach is my modified files under: themes/panda/js/modules/blockcart/ajax-cart.jscontrollers/front/ProductController.phpjs/tools.js Also this might give a clue? /themes/panda/product.tpl (modified to bring the textfield from tabs to below add to cart)I just need textfield. No need upload file portion. Can someone help? ProductController_custom_field.php ajax-cart_tools.zip product.zip Share this post Link to post Share on other sites
NemoPS 1,879 Posted August 15, 2015 Could you link your site directly? Where is it breaking exactly? Share this post Link to post Share on other sites
tinybibiya 0 Posted August 15, 2015 Could you link your site directly? Where is it breaking exactly? Hi, This is example. http://tinybibiyadiapers.com/products-and-package-deals/27-tiny-bibiya-diaper-set.html I have changed to original files. Share this post Link to post Share on other sites
NemoPS 1,879 Posted August 15, 2015 So where was it failing exactly? Were you getting any ajax error upon adding it to the cart? 1 Share this post Link to post Share on other sites
tinybibiya 0 Posted August 15, 2015 Hi, After adding some text then click add to cart, the same warning pop out saying please fill in text field. Is the same as b4 modifying. Share this post Link to post Share on other sites
tinybibiya 0 Posted August 15, 2015 Found a solution to this issue. Now I can direct add to cart with custom text field. Instead of editing the files mentioned in the tutorial, need to edit this instead. /override/controllers/front/ProductController.php /modules/blockcart_mod/views/js/ajax-cart.js /js/tools.js Share this post Link to post Share on other sites