Jump to content

<SOLVED>Easy question about getProductLink


Recommended Posts

Hi,

it's important to use $link->getProductLink() and not directly the link (this way this will be the correct url (if friendly url enabled)

getProductLink($id_product)|escape:'htmlall':'UTF-8'}">{l s='View Product Detail'}



{l s='View Product Detail'}



You can copy/past a link example from a tpl file in default theme, prestashop/product-list.tpl for example

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...