1240 Commits

Author SHA1 Message Date
tniezg
0fa7d9755b Add image 2021-08-25 15:24:57 +02:00
tniezg
be0e246699 Allow placeholder images for products and line items without images 2021-08-25 11:34:22 +02:00
tniezg
448100290d Add missing Error subclass 2021-08-24 20:51:48 +02:00
tniezg
894f18fe78 Add separator to README 2021-08-24 17:06:27 +02:00
tniezg
5e743f0e30 Create a new cart if Spree can't find the current using a token 2021-08-24 16:25:05 +02:00
tniezg
d98a75503d Save primary variant's SKU when normalizing a product from Spree 2021-08-24 15:45:32 +02:00
tniezg
c3bd932d69 Change the default Spree port to 4000 and update README in sync with Spree Starter changes 2021-08-24 15:29:44 +02:00
tniezg
57c176d9d7 Sort products by available_on when using the Trending sorting in useSearch 2021-08-24 15:10:10 +02:00
Tomek Niezgoda
0540258522
Order providers alphanumerically
Co-authored-by: Damian Legawiec <damian@sparksolutions.co>
2021-08-23 14:41:07 +02:00
tniezg
df7e3791e2 Upgrade Spree SDK to 4.7.0 and add node-fetch to dependencies 2021-08-20 16:13:47 +02:00
tniezg
f16b6b8188 Expand README's installation section 2021-08-20 14:18:14 +02:00
tniezg
4a007cab93 Add basic README describing Spree installation 2021-08-20 14:02:18 +02:00
tniezg
464c8cae7c Revert port change in package.json scripts 2021-08-20 13:41:07 +02:00
tniezg
eba8c28cc5 Add types to Spree taxons mapping 2021-08-20 13:36:22 +02:00
tniezg
3d2ee58c4d Adjust fetchers to the latest Spree SDK interface 2021-08-20 13:36:22 +02:00
tniezg
a191e28df7 Implement getAllProductPaths to prerender some products during build time 2021-08-20 13:36:22 +02:00
tniezg
ed49ac8833 Remove 'spree' prefix from isomorphicConfig and add lastUpdatedProductsPrerenderCount 2021-08-20 13:36:22 +02:00
tniezg
7d5a63bbf4 Update comments about cart discounts 2021-08-20 13:36:22 +02:00
tniezg
8f95d76dcd Remove outdated comment 2021-08-20 13:36:22 +02:00
tniezg
c9323443ce Type Spree variants and line items and temporarily remove height, width and depth 2021-08-20 13:36:22 +02:00
tniezg
bf4adbdd2c Resolve isColorProductOption duplication 2021-08-20 13:36:22 +02:00
tniezg
01c702a87e Remove outdated comment 2021-08-20 13:36:22 +02:00
tniezg
718493a6f8 Remove outdated comments 2021-08-20 13:36:22 +02:00
tniezg
c150a79a6b Use kebab case instead of camel case 2021-08-20 13:36:22 +02:00
tniezg
17f8d497b8 Show placeholder message for /chechout and adjust api fetcher type 2021-08-20 13:36:22 +02:00
tniezg
3b3a181dac Update Spree SDK fetcher 2021-08-20 13:36:22 +02:00
tniezg
30c29f0da8 Use fetch and Request from node-fetch in Spree SDK 2021-08-20 13:36:22 +02:00
tniezg
b38d15e1ee Add __typename to variant options to allow adding the selected variant to the cart 2021-08-20 13:36:18 +02:00
tniezg
28ee2eb064 Allow updating line item quantity 2021-08-20 13:36:04 +02:00
tniezg
6ef9f4da89 Allow removing line items 2021-08-20 13:36:04 +02:00
tniezg
a27996a088 Enable text search for the Spree Framework 2021-08-20 13:36:01 +02:00
tniezg
744a8b998e Add configuration to show product options when there's one variant available 2021-08-20 13:35:42 +02:00
tniezg
2c4e2e4cb4 Sort Categories and Brands 2021-08-20 13:34:57 +02:00
tniezg
cc0da75a60 Fix hasNonMasterVariants 2021-08-20 13:34:57 +02:00
tniezg
cfa72b080e Fix option values collection 2021-08-20 13:34:57 +02:00
tniezg
c173b47ac9 Search products by name 2021-08-20 13:34:57 +02:00
tniezg
a86bcd1d98 Sort PLP 2021-08-20 13:34:57 +02:00
tniezg
2209731d72 Fetch Spree Categories and Brands 2021-08-20 13:34:57 +02:00
tniezg
c546d26bbe PLP with searching by category 2021-08-20 13:34:57 +02:00
tniezg
a7a75e7f69 Fetch single product during build time 2021-08-20 13:34:57 +02:00
tniezg
24e635b048 Include slug and path in products 2021-08-20 13:34:57 +02:00
tniezg
14e7a4fe08 Fetch product images, standardize API fetch using Spree SDK 2021-08-20 13:34:51 +02:00
tniezg
c90fa7abf2 Add Spree as allowed Framework 2021-08-20 13:34:14 +02:00
tniezg
a3ef27f5e7 Add basic Spree framework structure 2021-08-20 13:33:06 +02:00
tniezg
dd6ad7556e Include @spree/storefront-api-v2-sdk 2021-07-23 11:21:54 +02:00
George FitzGibbons
166bb037e4
Handle checkout for logged in users (#405)
* create a jwt token if there is a customerId, move the get customer id to the main utils folder.  Need to add in more value to the env file.  Updated the env sample.

* remove yarn.lock and tsconfig.json

* remove build settings

* remove build settings

* remove build settings

* Update tsconfig.json

* Delete package-lock.json

* fix typescript errors

* Update tsconfig.json

Co-authored-by: George Fitzgibbons <george.fitzgibbons@c02zw1aqlvdn.lan>
2021-07-01 13:21:01 -03:00
B
a314893f62
Bump API Version (#399)
* Bump API Version

* changes
2021-06-29 13:46:29 -03:00
Luis Alvarez D
08813be880
Remove tsconfig.js and add back yarn.lock (#390)
* Removed tsconfig.js

* Added back yarn.lock
2021-06-23 15:06:24 -03:00
B
cb6d70570d
New Feature Updates, more coverage. (#385)
* Shouldn't be there.

* Removing

* Removing old libraries

* Updating

* Feature Changes and updates

* Update README.md
2021-06-22 17:19:07 -03:00
Tobias Koppers
1a50be125a
build performance improvements (#384)
* performance improvements

* enable incremental typechecking

* upgrade dependencies

* remove unused dependencies
2021-06-22 16:37:44 -03:00