woo-next

授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发、 常用JavaScript包
软件类型 开源软件
地区 不详
投 递 者 田冥夜
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

WooCommerce Nextjs React Theme ��

  • This is a React WooCommerce theme, built with Next JS, Webpack, Babel, Node, GraphQl

�� Full Course Video Tutorial

Important Note :

The code for the Video Tutorial is in the branch youtube-courseHowever, since there is continuous contribution and updates to this project. The 'master'branch is upto date with those changes. You can also refer to the PR notes for changes.

Demo Desktop ��

Live Demo:

Live Demo Site

Checkout Page Demo

Payment Demo ( Paypal example )

Order Received Demo

Stripe Checkout

Stripe Demo Video

Features:

  1. WooCommerce Store in React( contains: Products Page, Single Product Page, AddToCart, CartPage and Checkout Page with country selection ).
  2. SSR
  3. SEO friendly
  4. Automatic Code Splitting
  5. Hot Reloading
  6. Prefetching
  7. Incremental Static (Re)generation ( Next.js 10 support )
  8. GraphQL with Apollo Client
  9. Tailwindcss
  10. Stripe Checkout ( with Stripe Session and Stripe webhook)

Getting Started ��

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Prerequisites ��

Installing ��

  1. Clone this repo using terminal git clone git@github.com:imranhsayed/woo-next
  2. cd woo-next
  3. yarn install

Add GraphQl support for WordPress

  1. Download and activate the following plugins , in your WordPress plugin directory:
  • wp-graphql Exposes graphql for WordPress ( Tested with v-1.3.8 of this plugin )

  • wp-graphql-woocommerce Adds Woocommerce functionality to a WPGraphQL schema ( Tested with v-0.8.1 of this plugin )

  • headless-cms Extends WPGraphQL Schema ( Tested with v-1.8.0 of this plugin )

  • Make sure Woocommerce plugin is also installed in your WordPress site. You can also import default wooCommerce products that come with wooCommerce Plugin for development ( if you don't have any products in your WordPress install ) WP Dashboard > Tools > Import > WooCommerce products(CSV): The WooCommerce default products csv file is available at wp-content/plugins/woocommerce/sample-data/sample_products.csv

Hero Carousel.

To use Hero carousel, create a category called 'offers' from WordPress Dashboard > Products > Categories.Now create and assign as many child categories to this parent 'offers' category with name, description and image.These Child categories data will automatically be used to create hero carousel on the frontend.

Configuration(for GraphQL implementation) ��

  • Note Below is for GraphQL implementation , for REST API check feature/rest-api branch
  1. (Required) Create a .env file taking reference from .env-example and update your WordPressSite URL.
  • NEXT_PUBLIC_WORDPRESS_URL=https://example.com

Branch details

  1. feature/rest-api Contains REST API Implementation.

  2. The master branch has the GraphQL implementation.

Common Commands ��

  • dev Runs server in development mode

Code Contributors ✰

Thanks to all the people who contributed to the code of this project ��

Imran Sayed Daniel F Fandi Rahmawan yudyananda

Contributing ��

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning ��

I use Git for versioning.

Author ��

License ��

This project is licensed under the MIT License - see the LICENSE.md file for details

  • 题目简介 大致是可以选择好几个动物,然后可以删除动物 题目分析 有了上一道题的经验,上来先afl [0x004007f0]> afl 0x004006d8 3 26 sym._init 0x00400710 2 16 -> 32 sym.imp.free 0x00400720 2 16 -> 48 sym.imp.puts 0x00400730

 相关资料
  • Woo 是一个用 Common Lisp 编写的基于 libev 库开发的快速非堵塞 HTTP 服务器。 性能比较: 环境要求: UNIX (GNU Linux, Mac, *BSD) SBCL 1.2.6 Quicklisp libfixposix (for IOLib) libev

  • 用WordPress构建电子商务网站已经是一个流行的解决方案,与oscommerce、prestashop相比,WordPress更适合构建小型电商网站,显然WordPress对资源的消耗使其难以胜任大型电子商务网站,但博客式营销的模式以及WordPress的CMS特性也让它有胜过大型电商网站的地方——搭建更容易、费用低、管理简单,非常适合那些卖的产品不多的人。今天介绍的是一款新兴的WordPre

  • 我有一个使用wordpress开发的网站。一个支付门连接到它,一旦做了集成,我就没有时间测试它。从一开始它就起作用了。当我今天查看时,我在下订单后看到了这一点。当我们选择信用卡付款方式并下订单时。它将不会重定向到支付网关网站。相反,它将显示感谢窗口。 当我检查日志时。我找到了这个。谁能给我解释一下问题是什么?这应该从哪边开始? 2021/10/02 09:02:12[错误]18#18:*29690

  • 我试图显示自定义文本的产品在特定的宇商业类别。这是我添加到function.php的代码,但它显示了类别页面中的文本,而不是产品页面。 附言:在开头加上“如果(function_exists(add_action))”有什么好处吗?

  • 我正在建立woo commerce在线商店,我面临一个问题,我无法在父类别中显示子类别。我试图找到插件或任何其他解决方案,但我没有得到任何东西。所有类别都显示在主产品页中我只想在主产品页中显示父类别,在父/主类别页中显示所有子类别。 例如 我有两个主要类别 男士 妇女 两者都有子类别,如t恤、服装、裤子等。 我需要知道如何在父类别页面中显示子类别。

  • 问题内容: 我读了API的Java,因为我对之间的差异问题和。在API中,它表示: “使该扫描仪前进到当前行之后,并返回跳过的输入。此方法返回当前行的其余部分,但不包括末尾的任何行分隔符。该位置设置为下一行的开始。” 足够容易…跳过当前行,然后返回刚刚跳过的行。但是对于,它说: “将输入的下一个标记扫描为双精度。如果无法将下一个标记转换为有效的双精度值,则此方法将引发InputMismatchEx