#7 WooCommerce React Theme | WooCommerce graphql | WordPress | WooCommerce REST API | react js

preview_player
Показать описание
Add GraphQL WooCommerce GraphQl | Instal wp-graphql | wp-graphql-woocommerce | wp-graphiql | Apollo Client woocommerce react | woocommerce react js | woocommerce react wordpress tutorial | next js woocommerce | wordpress woocommerce tutorial | wordpress woocommerce development | WooCommerce REST API Integration | woocommerce-api npm | wordpress graphql

******* CURRENT PLAYLIST ******

******* PLEASE STAR MY REPO TO SUPPORT ME ******

******* Social Links ********

Please follow 🙏

Twitter - @imranhsayed

Github - imranhsayed

******* Other Playlist ******

==== REACT TUTORIALS ====

==== REDUX TUTORIALS ====

==== REACT WITH WORDPRESS TUTORIALS ====

==== WEBPACK TUTORIALS ====
Рекомендации по теме
Комментарии
Автор

I get image=null, and no price option. is there any other dependency or adjustment needed for that.

babitaverma
Автор

Hi there

I have two products, one is a simple other a variable product.
I selected the ...on Simple and ...on Variable, but the apollo client returns all the data as null because one of the products has a null value on one of its fields.

How should i proceed with this ?

mmlnv
Автор

Hi Imran, thank you so much for this videos. i run into a situation, so i try to make a query to get all my products in order to use the getStaticPaths function so i will have available all the products, but it seems like the query doesn't work, i get's just some products...the query i use starts with products(first: 5000) and i ask for the id and slug, but not all products are listed by grapql.

stefancatalin
Автор

Sir can I continue course with rest api?? would that be possible? The graphql setup is not working also its way to many plugins to install. I feel like creating custom api routes will be easier

alexlytle
Автор

Thank you for this tutorial. By the way, when I query for products in WP using GraphiQL, I get this: "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".
I downloaded the latest versions from the github. Thanks

xhackerx
Автор

Thank you very much for these tutorials. Sorry but I'm kind of a noob. How would I deploy this to a shared server like Bluehost? Is there another video in the playlist that covers this? Or can you point me in a good direction to learn?

chunners
Автор

If I make a query in Wordpress plugin i can choose RAW or RENDERED version of 'description'. In WP GraphiQL it works and shows description with or without html tags. When i use that query in dev mode on my localhost i always have that version with <p> tags etc. I tried with both formats and without format, always the same. Maybe someone know how to do it properly? I need that RAW, clean version and can't find solution in google.

sakmajhol
Автор

Hi, how would you go on about sorting and pagination with graphql? Usually there is a sort field, like products( sort: ) but that doesnt work with the products.

filipwallden
Автор

I used " @apollo/client " package

Tanzimhossain
Автор

Hmm, why can't I querry price :s Anyone get this problem ?

anhvuuc
Автор

*_Imran Bhai _**_#WooCommerce_**_ Looks Very User friendly_*

swapnilkadekot
Автор

API take up to 500ms to response (A total blank WP with 10 products sample). This so After that, images is downloaded... It will not fast I think :s Any solution for this?

anhvuuc
Автор

Thank you for good tutorials.
In this lesson get error: Cannot read property 'length' of undefined
(pages/index.js) Please help :)

alexfield
Автор

I couldn't get this to work i will have to stay with REST

alexlytle
Автор

Sir please please please please please😫🙏🙏💓 any idea about woocommerce subscription how to fetch variables subscription data please make one video on woocommerce subscription Or give me advice

Elite_Top_Picks
Автор

thank you for this tutorial but i'm getting the error:-


Server Error

Error: Network error: Only absolute URLs are supported
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
new ApolloError
(92:26)
<unknown>
(1588:34)
<unknown>
(2008:15)
Set.forEach
<anonymous>
<unknown>

ajithksukumaran