I want to integrate vsf with woocommerce
There is wp/woocommerce site running and I want to connect with it.
I could get products using woocommerce2vuestorefront.
But to implement sign in/up feature, I think I have to get customer information from wp/woocommerce.
And also need stock and order information…
How can I do?
Here is my opinion.
- In vue-storefront-api/config/local.json, change platform to ‘woocommerce’
- Add woocommerce field, and do configurations like magento2
- Make new directory ‘woocommerce’ in vue-storefront-api/src/platform.
And build some scripts to connect with woocommerce rest api
Here, I can use woocommerce-api node module.
Is this right?
If so, I am worried with properties of woocommerce in step 2.
what imgUrl and assetPath refer to?
Please help me.