How to generate product link?

  • Posts: 175
  • Thank you received: 0
11 years 6 months ago #133452

hello
i tried to create a custom module for my website, i managed to showed the product's image, name, etc.. [through database]

the problem is i want to link every single product name to it's product page
after seeing the default from hikashop modules, the product page is always
goes to "component/hikashop/product/ID-PRODUCTNAME"
is this correct?

or the product's page link is stored somewhere in the database?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #133492

Hi,

You can use this kind of link: "component/hikashop/product/ID-PRODUCTNAME"
It will work for every product.

Or if you have a product listing menu, even if it's an hidden menu, you can use it to display the product page.
For example if your menu has the alias "product-page" the link will be like:
"product-page/product/ID-PRODUCTNAME"

The menu must be an hikashop one.

The following user(s) said Thank You: veeco

Please Log in or Create an account to join the conversation.

Time to create page: 0.047 seconds
Powered by Kunena Forum