innocuous Posted November 7, 2012 Share Posted November 7, 2012 (edited) Hi, I'd like to move the wishlist module block out of displayProductbuttons and into the displayLeftColumnProduct block. It is not allowing me to transplant the module. The displayLeftColumnProduct block has the Favourite products module already in it. I want to show both together. Edited November 9, 2012 by innocuous (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 7, 2012 Share Posted November 7, 2012 (edited) are you sure that you talking about displayleftcolumnproduct hook? what about extraleft hook? Edited November 7, 2012 by vekia (see edit history) Link to comment Share on other sites More sharing options...
innocuous Posted November 7, 2012 Author Share Posted November 7, 2012 I think so! Currently favorite products is showing in displayleftcolumnproduct hook. It shows up below the multiple image thumbnails. From Firefox Web Developer module it shows: <ul id="usefull_link_block"><li id="left_share_fb" style="display: none;"></li><li id="favoriteproducts_block_extra_add" class="add"></li><li id="favoriteproducts_block_extra_added"></li><li id="favoriteproducts_block_extra_removed"></li></ul> Link to comment Share on other sites More sharing options...
vekia Posted November 7, 2012 Share Posted November 7, 2012 (edited) this hook is called extraleft and also displayleftcolumnproduct "This hook is called right before the "Print" link, under the picture on product page. This is ideal place for displaying buttons or links to do something with product page (like print, share buttons of social networks, etc)." so, you must open the blockwishlist.php file in module directory and add somewhere in class { }: public function hookextraleft($params){ $this->smarty->assign('id_product', (int)(Tools::getValue('id_product'))); return ($this->display(__FILE__, 'blockwishlist-extra.tpl'));} Edited November 7, 2012 by vekia (see edit history) Link to comment Share on other sites More sharing options...
innocuous Posted November 8, 2012 Author Share Posted November 8, 2012 Thanks again buddy! Link to comment Share on other sites More sharing options...
vekia Posted November 8, 2012 Share Posted November 8, 2012 so the problem is solved? Link to comment Share on other sites More sharing options...
innocuous Posted November 8, 2012 Author Share Posted November 8, 2012 yes Link to comment Share on other sites More sharing options...
Bejo Posted June 19, 2013 Share Posted June 19, 2013 (edited) thx for share and how to Transplant comment small link block to displayLeftColumnProduct Edited June 19, 2013 by Bejo (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2013 Share Posted June 19, 2013 the same as here, just use different hook, in this case: displayLeftColumnProduct Link to comment Share on other sites More sharing options...
Bejo Posted June 19, 2013 Share Posted June 19, 2013 the same as here, just use different hook, in this case: displayLeftColumnProduct it said product comment --> This module cannot be transplanted to this hook. Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2013 Share Posted June 19, 2013 but you changed the code? added the function to support this hook? Link to comment Share on other sites More sharing options...
Recommended Posts