I have no idea how to use code. My greatest hope is to have someone fill this in for me or at least give me very simple instructions on how to “replace the values” to connect to my products. This is for the Omnisend Product Picker. I have the beginning API code set already, I just need to add the rest of this but I do not know what to put into it’s place. I know I am supposed to add this to my product page. Please someone help. TIA
First, the code you placed here is intended to place on the “Custom Code” tab under wix site settings.
Second, use “wix window api” inside Velo to send data via the postMessage() function.
To get product data from wix store, use “getProduct()” on the “Wix Product Page” element.
You need to modify the code you posted in order to receive event data
Thank you for answering. I am still very confused. Please be patient with me lol. I understand that the above goes into the “custom code” tab in wix settings. Do I paste it as is or do I need to change the information in the quotations - and how do I know what to change it to?
When I open velo, where would I find the “wix window api” and when I find it do I just type in postMessage()?
Do I just type in “getProduct()” in the window at the bottom of the product page?