jeyjoo Posted January 29, 2012 Share Posted January 29, 2012 Hi, Anyone know how to auto-generate the URL for a product page. I use PS 1.4.6.2. Shop in development is here - http://it.jeyjoo.com/avc/prestashop/it/11-prodotti-solari-naturali.html Help appreciated Link to comment Share on other sites More sharing options...
Richard S Posted January 30, 2012 Share Posted January 30, 2012 What do you mean by saying "auto-generate the URL for a product page." Friendly URLs are generated upon your product name Link to comment Share on other sites More sharing options...
jeyjoo Posted January 30, 2012 Author Share Posted January 30, 2012 What do you mean by saying "auto-generate the URL for a product page." Friendly URLs are generated upon your product name I am looking for a line of code that will create a link to the current product page (useful for facebook like button, and canonical links). Link to comment Share on other sites More sharing options...
Richard S Posted January 30, 2012 Share Posted January 30, 2012 {$link->getProductLink($product)} should help you. This could be found in product.tpl 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