Post by rayozd » Wed Dec 07, 2011 1:55 am

Hi,

I am using opencart_v1.4.7 and guest checkout is what we use, now it would be a massive help if someone can tell me how to open the payment provider page(e.g. paypal) on a new tab/window after someone clicks on "Confirm Order", if possible also close the parent window. Any help will be greatly appreciated.

Thanks

Newbie

Posts

Joined
Wed Dec 07, 2011 1:30 am

Post by rayozd » Wed Dec 07, 2011 7:38 pm

basically i want to this to open in a new window

Code: Select all

<a onclick="$('#checkout').submit();" class="button">

Newbie

Posts

Joined
Wed Dec 07, 2011 1:30 am

Post by OpenCart Addons » Thu Dec 08, 2011 12:36 am

Try adding

Code: Select all

target="_blank"
After class="button"

Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by rayozd » Thu Dec 08, 2011 3:33 pm

Yup i did, unfortunately it didn't work :(

Newbie

Posts

Joined
Wed Dec 07, 2011 1:30 am
Who is online

Users browsing this forum: No registered users and 6 guests