Announcement

Collapse
No announcement yet.

Location of Recently Viewed Products list

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

    Location of Recently Viewed Products list

    Does anybody know how I can have the 'Recently Viewed' products list only visible on section pages (i.e. Not on brochure or individual product pages)?

    Any alteration i make seems to turn the list on or off for all pages, so I am wondering if this is even possible at all..?

    #2
    Originally posted by logoshed View Post
    Does anybody know how I can have the 'Recently Viewed' products list only visible on section pages (i.e. Not on brochure or individual product pages)?

    Any alteration i make seems to turn the list on or off for all pages, so I am wondering if this is even possible at all..?
    It can be done by altering the block if at the top of the Regular Recent Product List

    The current contents are
    Code:
     
    <actinic:variable name="PageType" /> != 'Checkout Page 0' AND
    <actinic:variable name="PageType" /> != 'Checkout Page 1' AND
    <actinic:variable name="PageType" /> != 'Checkout Page 2' AND
    <actinic:variable name="PageType" /> != 'Checkout Page 3' AND
    <actinic:variable name="PageType" /> != 'Receipt' AND
    <actinic:variable name="PageType" /> != 'Login' AND
    <actinic:variable name="PageType" /> != 'Signature' AND
    <actinic:variable name="PageType" /> != 'Bounce Page'
    Just add
    Code:
    <actinic:variable name="PageType" /> != 'Brochure' AND
    <actinic:variable name="PageType" /> != 'Product Page' AND
    at the beginning of the block if statement. It won't work at the end as it needs to be above the very last line of the original for it to work.

    An alternative is to replace all the code with
    Code:
    <actinic:variable name="PageType" /> == 'Section'
    which is a much neater solution

    Malcolm

    SellerDeck Accredited Partner,
    SellerDeck 2016 Extensions, and
    Custom Packages

    Comment


      #3
      A simple and quite perfect solution. Many thanks Malcolm!

      Comment

      Working...
      X