emiliob Posted April 27, 2019 Share Posted April 27, 2019 I´m using Prestashop 1.7. I´m not sure how to get the current product category id of the product i´m seeing in product.tpl and show a link to the category of that product. i´m trying to do something like this $product=$id_category_default;; <a href=$product>Go to Category</a> Thanks for helping me out with my problem and keep it up Link to comment Share on other sites More sharing options...
prestamonste Posted April 27, 2019 Share Posted April 27, 2019 Hi, You can change it to. <a href={$return_link}>Go to Category</a> Thanks, Quang Link to comment Share on other sites More sharing options...
emiliob Posted April 29, 2019 Author Share Posted April 29, 2019 Thanks folk, Works perfectly Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now