1259 Commits

Author SHA1 Message Date
GunaTrika
737612656f Adding checkout files 2021-10-06 17:28:19 +05:30
GunaTrika
cad3ad7756 Fixing build error 2021-10-06 12:04:21 +05:30
GunaTrika
0c864627bd Adding pre commit hook 2021-10-06 11:57:57 +05:30
GunaTrika
8d82591f29 resolve conflicts 2021-10-06 11:57:08 +05:30
GunaTrika
19300cbafc Merge branch 'main' of https://github.com/vercel/commerce into elasticpath-master 2021-10-06 11:50:01 +05:30
Gonzalo Pozzo
3f0c38461b
Add ordercloud provider (#500)
* 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
GunaTrika
c5f25906a3 Fixing image url attempt #6 2021-09-28 18:24:43 +05:30
GunaTrika
e78c3027f7 Fixing image url attempt #5 2021-09-28 17:54:28 +05:30
GunaTrika
f8e3dfe766 Fixing image url attempt #4 2021-09-28 17:20:36 +05:30
GunaTrika
2ca44ffc90 Fixing image url attempt #3 2021-09-28 12:50:39 +05:30
GunaTrika
b628699f3a Fixing image url attempt #2 2021-09-28 12:34:20 +05:30
GunaTrika
87277265bd Adding sharp for image loader 2021-09-28 11:55:50 +05:30
GunaTrika
1a99a119c9 Fixing type error 2021-09-28 10:41:12 +05:30
GunaTrika
b5051f50e4 Login & Token
- Changed the loging fetch
 - Store the token and user id in cookie
 - Ue the cookie to make user calls like get user
2021-09-28 10:32:22 +05:30
GunaTrika
e5a36389f9 Get products formating
- Checking related products with param
 - Changing the normalizer
 - Separate calls for product & products in normalizer
2021-09-28 10:30:55 +05:30
GunaTrika
ef2bd1fdcb Use moltin sdk in fetcher 2021-09-28 10:28:21 +05:30
GunaTrika
f6e59f412e Dockerizing the app 2021-09-28 10:25:25 +05:30
GunaTrika
9ceaf26ce0 Enabling account menu 2021-09-28 10:25:02 +05:30
cond0r
f9644fecef
Shopify: create checkout on add to cart (#432)
* 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 (#502)
* 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 #330 (#482) 2021-09-23 17:32:17 -05:00
Emrah
381cefae0e
fix: Remove the duplicate description field (#449) 2021-09-23 15:27:46 -05:00
pfcodes
b1ede29576
Update get-customer-wishlist.ts (#443)
Closes #442
2021-09-23 14:45:57 -05:00
Zac A
66548c887c
Fix Typo - 'starter' to 'started' (#434)
Fix for Issue #402

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-09-23 15:56:26 -03:00
Pedro Vinícius
4b58f6365a
Update ProductView.tsx (#433)
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 (#458) 2021-09-22 21:28:14 -05:00
pfcodes
27182cce67
Update normalize.ts (#469)
add support for cart digital line items
2021-09-22 21:09:56 -05:00
Eduardo Fortuna
08f9cc5362
Update version api shopify (#495) 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 (#383)
* 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 (#391)
* 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 (#487)
* 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
GunaTrika
9d83146aff Cart Implementation
- Add to cart
 - Update cart
 - Delete cart
 - Remove cart item
 - Cart and cart item normalization
2021-09-17 15:16:40 +05:30
GunaTrika
d785f3c0ef New epcc client
- Extended motlin sdk and corrected pcm ur
 - Using new client for below sections
   - Get all products
   - Get product
   - Get all products path
   - Login & Signup
   - Customers
 - Changing product normalizer for pcm products
2021-09-17 15:14:38 +05:30
Federico Joel Orlandau
61d075daf1
Improve a11y on the cart and sidebar (#411)
* 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 (#459)
* 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 (#250)
* Update README.md

* Updated commerce readme

Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-08-28 00:11:53 -05:00
vijayakumarv-trika
60f3c68e7e
Product detail (#5)
* remove unused imports and localhost added as a local domain

* Logo, Favicon and copyrights changed

* Logo, Favicon and copyrights changed

* Product Details page
2021-08-12 18:28:31 +05:30
vijayakumarv-trika
66d8737fe6
Logo, Favicon and copyrights changed (#3)
* remove unused imports and localhost added as a local domain

* Logo, Favicon and copyrights changed

* Logo, Favicon and copyrights changed
2021-08-12 17:35:15 +05:30
Gunasekaran R
7bfc5c8873
Merge pull request #4 from trikatechnologies/SignUp
Sign up enabled
2021-08-05 16:15:04 +05:30
vijayakumarv-trika
045f6bcc75 Code changes 2021-08-05 16:12:04 +05:30
vijayakumarv-trika
d58ba8029b Merge branch 'elasticpath-master' of https://github.com/trikatechnologies/ckube-store into SignUp 2021-08-05 14:31:38 +05:30
vijayakumarv-trika
903641323a SignUp enabled 2021-08-05 14:31:30 +05:30
vijayakumarv-trika
9518af0999
Merge pull request #2 from trikatechnologies/ProductsIntigration
Products integration
2021-08-03 12:20:23 +05:30
vijayakumarv-trika
fade459a75 Products intigrated with normalize method 2021-08-03 12:15:28 +05:30
Luis Alvarez D
0e7e7b7d5f
Add Next.js ESLint (#425)
* 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 (#194) 2021-08-02 12:42:14 -05: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
Gandharv
44ce537b57
remove spread operator from <Link> component (#263)
* 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 (#283) 2021-07-29 23:50:55 -05:00