29 Commits

Author SHA1 Message Date
Chloe
c92eac49ec
Fix build failed for all providers (#9)
* Update type for cart data

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>

* Fix build fails for all providers

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-31 12:19:33 +07:00
Chloe
a84e526386 Fix typing error
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-19 19:17:21 +07:00
Chloe
cd145b05eb Fix failed build for local package
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-19 11:01:49 +07:00
Chloe
67b2629905 Fix build failed on local package
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-19 10:37:24 +07:00
Chloe
499b33d91a Update new commerce provider info
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-18 17:49:40 +07:00
Chloe
630b4ba486 Polish checkout view
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-17 17:09:08 +07:00
Chloe
80f2b72ef8 Use example payment method plugin for demo site
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-16 16:06:01 +07:00
Chloe
0f199bba0e Remove console.log
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-15 19:56:27 +07:00
Chloe
8d19c79054 Custom Navigation
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-15 19:33:54 +07:00
Chloe
50109be01f Add default value for checkout fields
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-11 16:41:19 +07:00
Chloe
94a145b604 Add custome checkout function
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-08 13:04:25 +07:00
Chloe
1090294ec1 Fix typescript issue
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-03 15:27:44 +07:00
Chloe
4c4f49c676 Update add multiple variant items logic
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-05-03 13:49:35 +07:00
Chloe
dd3efaa301 Fix undefined _id
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-29 17:51:32 +07:00
Chloe
2a32beb5cd Fix typescript errors & normalize cart
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-28 19:09:35 +07:00
Chloe
999dae22d5 Remove console log
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-26 16:45:06 +07:00
Chloe
2401a42b63 Add use-search hooks
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-26 16:45:06 +07:00
Chloe
0a46c31d09 Add opencommerce dependencies
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-26 16:45:06 +07:00
Dom Sip
b9e5f90604 SFCC provider (#727)
* new SFCC provider

* add search

* normalization + search

* categories as search results

* adress PR feedback

* Update README.md

* get all paths for SSG

* product variants and options

* Apply suggestions from code review

Co-authored-by: Luis Alvarez D. <luis@vercel.com>

* remove console log

* prettier

* clean console log

* ran prettier

* Updated readme

* remove static data and revert config changes

* set default site

Co-authored-by: Luis Alvarez D. <luis@vercel.com>
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-26 16:45:06 +07:00
Chloe
ce31d86352 Finish get-all-products operators
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-26 16:45:05 +07:00
Chloe
2701b30756 Modify env template
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-26 16:45:05 +07:00
Bel
c907358cc7 Bug Fix Round and Updates (#719)
* Kibo missing dependency
* return 404 for invalid page
* fix and simplify types for pages

Co-authored-by: Dominik Sipowicz <dom@vercel.com>
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2022-04-26 16:45:05 +07:00
Luis Orbaiceta
38df404ab5
Prevent click-outside from losing children refs (#626)
fix(site): prevent click-outside to close children ref
* feat: Add forwardRef for compatibility
* fix(site): remove asChild for dropdown Fragment

Co-authored-by: Dom Sip <dom@vercel.com>
2022-03-16 13:55:41 +00:00
Bel
172deeee86
Fixes & Updates (#704)
* Adding Dropdown Component

* Styling Issues

* Wishlist Fix

* Fixes for Wishlist View

* Hearts now work again

* Rollback ts

* Removing extra config to disable BigCommerce

* Fixes for Wishlist View

* Remove transition/animation for mobile

* New Updates.

* New Updates.

* Dropdown fix

* Polish

* export

* export

* revert tsconfig

Co-authored-by: Luis Alvarez D. <luis@vercel.com>

Co-authored-by: Dom Sip <dom@vercel.com>
Co-authored-by: Luis Alvarez D. <luis@vercel.com>
2022-03-16 12:05:58 +01:00
Luis Alvarez D
9a45329ad2
Disabled wishlist and user login in bigcommerce (#703) 2022-03-08 00:34:59 +00:00
B
5af4004b57
Bug: Visual Regressions (#699)
* ProductTag offset

* ProductTag offset
2022-03-02 13:59:13 +01:00
Dom Sip
db170558d5
feat: replace next-seo with custom solution (#660)
* replace next-seo with custom solution

* Updated check

Co-authored-by: LFades <luis@vercel.com>
2022-02-18 04:26:31 -05:00
Dom Sip
c11b1ca868
refactor: SOL-122: replace classnames with clsx (#656)
refactor: SOL-122: replace classnames with clsx
2022-02-08 11:53:32 -05:00
Luis Alvarez D
0afe686fe9
Monorepo with Turborepo (#651)
* Moved everything

* Figuring out how to make imports work

* Updated exports

* Added missing exports

* Added @vercel/commerce-local to `site`

* Updated commerce config

* Updated exports and commerce config

* Updated commerce hoc

* Fixed exports in local

* Added publish config

* Updated imports in site

* It's actually working

* Don't use debugger in dev for better speeds

* Improved DX when editing packages

* Set up eslint with husky

* Updated prettier config

* Added prettier setup to every package

* Moved bigcommerce

* Moved Bigcommerce to src and package updates

* Updated setup of bigcommerce

* Moved definitions script

* Moved commercejs

* Move to src

* Fixed types in commercejs

* Moved kibocommerce

* Moved kibocommerce to src

* Added package/tsconfig to kibocommerce

* Fixed imports and other things

* Moved ordercloud

* Moved ordercloud to src

* Fixed imports

* Added missing prettier files

* Moved Saleor

* Moved Saleor to src

* Fixed imports

* Replaced all imports to @commerce

* Added prettierignore/rc to all providers

* Moved shopify to src

* Build shopify in packages

* Moved Spree

* Moved spree to src

* Updated spree

* Moved swell

* Moved swell to src

* Fixed type imports in swell

* Moved Vendure to packages

* Moved vendure to src

* Fixed imports in vendure

* Added codegen to saleor

* Updated codegen setup for shopify

* Added codegen to vendure

* Added codegen to kibocommerce

* Added all packages to site's deps

* Updated codegen setup in bigcommerce

* Minor fixes

* Updated providers' names in site

* Updated packages based on Bel's changes

* Updated turbo to latest

* Fixed ts complains

* Set npm engine in root

* New lockfile install

* remove engines

* Regen lockfile

* Switched from npm to yarn

* Updated typesVersions in all packages

* Moved dep

* Updated SWR to the just released 1.2.0

* Removed "isolatedModules" from packages

* Updated list of providers and default

* Updated swell declaration

* Removed next import from kibocommerce

* Added COMMERCE_PROVIDER log

* Added another log

* Updated turbo config

* Updated docs

* Removed test logs

Co-authored-by: Jared Palmer <jared@jaredpalmer.com>
2022-02-01 14:14:05 -05:00