jahyax Posted August 27, 2013 Share Posted August 27, 2013 (edited) good day! what is the best way to show what category the products belong to in product description ie: Reference : 123456 Category: ??? product category here Manufacturer: Apple Weight: 1kg i have been playing with product.tpl but no luck Edited August 27, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
pzi Posted August 27, 2013 Share Posted August 27, 2013 Hi, If you use version 1.5, there is the $category variable on the product page. Place where you want in your product.tpl file something like: <p>{$category->name}</p> and it will show the category name. No idea if it is the same for the versions below 1.5. Try using the ?SMARTY_DEBUG console on your test version to see which variables are available on the page. 1 Link to comment Share on other sites More sharing options...
jahyax Posted August 27, 2013 Author Share Posted August 27, 2013 (edited) Thanks pzi, it worked.... Edited August 27, 2013 by jahyax (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 27, 2013 Share Posted August 27, 2013 if you want to display all product categories as a URL (not only category name) (not only main category) check this tutorial: product categories on product page i marked this topic as [sOLVED] and im closing it best regards 1 Link to comment Share on other sites More sharing options...
Recommended Posts