By Luis Herranz
on Thu Dec 17 2020
This is only an experiment of a possible @frontity/woocommerce
package using the WooCommerce Store API, which is not public yet. Don’t use this in production. If you want to know more about this proof of concept -or participate in the conversation- you can go to this thread in the community.
https://github.com/frontity/woocommerce-proof-of-concept
https://community.frontity.org/t/woocommerce-proof-of-concept/3596
The repository contains a Frontity project with two packages:
woocommerce-poc
@frontity/wp-source
handlers for the product pages and for the cart and checkout pages.woocommerce-theme
woocommerce
package@frontity/mars-theme
starter theme, and all the components related to WooCoomerce are placed into the /packages/woocommerce-theme/src/components/woocommerce
folder.Here’s a list of the things you can do with this proof of concept:
These ones were not implemented yet:
To setup and run the Frontity project, simply follow these steps:
Clone the repository:
git clone https://github.com/frontity/woocommerce-proof-of-concept.git cd woocommerce-proof-of-concept
Install the project dependencies:
npm install
Run the npx frontity dev
command to start the project in development mode:
npx frontity dev