Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2010
    Posts
    229
    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,122
    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
    18,031
    Plugin Contributions
    1

    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
    229
    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
    18,031
    Plugin Contributions
    1

    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
    229
    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
    229
    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. Add unique link on product info page for different products
    By MzBeanz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Jan 2012, 02:20 PM
  2. Add 'More Info' link to product description on Category page
    By gotlogos in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Dec 2010, 03:33 AM
  3. 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
  4. 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

Bookmarks

Posting Permissions

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