When the demo open’s of my product with Live Preview button (with i frame) Product not added in cart.
But when i direct added a link without any iframe it will works fine.
Here is the links with iframe with codecanyon : http://preview.codecanyon.net/item/woocommerce-variable-pricing-calculator-addons-simple-product/full_screen_preview/27169469?_ga=2.224863135.464498170.1601281797-513658973.1601123148
Direct link Demo: http://demo.motif-solution.com/woocommerce-variation-pricing-calculator/shop/
Thanks for help in advance
I believe this is an issue with your application sending cookies without a
SameSite parameter, which is now treated as
Lax and therefore the cookie is blocked. It works without the iframe because there is no cross-site behavior in that case. If you want this to work, you’ll need to send your cookies with
SameSite=None, but that has other security implications. See the MDN article for more information.
Please see the following forum thread for a further explanation: