Nikunj Posted February 5, 2014 Share Posted February 5, 2014 hi, i am new in prestashop. i create one template and this template call in DisplayProductButtons hook. i want to this template data value in cart when i click on "add to cart button". any help or suggestion for how do that... Thanks in advance.. Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted February 5, 2014 Share Posted February 5, 2014 (edited) hello... all the value is goes in cartcontroller... and its also cheak the blockcart modules in blockcart.php file it is call the one function like public function hookAjaxCall($params) { if (Configuration::get('PS_CATALOG_MODE')) return; $this->assignContentVars($params); $res = $this->display(__FILE__, 'blockcart-json.tpl'); return $res; } all the value is includeed the blockcart-json.tpl file Edited February 5, 2014 by Nishith (see edit history) Link to comment Share on other sites More sharing options...
Nikunj Posted February 7, 2014 Author Share Posted February 7, 2014 thanks nishith for suggestion. Link to comment Share on other sites More sharing options...
Recommended Posts