Jump to content

Internal href link code


Recommended Posts

This might be a stupid question, but I want to make sure of how how a proper internal href link should look like.
I come from osCommerce, and if you inserted a regular href link like

<a href="product-25.html">Check this product</a>

the session might be lost, with the result of the customers cart would be emptied and logged out if he was logged in.
Instead a href link like this should be used in osCommerce

<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=25', SSL, true) . '">Check this product</a>

So to my question;
When adding a link in categories and product description in Prestashop BO, is it fine to use regular href link?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...