Learn about using React WooCommerce Theme and deploying it in production.
A React theme for WooCommerce using Gatsby in a Decoupled WordPress Architecture.
* Front end in React
* Backend in WordPress.
* Uses GraphQL to fetch WordPress data withe the help of wp-graphql and wp-graphql-woocommerce.
This theme uses gatsby-source-wordpress@v4 BETA
*** 👨💻 Please star my repo and follow me to support my work 🙏 ***
Repo: https://github.com/imranhsayed/gatsby-woocommerce-themes
Live Demo: https://gatsby-woocommerce-theme.netlify.app/
It has following features:
Uses React with Gatsby ( Blazing Fast )
PWA ( Works Offline )
Image Optimization ( blur effect )
GraphQL ( with wp-graphql on WordPress )
Custom Widgets, Menus, Social elements.
WooCommerce store
Yoast SEO supported ( with og tags )
Product Search with pagination ( even works offline )
Product pagination
Archive pages.
Authentication with JWT
My Account page ( with Login and Registration )
Create an account on checkout.
Social share.
Product Carousel.
Add to wishlist( even works offline )
Uses wp-graphql-jwt-authentication, wp-graphql-yoast-seo, wp-gatsby
#reactjs #wordpress #woocommernce
source
Uday Ignet
👍 hi pls complete all videos in this series
toufic mamdouh
thank you for best tutorial
Agility Matters
This looks great but after doing it locally for 8 hours and on another computer for 4 and vercel. Following everything I think 100%. I constantly get errors. Vercel following this I get Build failed with error code: 1. Having to give up, but locally it also asks "You must define the GraphQL JWT Auth secret to use the WPGraphQL JWT Authentication plugin." I guess thats a step I missed
Real indian
I using gatsby woocommerce plugin but it showing critical error in wp site. And not working in current woocommerce. Please help.
SARIKA DESAI
Hi, I have followed all the steps from video, but once I click on deploy, I get error Deployment failed with error.
error: gatsby-source-wordpress Request failed with status code 404
Error: Command "npm run build" exited with 1
please guide on this
edot solutions
Hi,
I have followed all the steps from the video, once I start deploying I'm facing error: " gatsby-source-wordpress Request failed with status code 404 " please guide on this
angga christian
Thanks for your Awesome work and i will using your gatsby theme into my digital agency & increase my service charges. But there is one question, Is Electra theme support Elementor page layout like your Phoenix theme? Thank you
Eanna De Freine
Hi Imran, really like your videos. I'm just getting into Gatsby and love the idea of combining it with my current Woocommerce/wP site. You said at the end of the video that you will probably be creating a video series about how you built this…did you do this? I looked on your website and in the YT playlists but couldnt see anything specifically about it. Please let me know!
Ahmad Khaled
So i can simply use any gatspy theme within this process… This is superior ❤️
Raymond Wienand
I saw you have a playlist about developing a Node.js react store.
Is there a difference, and which one is best?
ibrahim syouri
Hi! thanks for this amazing content!!
it's seems that's not working well with variable products still gives these errors on deploying
error Error: Request failed with status code 500
11:39:21.101
at createError (/vercel/path0/node_modules/axios/lib/core/createError.js:16:15)
11:39:21.101
at settle (/vercel/path0/node_modules/axios/lib/core/settle.js:17:12)
11:39:21.101
at IncomingMessage.handleStreamEnd (/vercel/path0/node_modules/axios/lib/adapters/http.js:236:11)
11:39:21.101
at IncomingMessage.emit (events.js:412:35)
11:39:21.101
at endReadableNT (internal/streams/readable.js:1317:12)
11:39:21.102
at processTicksAndRejections (internal/process/task_queues.js:82:21)
message: '<p>There has been a critical error on this website.</p><p><a href="https://wordpress.org/support/article/faq-troubleshooting/">Learn more about troubleshooting WordPress.</a></p>',
error gatsby-source-wordpress Your wordpress server at https://syourioutlet.com/graphql appears to be overloaded.
مزيكاتي - Mazekaty
Does wcfm and foovents support these tools that turn the store into a multi-vendors and also sell and book
JpanAddict
thank Imran , nice work. I am having a problem when i try to deploy on vercel , SeoFragment issue "Unknown type WpSEO"
Do you know what is the problem? Any suggestions? , Thank you.
Daniyar Tursunov
I wasn't able to add more than 10 items, is that because of the slow hosting?
Pulkit Juneja
Hello sir, I am facing an issue when I am trying to develop my gatsby app that is cannot destructure property 'hasNextPage' of null
MOHΛMED ΛL-OUBEID
Can I use elementor to build the footer and header? or i must use only the theme features?
Waleed
You could make completely custom theme and apply WordPress , or there is a limitation
Hernán Díaz Daives
I cant yarn install, is it still working?
Ryan Moreau
An issue I just dealt with was the 3000ms timeout. Make sure you change your schema when sourcing GraphQL to allow for the extra time when doing your first query. You can see it in the docs here: https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/blob/master/docs/plugin-options.md#schematimeout.
Code Medio
I have this error TypeError: Cannot read property 'title' of null
Code Medio
this one video start from scratch until development?
Groovy Pets
Am I missing something? Somehow I'm unable to deploy from Vercel! Getting stuck at:
"[3/4] Linking dependencies…"
AND Lots of
"warning " > gatsby-woocommerce-theme" – ISSUES
AND
"error gatsby-source-wordpress"
—-
I've used all the plug-ins that you provided, and installed wordpress on local, and installed wordpress on a live site as well. still the same errors.
Also – i can't event run dev as it failed. I've installed Yarn, and ran the code npm run dev – here's the error i'm getting:
'yarn' is not recognized as an internal or external command,
Failed at the gatsby-woocommerce-themes@2.0.1 dev script.
Any help is appreciated…
Thanks
Saeem Osman
Thanks Imran Sayed for your awesome work! I want to add stripe payment method with woocommerce and gatsby front end site. What the steps should I follow for a successful payment transaction?
Nivedita Wbst
Can you please guide me regarding WP setup for that theme because I setup as you discribed in the video but still have deploy problem getting error /graphql failed.
Thomas Z Lukoma
Great video. I am having a problem. I followed all the steps but when I go to localhost:8000 after the dev build, I am getting an error: TypeError: Cannot read property 'title' of null – seems to not be picking up the page title for the frontpage
dev dev
Nice work from algeria
Marek Kaczanowicz
getting this on build 🙁
18:05:13 – WPGatsby 0.4.14 supports WPGraphQL 0.10.3. Version 0.4.13 and before had a bug where making a published post into a draft wouldn't delete the post in Gatsby.
18:05:13 not finished createSchemaCustomization – 5.777s
18:05:13 error Command failed with exit code 1.
18:05:13 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
18:05:13 error Command failed.
18:05:13 Exit code: 1
18:05:13 Command: /node12/bin/node
18:05:13 Arguments: /vercel/.yarn/lib/cli.js build
18:05:13 Directory: /vercel/workpath0/site
WHat can bee the reason?
panamatsu
Hi! thanks for this amazing content!!
I'm getting this error in dev: GraphQL request to http://localhost/gatsby-woocommerce/graphql failed.
Plugins are working, url is correct and it is responding to requests… Any sugestions?
balaji bobby
Thanks a lot for such great content. I'm facing the error on yarn dev after fetching a few data ' ERROR
gatsby-source-WordPress Request failed with status code 500 Error occurred while fetching nodes of the "Coupon" type.
GraphQL request to https://mysite.com/graphql failed.' https://pastebin.pl/view/fdecc2f4 any inputs, please
Guilherme Verri
Killer content Imran! Don’t know why you don’t have more followers. Don’t know anyone else talking about this and it’s absolutely game changing. Is it already working with stripe and paypal? Can we create post purchase upsells? If you answer yes to both I would really love to talk!
𝐌𝐀𝐙𝐇𝐔𝐃𝐀
can this theme be modified and to what extent, as well as limitations for modifying this gatsby theme? thankyou
hamed sepasgozar
Thanks Imran. How can I rtl theme and translate it to Arabic or Persian language?
sid0rv
Hello Imran, thank you for the video, I'm really excited to try out your theme! Unfortunately I'm running into an error while running npm run dev command locally (ERROR gatsby-source-wordpress WPGatsby and WPGraphQL are both outside the accepted version ranges). Im running the plugin versions you provided via github, updated versions of the plugins yield the same error. Any idea what i might be doing wrong?
Mark Kaczanowicz
Does it support any payment method?
weirdstats
Thanks Imran. This is huge for me and for my company I work.
Muhammad Adnan
thanks,, are there filters available for products ?
Sean Clarke
Fantastic!
F a T J a Y
I think i ask this before… but is possible to make this with Elementor ( Page Builder ) + Recat ?