| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
https frame buster | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
https frame buster
I'm running a shop inside of a frameset. It's basicly just a bottom frame containing an audio jukebox and x-cart running in the top frame.
It works well, except that when folks reach the https stage of the transaction it is not apparent in the browser's address field. I would like it so that if folks select credit card on the payment selection page that it would open the next page targeting the TopFrame. Any suggestions as to where and what to edit?' thanks! |
|||||||
#2
|
|||||||
|
|||||||
call it with a target="_top" command or you can open it in a "_blank" new window, but I think that will confuse your users since the old frame site will still be underneath, better to just replace the window
You can also consider refreshing the main frame into an https call when it reaches the checkout portion, I think that may be what you're looking for Change the head.tpl to check 2 sections (not sure how you are loading your frames), one for regular and one for https when in main=checkout section |
|||||||
#3
|
|||||||
|
|||||||
BTW: Sites with frames generally do not do well with the search engines, just so you know.
|
|||||||
#4
|
|||||||
|
|||||||
thanks concepts,
I guess where I lost is in where to insert the target="_top" tag. It doesn't seem to be as straightforward as selecting the continue button in the payment method table. Should I be looking at customer/main/checkout.tpl? or buttons/continue.tpl? you mentioned head.tpl. ??? seems like this should be simple, but smartys got me feeling like a dummy. |
|||||||
#5
|
|||||||
|
|||||||
Sorry, I looked at the way it works, the credit card portion is actually an include inside checkout.tpl
the best thing for you to do is change the home.tpl and make 2 versions one with the original frame being drawn and then a separate one {if $main eq checkout} dont load frames here this way, when it is in checkout, it will not load any frames or leave that section out and take the entire window. etc etc. I am sure one of the pros of x-cart or html can help you code this. |
|||||||
#6
|
|||||||||
|
|||||||||
look for the "<form action= >" part on the checkout page
add a "target=_top" in the form tag to break out of the frame set, or a "target=_blank" to have it open a new window without the frames
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
|
|||
X-Cart forums © 2001-2020
|