Link an article to the product page??

  • Posts: 6
  • Thank you received: 0
12 years 7 months ago #46255

I would like to link a sizing chart article to each produce page. Any suggestions!

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
12 years 7 months ago #46318

You can use such link:

http://mywebsite.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=XXX
where XXX is the id of the product.

The following user(s) said Thank You: rtla

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

  • Posts: 3
  • Thank you received: 0
10 years 7 months ago #150096

Hi

I'm looking to do the same but the other way around.
From my product page how to link a text 'View size chart' to a specific article, preferably in a popup?
What would be the code to add?

Thanks.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #150267

Hi,

You will have to edit the view "product / show_default" (or another one depending on your settings).
Then add code to load the article and display it in a popup.

If you want to have a dynamic url, url of the article depend on the item, I suggest to use a custom field with the type "Product" then get this value and add it in the url.

It require php knowledges.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum