Announcement

Collapse
No announcement yet.

Link from brochure page to a different catalog affects operation of scripts there

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

    Link from brochure page to a different catalog affects operation of scripts there

    We have a version 6 catalog with brochure pages in frames. A link to a different website using version 5 causes a problem with the scripts on the confirmation page there. Selecting checkout shows the correct number of items, then redisplays the same page showing that the basket is empty returning to the version 5 catalog instead of it's checkout page.

    I think that the problem arises because the frameset for the version 6 catalog is still in the browser, affecting the "referrer" used in the script. A link from a brochure page specifies target="_parent". If this could be changed to "_top" or "_blank" I think that the problem would go away.

    I have located the design | text responsible - 2058, which is <A HREF = %s TARGET="%s">%s</A>. I just need to change the second %s to _top or _blank; but how can I do this without the third %s becoming _parent ?

    #2
    Well done on all the detective work thus far.

    You can change the prompt you mention to:

    <A HREF = %s TARGET="_top" DUMMY="%s">%s</A>

    without nasty side effects.

    Comment

    Working...
    X