There is one store fully built on woocommerce.
Suppose it’s a t-shirt store, and it’s running fine with normal images where you can add to cart buy, now they wanted to make an customized t-shirt page, I made that in React, as per request. where you edit your t-shirt, then I embedded this react page inside website using iframe.
the next thing is, if after editing custom t-shiirt click on add to cart and then confirm that drawing with all details should be transfer in woocoomerce cart?
Is it possible? how?
Also do I need to keep session same from main website to react page and then back to cart page?
I have zero experience to wordpress, is it something easy to follow process or should I ask someone else?
[ad_2]
[removed]
You can use [WooCommerce StoreAPI](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/StoreApi/README.md). However, you need to figure out how to maintain a shared session, which I’m not sure if possible or not, or you could try to create a communication channel between the iframe and WooCommerce to take a message and make a request the StoreAPI directly from the customer client using their session.