1234 Commits

Author SHA1 Message Date
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
B
559451f958
Update README.md 2021-06-16 13:09:51 -03:00
B
7c67b6f81c
Update README.md 2021-06-15 21:22:01 -03:00
B
78cc378a72
New Release (#371)
* Custom Checkout Progress

* Updates to Checkout

* Custom Checkout Progress

* Adding tabs

* Adding Collapse

* Adding Collapse

* Improving Sidebar Scroll

* Modif footer

* Changes

* More design updates

* sidebar cart

* More design updates

* More design updates

* More design updates

* More design updates

* Types

* Types

* Design Updates

* More changes

* More changes

* More changes

* Changes

* Changes

* Changes

* New tailwind required changes

* Sidebar Styling issues with Mobile

* Latest changes - Normalizing cart

* Styling Fixes

* New changes

* Changes

* latest

* Refactor and Renaming some UI Props

* Adding Quantity Component

* Adding Rating Component

* Rating Component

* More updates

* User Select disabled, plus hidding horizontal scroll bars

* Changes

* Adding ProductOptions Component and more helpers

* Styling updates

* Styling updates

* Fix for slim tags

* Missmatch with RightArrow

* Footer updates and some styles

* Latest Updates

* Latest Updates

* Latest Updates

* Removing Portal, since it's not needed. We might add it later I'd rather not to.

* Removing Portal, since it's not needed. We might add it later I'd rather not to.

* Sam backdrop filter

* General UI Improvements

* General UI Improvements

* Search now with Geist Colors

* Now with Geist Colors

* Changes

* Scroll for Mobile on IOs devises

* LoadingDots Working (:

* Changes

* More Changes

* Perf changes

* More perf changes

* Fade to the Nametags in the ProductCard

* changes

* Search issue ui

* Search issue ui

* Make sure to only refresh navbar and modals when required

* Index revalidate

* Fixed image issue

* hide album scroll on windows

* Fix scrollbar

* Changing

* Adding 404 with Layout

* Removing Toast

* Adding Assets

* Adding Assets

* Progress with LocalProvider

* New productTag

* Only images for the drop

* changes

* Empty SWRhooks

* Adding Local Provider

* Working local

* Working view of a LocalProvider

* More updates

* Changes

* Removed react-ticker

* default to local if no env available

* default to local if no env available

* add missing `@` to css import

* rewrite search rewrites to multiple pages

* allow requests in getStaticProps to execute in parallel

* make type import explicit

* add a tsconfig.js file

* use local provider in tsconfig.js

* avoid a circular dependency

* Saleor was not in the providers list

* avoid circular dependency in bigcommerce

* Adding more to the Local Provider (#366)

* Adding more data

* Adding more data

* optimize assets (#370)

* Optimize assets (#372)

* optimize assets

* remove assets

* remove assets

* cart enabled

* Adding saleor

* Changes with Webpack

* Changes

Co-authored-by: Luis Alvarez <luis@vercel.com>
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Co-authored-by: Shu Ding <g@shud.in>
2021-06-15 20:23:17 -03:00
Mirek Mencel
3c9b90f453
Fix Saleor's Demo link #2 (#363) 2021-06-14 19:19:38 -03:00
Mirek Mencel
b9cb71be6a
Fix Saleor's Demo link (#362) 2021-06-14 19:09:33 -03:00
ghoskin
4d85b43a30
Update Swell Provider (#359)
* fix update cart item

* update types

* update checkout

* update get-page, cleanup types

* revert change to incorrect file

* cleanup

Co-authored-by: Greg Hoskin <greghoskin@Gregs-MacBook-Pro.local>
2021-06-14 17:37:18 -03:00