Notifications
Clear all

How can I make the cart and Checkout work with the Iframe?

2 Posts
2 Users
0 Reactions
1,277 Views
Posts: 1
Topic starter
(@eliezer1412)
New Member
Joined: 4 years ago
Hello, I bought the pro license version; I tried creating an Iframe from my main website to a website with a different domain and it shows perfectly, the error is that when I want to proceed to the cart or checkout from the iframe, the page remains gray and says that the connection, but instead if I open the cart or checkout from the iframe in a new browser tab this redirects me to the main website, and my intention is to be able to make the purchase from the iframe, I would greatly appreciate if you could indicate a solution to this problem, since I can't figure out how to configure the Iframe to work for me.

Thank you

1 Reply
TinyWebGallery
Posts: 925
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Hi, 

you first have to check your browser console. There you normally see the reason for this. Often a cart/checkout are not allowed to be in an iframe. 

What you need to to is to change the target of the links that lead to cart/checkout dynamically. Are you able to add Javascript to the other page? 

 See: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-features-availability-overview

Best Regards, Michael

Reply