Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2010
    Posts
    251
    Plugin Contributions
    0

    Default HTML Link in Product Info Page

    Hi,

    Can someone please confirm that I am not going mad and that you cannot add an active link or image link to the product description on the product info page?

    I am trying to place a sizing guide link and Samples link to specific items however the link wont work. I have tried standard a href but to no avail.

    I know this can be added via tpl product_info_display however that places it on all products which is not required.

    Adding a direct anchor tag link is a simple ask, or so I thought?

  2. #2
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: HTML Link in Product Info Page

    Yes, you can with a simple a href link.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: HTML Link in Product Info Page

    There's no reason you can't embed a link in the product description. Post the exact 'a href' code you're using and what happens (if anything) when you click the link (if it appears).

  4. #4
    Join Date
    Mar 2010
    Posts
    251
    Plugin Contributions
    0

    Default Re: HTML Link in Product Info Page

    Quote Originally Posted by stevesh View Post
    There's no reason you can't embed a link in the product description. Post the exact 'a href' code you're using and what happens (if anything) when you click the link (if it appears).
    Hi, here is the code i am using -
    Code:
    <a href="index.php?main_page=sizeguides">
    <img width="120" height="25" alt="Clothing Size Guides" src="images/sizeguideimage.gif" class="sizeguidesimage" /></a>
    In the admin preview pain these links appear to display correctly, however on the actual page there is no link only the image?

    Thanks.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: HTML Link in Product Info Page

    <a href="index.php?main_page=sizeguides">

    You're pointing to a page that doesn't exist. Where exactly is the page that the size guide is in (full path) ?

  6. #6
    Join Date
    Mar 2010
    Posts
    251
    Plugin Contributions
    0

    Default Re: HTML Link in Product Info Page

    Quote Originally Posted by stevesh View Post
    <a href="index.php?main_page=sizeguides">

    You're pointing to a page that doesn't exist. Where exactly is the page that the size guide is in (full path) ?
    http://www.example.com/productionsit...age=sizeguides

    is the full path. I just tried adding that and still no link appearing only the image.

  7. #7
    Join Date
    Mar 2010
    Posts
    251
    Plugin Contributions
    0

    Default Re: HTML Link in Product Info Page

    Ok, I think I have solved the issue. In the tpl product info file I had removed a <br class="clearBoth" /> from under product description and main image. The css I was using for positioning has hidden the a href links under other elements. I have added <br class="clearBoth" /> and the layout is messed up but the links are back.

    So crisis averted

    Just need to fix layout again.

    Thanks for your assistance.

 

 

Similar Threads

  1. CSS DIV or HTML TABLE for my product info page
    By Donn in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Mar 2009, 02:03 PM
  2. Info sidebox link to t&c html page instaed of zc default
    By jvanree in forum General Questions
    Replies: 6
    Last Post: 28 Oct 2008, 10:05 AM
  3. manufacturer link and logo on product info page
    By 100asa in forum General Questions
    Replies: 4
    Last Post: 9 Feb 2007, 04:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg