Hi All,
I just found this closed thread that relates to my problem:
http://www.zen-cart.com/showthread.p...-iFrames-Issue
It was discussed that iframes are not the best, which I understand but I am integrating zencart into a facebook tab and facebook only does this through iframes...
So the issue is that paypal will not work because as zencart is currently setup it opens paypal in the same window. My facebook zenbook account times out because the iframe will not allow this. A work around, discussed in the above, closed thread is to open the paypal in a new window onsubmit of the "confirm order" button. This sounds great!.... only problem - I can't figure out which file the code they are referencing is in...
" all i did was add target="_blank" to the following code:
echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" target="_blank" onsubmit="submitonce();"'); "
I know the code might look a little different if I'm running a different copy of zencart but would anyone be able to give me an educated guess as to which file and where in the code I need to amend? I've checked the checkout_process.php... is that where the target="blank" goes and where? or is there another file?
Bookmarks