274 Commits

Author SHA1 Message Date
tniezg
2f9e90ed32 Search taxonomies by permalinks instead of IDs 2021-08-26 15:50:52 +02:00
tniezg
0ad4361369 Merge remote-tracking branch 'origin-vercel/main' into spree-framework-poc 2021-08-25 16:07:54 +02:00
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
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
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
ryanford
e8b577b83f
optionsSelections takes an array of options objs (#364)
* optionsSelections takes an array of options objs

* use options array to match API expectations

Co-authored-by: Ryan Ford <ryanford@users.noreply.github.com>
2021-08-01 17:46:36 -05:00
ikoruk
1375d88171
add default values to fix case where there are no values for product option (like text input) (#255)
Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-07-30 19:13:23 -05:00
thegoodcode
34d0a0b978
Fix login error messages (#283) 2021-07-29 23:50:55 -05:00
Michael Bromley
ff715c4ccb
Add note in Vendure readme on correct server config for sessions (#417) 2021-07-28 19:32:42 -05:00
Jakub Neander
4b164d20a3
provide more details for Saleor in its README (#419) 2021-07-28 19:31:35 -05:00
MitchStarkTekton
177914186e
convert category to number before checking for int (#422) 2021-07-28 19:30:55 -05:00