Skip to content

Commit 1bbf6d4

Browse files
authored
Merge branch 'master' into development
2 parents d8e7341 + 2dba0aa commit 1bbf6d4

File tree

3 files changed

+6
-60
lines changed

3 files changed

+6
-60
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44

55
## This is still a work in progress, but you can place orders and add products to cart.
66

7-
Live url: <a href="https://nextjs-woocommerce.now.sh/">https://nextjs-woocommerce.now.sh/</a>
7+
### The live URL to this site is currently connected to a local installation, so it will not work properly.
88

9-
1. Clone and activate the following plugins , in your WordPress plugin directory:
9+
1. Install and activate the following plugins, in your WordPress plugin directory:
1010

1111
* [wp-graphql](https://github.com/wp-graphql/wp-graphql) Exposes graphql for WordPress .
1212
* [wp-graphiql](https://github.com/wp-graphql/wp-graphiql) Provides GraphiQL IDE (playground) to the WP-Admin.
1313
* [wp-graphql-woocommerce](https://github.com/wp-graphql/wp-graphql-woocommerce) Adds Woocommerce functionality to a WPGraphQL schema.
14+
* [algolia-woo-indexer](https://github.com/w3bdesign/algolia-woo-indexer) Sends WooCommerce products to Algolia.
1415

15-
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`
16+
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`
1617

1718
2. Clone or fork the repo and modify ```nextConfig.js```
1819
3. Modify the values according to your setup
@@ -40,11 +41,9 @@ Start the server with ```npm run dev ```
4041

4142
## TODO
4243

43-
- Add more cart functionality
44-
- Add checkout functionality
4544
- Validate remote Woocommerce session (or delete old session?)
4645
- Hide products not in stock
4746
- Add better SEO
48-
- Add price to Algolia search (Wordpress plugin has been developed)
47+
- Add price to Algolia search (Wordpress plugin has been developed, needs to be integrated)
4948
- Add a better README.md
5049
- Implement https://github.com/cyrilwanner/next-optimized-images for production

components/Cart/CartPage/MobileCart.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const MobileCart = ({ cart }) => {
88
>
99
<div className="flex items-center justify-center">
1010
<div className="container">
11-
<table className="flex flex-row flex-no-wrap my-5 overflow-hidden rounded-lg sm:bg-white sm:shadow-lg" style={{width: "360px"}}>
11+
<table className="flex flex-row flex-no-wrap my-5 overflow-hidden rounded-lg sm:bg-white sm:shadow-lg" style={{width: "365px"}}>
1212
<thead className="text-black">
1313
<tr className="flex flex-col mb-2 bg-gray-200 rounded-l-lg flex-no wrap sm:table-row sm:rounded-none sm:mb-0">
1414
<th className="p-3 text-left">Fjern</th>

old-index.jsx

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)