Announcement

Collapse
No announcement yet.

How can I make the images in the Best Sellers/New Products lists clickable?

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

    How can I make the images in the Best Sellers/New Products lists clickable?

    By default, the images that appear in the 'Mini Best Seller Layout' and the 'Mini New Product Layout' are not clickable. This is likely to be remedied in a later release of Actinic v8, but until then you can make the change yourself as follows.

    Go to 'Design | Library | Layouts' and go to the 'Best Seller List Entries' group. Edit the layout called 'Mini Best Seller Layout'.

    Locate the line of code:

    <img style="border: 0;" src="ProductImageFileName" width="75" alt="ProductName" />

    Replace it with the following code:

    <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>">

    <img src="<actinic:variable name="ProductImageFileName" />" width="75" alt="<actinic:variable name="ProductName" />" border="0"/>

    </a>

    You can also do the same to the 'Mini New Products Layout' located within the 'New Products List Entries' group in the 'Layouts' tab of the library.
Working...
X