Author Topic: Link product images to specific pages on my site, not to product detail page  (Read 197 times)

Sobadare

  • Beginner
  • *
  • Posts: 3
  • A beginner
Hello. I want to link my product images to specific pages on my site, not to the product detail page. I tried putting url links into the URL field on the Product Information Page while creating products, but that doesn't work. It doesn't appear that the URL field on the Prodcut Information page works. How can I achieve this? I would appreciate your assistance. I have Virtuemart 3.4.2, Joomla 3.9.1.  Thanks for helping

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1914
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Afaik the url is meant to go to another image, not a generic html or php page. You will have to override the link creation in your template for the category view.

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

Sobadare

  • Beginner
  • *
  • Posts: 3
  • A beginner
Thanks for your response. Could you kindly show me how to do the link creation overide in the template to achieve this action? I would really appreciate it. Also, after doing the overide, would I just need to place the html link in the URL field in the Product Information page to get it linked to the product image? Thanks

Sobadare

  • Beginner
  • *
  • Posts: 3
  • A beginner
This is probably a unique issue, I'm positive there is a way to do it. Could some kindly help? I would appreciate it.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27211
  • Always on vacation
    • Jenkin Hill Internet
I suspect you will need to commission a developer to write the code for you. It is beyond the scope of this peer support forum.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.9989 on Joomla 3.9.2 PHP 7.0.33
Testing VM 3.4.3.10014 on Joomla 3.9.2