OptiOne Posted December 5, 2013 Share Posted December 5, 2013 I would like to know if there is a way to pull the product features information into the product-list.tpl page? Link to comment Share on other sites More sharing options...
shailendra Posted December 5, 2013 Share Posted December 5, 2013 please clarify the term "product features information". Do you want to show product attributes or featured product on product-list.tpl? Link to comment Share on other sites More sharing options...
OptiOne Posted December 5, 2013 Author Share Posted December 5, 2013 Thanks shailendra for the response. I would like the product features to show in the on the product list page. Is it possible? Link to comment Share on other sites More sharing options...
ibndawood Posted December 6, 2013 Share Posted December 6, 2013 Hi, Most of the product information is available on {$product} array. Where you see {$product} in your product-list.tpl try using <pre>{$product|@print_r}</pre> This will display all the available info for product and you can use what you want from the available indexes. Link to comment Share on other sites More sharing options...
vekia Posted December 6, 2013 Share Posted December 6, 2013 product variable from product-list.tpl foreach loop has got "features" array. $product.features - you can use foreach loop on it. You can also use: Product::getFeaturesStatic($product.id_product); anywhere you want Link to comment Share on other sites More sharing options...
Recommended Posts