Cart between two subdomains
-
Hello,
I have a first website that needs to retrieve cart content from a second one.
First wp instance: https://www.mywebsite.test
Second wp instance: https://store.mywebsite.testIn the first instance I perform a xhr call using jquery to https://store.mywebsite.test/wp-json/cocart/v1/get-cart but the response is empty, when i call https://store.mywebsite.test/wp-json/cocart/v1/get-cart from browser i see my products.
Is this a CORS issue ? how can I do make it work ?
thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Cart between two subdomains’ is closed to new replies.