Skip to content

Examples: Add WooCommerce into examples #357

@alexwpengine

Description

@alexwpengine

The idea is to add basic WooCommerce examples in all of our current and future examples.
Something like having Storefront theme installed with WC.

Plugins Required

  1. Only WooCommerce. No add-ons.

Pages

  1. Header navigation - add Cart, My account as icons. List added Cart items under Cart.
  2. Shop Page - list products (with load more button) with add to cart button and simple filter and ordering
  3. Product Page - simple add to cart, display basic info - title, desc, price, quantity, attributes
  4. Product Cat Pages - same as shop page/reusing the product-card component.
  5. Cart - add/remove, order subtotal/total
  6. Checkout - simple validation
  7. Order Received/Thank you page - display order summary.

Core functionality

  1. Basic add to cart and remove from cart - cache items for X period of time.
  2. Basic checkout validation
  3. Checkout payment with default payments - CoD, Bank transfer etc. No stripe, paypal etc.

Future Enhancements/ideas

  1. User registration checkbox when checking out
  2. Trigger emails - new account, new order etc.
  3. Apply coupon codes and discounts.
  4. Off canvas cart menu with quantity changes (minus/plus).
  5. Search functionality
  6. Payment gateways examples - stripe, paypal?

We can start with Next.js and move on to the others

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions