gridsome / gridsome

⚡️ The Jamstack framework for Vue.js
https://gridsome.org
MIT License
8.55k stars 490 forks source link

WooCommerce example + checkout page #233

Closed karimhossenbux closed 5 years ago

karimhossenbux commented 5 years ago

I saw the WooCommerce icon in the official website header and I was wondering if you guys had an example of Gridsome working with it?

And also how do you manage that checkout page? Is that even possible right now?

Thank you in advance 👌

hjvedvik commented 5 years ago

It is possible to get products from WooCommerce right now if you use their woocommerce-api package and the Gridsome data store.

We are working on a source plugin, but I don't know when it's ready. We also think their API isn't optimized for our use case, so we might create a helper plugin for WordPress that should be used with the source plugin we create :)

maciekkus commented 5 years ago

Not sure if I see this properly but maybe in this case you could use (hopefully incoming soon) graphql-source plugin and wp-graphql plugin installed on wordpress site (https://www.wpgraphql.com/)

robaxelsen commented 5 years ago

Closing, as OP questions have been answered. Feel free to re-open if you have any follow-ups @karimhossenbux.

simplenotezy commented 4 years ago

@robaxelsen / @hjvedvik any updates on this? And whether gridsome and woocommerce are still a good idea?

andriilive commented 4 years ago

@robaxelsen Hey, woo graphql was release d https://github.com/wp-graphql/wp-graphql-woocommerce

See NextJs example: https://github.com/imranhsayed/woo-next

If even this doesn't speed up the development process, pls just remove the icon