Prestashop have published a fix on its
bugtracker for the frontennd of your store where the “Add to Bookmarks option does not appear.
There was an problem in the js/tools.js file (the problem being the code did not do anything):
Change from:
function writeBookmarkLinkObject(url, title, insert)
{
if (window.navigator.userAgent.indexOf('Chrome') != -1)
return ('');
else if (window.sidebar || window.external)
return ('<a href="javascript:addBookmark(\'' + escape(url) + '\', \'' + escape(title) + '\')">' + insert + '</a>');
else if (window.opera && window.print)
return ('<a rel="sidebar" href="' + escape(url) + '" title="' + escape(title) + '">' + insert + '</a>');
return ('');
}
Change it to:
function writeBookmarkLinkObject(url, title, insert)
{
if (window.sidebar || window.external)
return ('<a href="javascript:addBookmark(\'' + escape(url) + '\', \'' + escape(title) + '\')">' + insert + '</a>');
else if (window.opera && window.print)
return ('<a rel="sidebar" href="' + escape(url) + '" title="' + escape(title) + '">' + insert + '</a>');
return ('');
}
Related posts: