Timeline for How to call one directory tempate file in to other template file in magento
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 27, 2016 at 9:13 | vote | accept | Dhinakar | ||
Aug 27, 2016 at 8:50 | comment | added | Murtuza Zabuawala♦ | Where you create your popup ? At that place put this peice of code and your job is done | |
Aug 27, 2016 at 8:48 | history | edited | Murtuza Zabuawala♦ | CC BY-SA 3.0 |
added 30 characters in body
|
Aug 27, 2016 at 8:36 | comment | added | Murtuza Zabuawala♦ |
For that you need to set product i think I am not sure its working or not but you can try <?php echo $this->getLayout()->createBlock('checkout/cart_crosssell')->setTemplate('checkout/cart/crosssell.phtml')->setProduct($product)->toHtml();?>
|
|
Aug 27, 2016 at 8:32 | comment | added | Dhinakar | that is my question i want to fetch block from other block, there is option for that | |
Aug 27, 2016 at 8:28 | comment | added | Murtuza Zabuawala♦ | this module work only with checkout page , By the way where you are trying to fetch this block | |
Aug 27, 2016 at 8:25 | comment | added | Dhinakar | i got error like, " syntax error, unexpected 'checkout' (T_STRING) in app\code\local\Cmsmart\AjaxCart\controllers\IndexController.php on line 114" | |
Aug 27, 2016 at 8:10 | history | answered | Murtuza Zabuawala♦ | CC BY-SA 3.0 |