Announcement

Collapse
No announcement yet.

Bug. Extended Info Popup pages erroneously set ACTINIC_REFERRER cookie

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

    Bug. Extended Info Popup pages erroneously set ACTINIC_REFERRER cookie

    It looks like the Extended Info Popup page is setting the ACTINIC_ REFERRER cookie to the popup page filename.

    This cookie is later used in the Cart scripts to detect the page to load after adding to Cart. Thus after a subseqent add to Cart the Extended Info page is loaded instead of the main product Section.

    E.g.

    Go to a page with Extended Info Popups (e.g. http://www.actinic.co.uk/examples/ac...Computers.html). Click the More Info... link to open a popup. Dismiss this popup. Immediately Add to Cart on the main page. When you leave the Cart, the popup page replaces the main window.

    This is because the Extended Info Popup layouts include the line
    Code:
    	<actinic:variable name="JavaScriptFunctions" />
    and that Layout includes the saveReferrer() code.

    Here's my workaround.

    Edit actiniccore.js (in your Site folder). Look for the line

    Code:
        var bSetCookie = false;
    immediately above that add the line
    Code:
         if ( window.name == 'ActPopup' ) return;	// don't save if on popup page
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    #2
    Thanks for reporting this. I'll get it sorted ASAP

    Comment

    Working...
    X