4
0
forked from crowetic/commerce

1295 Commits

Author SHA1 Message Date
Jeremy Grancher
a01568bc3a
Added two extensions to VSCode's extensions.json ()
Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-25 09:22:34 -03:00
Gonzalo Pozzo
73470c9232
Run prettier fix on all files () 2021-11-25 09:17:13 -03:00
Gonzalo Pozzo
96e990268d
Add aria attributes () 2021-11-24 14:29:55 -03:00
Luis Orbaiceta
c8787865b3
Fix dynamically import Modal component ()
* fix: dynamically import Modal component

fixes error "document is not defined" if the user decides to display a modal at the beginning (for ads, promotions, etc...)

* fix: remove spread operator

* remove top level modal import

* fix import path for Modal

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-24 11:00:33 -03:00
Gonzalo Pozzo
683d309905
Fix bigcommerce build () 2021-11-24 10:30:38 -03:00
Tomek Niezgoda
e7fc93f9c7
Make wishlist's useRemoveItem call in WishlistCard consistent with WishlistButton () 2021-11-24 09:15:22 -03:00
Florian Cargouet
d4d22a3ce7
Replace button custom checkout enabled on /cart ()
Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-23 16:48:41 -03:00
Florian Cargouet
94c2d2d6d4
Add back options ()
Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-23 16:11:33 -03:00
Shaokun-X
179c10a53f
Wrap mobile search bar in env condition ()
Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-23 16:05:41 -03:00
Konrad Kruk
5e529dca96
fix typo ()
Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-19 15:42:54 -03:00
pfcodes
96a0900be4
Update add-item.ts ()
* Update add-item.ts

include digital items

* Update add-item.ts

include digital items

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-19 13:01:51 -03:00
pfcodes
3afe367c41
Update normalize.ts ()
add missing options property to `normalizeLineItem`

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-19 13:01:31 -03:00
pfcodes
d1e730d0b9
Update get-cart.ts ()
include digital items

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-11-19 12:59:23 -03:00
Grey
0cfbe42d86
Fix variable name ()
Variable name should be `ChevronRight`
2021-11-18 11:58:30 -03:00
Luis Alvarez D
582e9257d9
Update Next.js to 12 and switch to npm ()
* Update Commerce to Next.js 12

* Switch to npm

* Removed yarn

* Updated fetch type

* Fixed issue with BC deployment
2021-11-09 10:12:00 -06:00
Gonzalo Pozzo
e3471db3eb
Update ordercloud types () 2021-10-15 14:29:04 -03:00
Oliver Heywood
55b917489d
Add product list page to OrderCloud provider ()
* product list page and search working

* categories working

* clean things up like console.log

* undo these

* don't need sort stuff. update comment

* turns out the if statements here are necesary

* very incomplete progress on sign-in

* Revert "very incomplete progress on sign-in"

This reverts commit a8dd2af268f9c617ba17abf4b3cc7e5de10f8449.
2021-10-15 14:14:35 -03:00
Gonzalo Pozzo
d193708184
ordercloud env update 2021-10-06 16:43:02 -03:00
Gonzalo Pozzo
04d3927d0b
Update README.md 2021-10-06 16:41:00 -03:00
Gonzalo Pozzo
3f0c38461b
Add ordercloud provider ()
* Add ordercloud provider

* Fix provider errors

* Make submit checkout optional

* Make submit checkout optional

* Remove nullables when creating endpoint type

* Update readme

* Log checkout error

* Log error

* Save token to cookie

* Update fetch rest

* Use token at checkout

Co-authored-by: Luis Alvarez <luis@vercel.com>
2021-10-05 09:49:01 -03:00
cond0r
f9644fecef
Shopify: create checkout on add to cart ()
* Create checkout on add to cart

* Checkout changes

* Revert files

* Fix checkout
2021-09-24 16:55:46 -03:00
Gonzalo Pozzo
8e7b942240
Fix redirect checkout ()
* Fix redirect checkout

* Don't use checkout for saleor
2021-09-24 11:42:09 -05:00
Vinicius Zucatti
c440ff06d4
Fix next/link should be used with anchor as children () 2021-09-23 17:32:17 -05:00
Emrah
381cefae0e
fix: Remove the duplicate description field () 2021-09-23 15:27:46 -05:00
pfcodes
b1ede29576
Update get-customer-wishlist.ts ()
Closes 
2021-09-23 14:45:57 -05:00
Zac A
66548c887c
Fix Typo - 'starter' to 'started' ()
Fix for Issue 

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-09-23 15:56:26 -03:00
Pedro Vinícius
4b58f6365a
Update ProductView.tsx ()
When you navigate to other product page, the options selected by default don't change and the options from the last product navigated are used. Adding a key to "ProductSideBar" component, makes it refresh default options and refresh actual product selected options when i navigate for many products.
2021-09-23 14:44:32 -03:00
Emrah
e991b54b0e
Add loading state () 2021-09-22 21:28:14 -05:00
pfcodes
27182cce67
Update normalize.ts ()
add support for cart digital line items
2021-09-22 21:09:56 -05:00
Eduardo Fortuna
08f9cc5362
Update version api shopify () 2021-09-22 20:54:17 -05:00
Leah Wagner
fd10eba10d
Add title to page and add styling for base typography elements for Text component ()
* Add title to page and add styling for base typography elements for Text component

* Remove additional title

Co-authored-by: B <curciobelen@gmail.com>
Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-09-22 20:40:20 -05:00
gkielwasser
a59a41edab
Vendure - Fetcher - Globally throw errors ()
* Vendure - Fetcher - Globally throw errors

Globally throw errors from the Vendure fetcher when we detect errors in the response body

* Remove unnecessary new function

* Remove unnecessary import

Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-09-22 19:37:39 -05:00
Gonzalo Pozzo
1720bd698c
Implement custom checkout ()
* Implement custom checkout core

* Fix elements on core

* Add files to providers

* Adapt providers

* Update types

* Update shopify file

* Format files
2021-09-22 19:20:58 -05:00
Federico Joel Orlandau
61d075daf1
Improve a11y on the cart and sidebar ()
* Improve a11y on the cart

* Fix button style

* Remove extra space

* Move cart item count to the right position

Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-09-07 14:14:28 -05:00
Luis Alvarez D
a94f049f0a
Remove unused provider config ()
* Updated core types for commerce provider

* Updated bigcommerce provider

* Added util method for provider creation

* Removed unrequired code from saleor

* Updated shopify provider

* Updated providers and local setup

* Updated saleor setup

* Updated swell

* Updated vendure

* Updated swell-js usage

* Removed unrequired import from saleor
2021-08-30 22:32:20 -05:00
Isiko Saidiali
24dd291be2
Update README.md to include information on how to add a custom provider ()
* Update README.md

* Updated commerce readme

Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-08-28 00:11:53 -05:00
Luis Alvarez D
0e7e7b7d5f
Add Next.js ESLint ()
* Added Next.js eslint

* added eslint to lint-staged

* Added eslint config for prettier

* Fixed eslint issues in multiple files

* Fixed error in linter
2021-08-02 21:54:58 -05:00
Guillermo Angulo
0603b342be
Update SORT object to access from filter button on mobile () 2021-08-02 12:42:14 -05:00
ryanford
e8b577b83f
optionsSelections takes an array of options objs ()
* 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) ()
Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-07-30 19:13:23 -05:00
Gandharv
44ce537b57
remove spread operator from <Link> component ()
* remove spread operator from <Link> component

* Remove props destructuring

Co-authored-by: Luis Alvarez <luis@vercel.com>
2021-07-29 23:57:02 -05:00
thegoodcode
34d0a0b978
Fix login error messages () 2021-07-29 23:50:55 -05:00
Gandharv
07dbeb4194
fix login button staying disabled ()
When an error occurs the login button stays disabled,
2021-07-29 23:47:45 -05:00
pfcodes
fe6c0d8ed5
Update README.md ()
grammer fix
2021-07-29 18:10:39 -05:00
Heba Elmasry
5abae15ead
add vendure config in .env.template ()
* edited the local template and the readme files to add vendure configrations

* Update README.md

Co-authored-by: heba <hebaayman77177>
Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-07-29 17:48:43 -05:00
Vinicius Zucatti
b40f632908
Fix unexpected uppercase () 2021-07-29 17:43:04 -05:00
Michael Bromley
ff715c4ccb
Add note in Vendure readme on correct server config for sessions () 2021-07-28 19:32:42 -05:00
Jakub Neander
4b164d20a3
provide more details for Saleor in its README () 2021-07-28 19:31:35 -05:00
MitchStarkTekton
177914186e
convert category to number before checking for int () 2021-07-28 19:30:55 -05:00
Jakub Neander
50c4f558db
specify the minimal required Saleor version () 2021-07-22 12:29:24 -03:00