Announcement

Collapse
No announcement yet.

'Items previously viewed' option

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

    'Items previously viewed' option

    Hi all,

    Just a quickie I'm currently updating a site using V7 Dev. Does anyone know if its possible to create an 'Items previously viewed' box that can be place at the bottom of each page?

    Cheers,

    Chris.

    #2
    You'd want to look at setting a cookie (perhaps) to store the code and/or name.

    See the file actiniccore.js and actinicextras.js to access the functions:

    getCookie(name,value,expirydays)
    setCookie(name,value,expirydays)

    Also you could just store the name of products viewed and maybe put in a custom script in an iframe to lookup further details, so the cookie stays small.
    http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
    http://www.dtbrownseeds.co.uk - More seeds and plants....
    http://www.mr-fothergills.co.uk - Well it used to be Actinic...

    Comment

    Working...
    X