Support » Plugin: YITH WooCommerce Product Add-Ons » REST API Support

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Alessio Torrisi

    (@alessio91)

    Hi there,
    May I ask you more details about your goal?
    What do you want achieve using REST API on our plugin?
    Thank you.

    Thread Starter consumedesign

    (@consumedesign)

    Hey. Headless wordpress (cms) running next js in the front end. WordPress is great but it’s a dinosaur these days compared to node js and the like. I’ve created one already fairly easily with not knowing a whole lot (an old php/wordpress/jQuery/javascript/etc guy). One of my client, he already uses your plug in so I was hoping to get him over to next js on his next site build. I’m sure it would be as well going forward for a few others that are looking to do the same in regards to using wordpress headless.

    Plugin Support Askmagic

    (@askmagic)

    Hi there,
    you can use the WooCommerce rest API only after the order is created, so you can read the order meta, or after the add cart you can read cart item meta but you can’t invoke addons or dependencies.

    Thread Starter consumedesign

    (@consumedesign)

    Hey. I’d like to be able to create the product pages. I am using graphql (https://wordpress.org/plugins/wp-graphql/) to create a API and https://github.com/wp-graphql/wp-graphql-woocommerce extension to create the woocommerce api on that. I’m not messing with creating my own extension for your plugin but a bit stuck. If you’re able to tie into either the REST api or graphql I’m sure those that use headless wordpress would be grateful.

    Plugin Support Askmagic

    (@askmagic)

    Hi there,
    thank you we will try to work on it for a future plugin update.

    Thread Starter consumedesign

    (@consumedesign)

    Thanks. Headless WordPress is the future for developers.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.