Announcement

Collapse
No announcement yet.

Clickable images on homepage for best sellers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Clickable images on homepage for best sellers

    Hi
    Can anyone please advise how you make the small images clickable on the homepage that relate to 'best sellers' and 'new products'? At present you can only click on the 'find out more' writing and not on the image or the title of the item.
    I am running version 8.
    Thank you
    Sarah

    www.wheelsonheels.co.uk
    Sarah

    #2
    Sarah,

    I've quickly ripped the layout from within Actinic and patched it up to give you what you need. As my best seller layout won't be the same as yours, you will need to take the pieces of code and apply where necessary.

    In your Best Sellers layout (if you're unsure which, go to Settings - Site Options - Layout - Best Sellers List), look for the following:

    Code:
    <actinic:variable name="ProductImageLayout" />
    This is the variable ProductImageLayout - effectively controls the layout of the image, as the name suggests.

    Add the following code before the product image layout variable:

    Code:
    <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductReference" />&amp;NOLOGIN=1" alt="<Actinic:Variable Name="ProductName"/>">
    At the end of the ProductImageLayout variable, place an </a> to complete the link.

    The full code will be as follows:
    Code:
    <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductReference" />&amp;NOLOGIN=1" alt="<Actinic:Variable Name="ProductName"/>"><actinic:variable name="ProductImageLayout" /></a>
    This is based on the Full Best Sellers List layout, which I assume is what you are using(?) - though it will be the same technique regardless which best sellers layout you are using.

    Hope that helps.

    Regards,
    Grant

    Comment


      #3
      details how to do this are also in the advance user guide

      Comment

      Working...
      X