Product listing with external url instead of product link

  • Posts: 11
  • Thank you received: 0
7 years 10 months ago #272771

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.4.x
-- Browser(s) name and version -- : All browsers
-- Error-message(debug-mod must be tuned on) -- : No errors

Hi there everyone @Hikashop.

As you can see in the page I am actually building for a customer, I have a nice list of all the products of a hikashop category.
IE the GIN PAGE has 4 items in.
What I need is that when the image or title is clicked, the link will take to a pdf download and not to the product spec page.

Is that possible, giving the link for each parameter ?

I mean, in the page, for example :

- DRY GIN link must take to DRYGIN_2017.pdf

#


SECOND QUESTION
#

What if I would like to add 2 links in association with the image ?
I mean, for example, if I have 2 pdfs to be downloaded and want 2 links ( under the image title ) one for a pdf and one for the second one ?

Thank you for your fantastic support as always.

Carlo

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

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
7 years 10 months ago #272782

Hi,

1. Yes, that's possible. Just enter the URL of your PDF in the "canonical URL" of your product and make sure that the "force canonical URL on listings" setting in the HikaShop configuration is set to "Use canonical URL if specified".

2. Then, instead of using the canonical URL, you could create custom fields of the table "product" and of the type "link" or "ajax file" so that you could either enter the download link or upload the file when you edit the product in the backend.
Custom product fields have settings to configure whether they should display on the products listings or not on the frontend. (this will require either HikaShop Essential or Business)

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

Time to create page: 0.054 seconds
Powered by Kunena Forum