1234 Commits

Author SHA1 Message Date
Joel Varty
3c03de30eb
Updated product search url
Set it up to to work for the current instance, no matter where the custom field script is located.
2021-10-15 14:06:14 -04:00
Joel Varty
a9cf5d8c03
Update custom-fields.js
fixed url for product lookup - still need to dynamically pull this from the current instance...
2021-10-14 12:48:20 -04:00
Joel Varty
6140c50196
Update custom-fields.js 2021-10-14 11:57:33 -04:00
Joel Varty
79dad4cadc
Update search-products.ts
fix to lookup - only selects 50
2021-10-14 11:53:18 -04:00
azure_pipelines
033c844db2 fix for build errors 2021-08-19 12:56:38 -04:00
Joel Varty
bed8a340d1 updated custom field 2021-06-23 12:30:26 -04:00
Joel Varty
04295078ba updated the env template 2021-06-23 11:43:46 -04:00
Joel Varty
e1e0a16b44 updated github link 2021-06-23 10:27:20 -04:00
Joel Varty
6821b0e00b fix 2021-06-23 10:25:05 -04:00
Joel Varty
00922a8c7d preview bar 2021-06-23 10:21:22 -04:00
Joel Varty
4929032e5f fixed search 2021-06-23 10:02:13 -04:00
Joel Varty
089240afa2 prod search tweak 2021-06-23 09:41:20 -04:00
Joel Varty
c3adb7e4cd added featured prod 2021-06-23 09:34:21 -04:00
Joel Varty
12eaab6f4a repo update 2021-06-22 17:16:05 -04:00
Joel Varty
e886a0ae7c readme 2021-06-22 17:14:51 -04:00
Joel Varty
00227d8bf0 fix to category search 2021-06-22 17:12:31 -04:00
Joel Varty
3114388069 Merge branch 'main' of https://github.com/joelvarty/nextsj-bigcommerce-agilitycms 2021-06-22 13:21:58 -04:00
Joel Varty
ea74512640 added agility stuff to the env template 2021-06-22 13:21:55 -04:00
Joel Varty
fe7ce2e9a4
Update README.md 2021-06-22 12:01:42 -04:00
Joel Varty
36ce851ec9 fixed sitemap call 2021-06-21 16:30:04 -04:00
Joel Varty
4c21c718d3 added rest api 2021-06-21 16:14:00 -04:00
Joel Varty
863c2c5b6e updates 2021-06-21 16:08:29 -04:00
Joel Varty
206d221f34 updates 2021-06-21 15:55:31 -04:00
Joel Varty
7cc26439f4 readme 2021-06-18 14:28:05 -04:00
Joel Varty
c87c190ab6 tweaks 2021-06-18 14:19:00 -04:00
Joel Varty
ae5e1f3437 update to url 2021-06-18 14:07:06 -04:00
Joel Varty
3be3c4ffab more tweaks 2021-06-18 13:59:22 -04:00
Joel Varty
d5dcb35902 tweak main 2021-06-18 13:51:49 -04:00
Joel Varty
2b41e48d3e
Merge pull request #2 from joelvarty/vercel-main
Vercel main
2021-06-18 13:45:06 -04:00
Joel Varty
a88b52b00a bug fixes 2021-06-18 13:31:02 -04:00
Joel Varty
52f2cccc11 api and hero 2021-06-18 13:08:59 -04:00
Joel Varty
2e83467ad6 search 2021-06-18 12:16:55 -04:00
Joel Varty
d9fe7d8e6b merged 2021-06-17 17:37:32 -04:00
Joel Varty
d48aec2c2d Merge branch 'main' of https://github.com/vercel/commerce into vercel-main 2021-06-17 15:54:12 -04:00
Joel Varty
5c9e075d07 added search 2021-06-17 15:33:02 -04:00
Joel Varty
b2d078a37f fixes 2021-06-17 15:25:22 -04: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
Luis Alvarez
ddd4631ade Exclude prop 2021-06-10 01:52:09 -05:00
Jakub Neander
3b2bf654fe
Updated Saleor Provider (#356)
* Initial work, copied from the Shopify provider

* Added basis setup and type generation for the products queries

* refactor: adjust the types

* task: relax the Node.js constraint

* fix: page/product properties

* disable unknown fields

* mention Saleor in the README

* setup debugging for Next.js

* Check nextjs-commerce bug if no images are added for a product

* fix: client/server pecularities for env visibility

Must prefix with `NEXT_PUBLIC_` so that the API URL is
visible on the client

* re: make search work with Saleor API (WIP)

* task: update deps

* task: move to Webpack 5.x

* saleor: initial cart integration

* update deps

* saleor: shall the cart appear!

* task: remove deprecated packages

* saleor: adding/removing from the cart

* saleor: preliminary signup process

* saleor: fix the prices in the cart

* update deps

* update deps

* Added the options for a variant to the product page

* Mapped options to variants

* Mapped options to variants

* saleor: refine the auth process

* saleor: remove unused code

* saleor: handle customer find via refresh

temporary solution

* saleor: update deps

* saleor: fix the session handling

* saleor: fix the variants

* saleor: simplify the naming for GraphQL statements

* saleor: fix the type for collection

* saleor: arrange the error codes

* saleor: integrate collections

* saleor: fix product sorting

* saleor: set cookie location

* saleor: update the schema

* saleor: attach checkout to customer

* saleor: fix the checkout flow

* saleor: unify GraphQL naming approach

* task: update deps

* Add the env variables for saleor to the template

* task: prettier

* saleor: stub API for build/typescript compilation

thanks @cond0r

* task: temporarily disable for the `build`

* saleor: refactor GraphQL queries

* saleor: adjust the config

* task: update dependencies

* revert: Next.js to `10.0.9`

* saleor: fix the checkout fetch query

* task: update dependencies

* saleor: adapt for displaying featured products

* saleor: update the provider structure

* saleor: make the home page representable

* feature/cart: display the variant name (cond)

Co-authored-by: Patryk Zawadzki <patrys@room-303.com>
Co-authored-by: royderks <10717410+royderks@users.noreply.github.com>
2021-06-10 01:46:28 -05:00
Joel Varty
e836a5950f update to agility/next 2021-06-09 23:17:19 -04:00
Bel Curcio
685fb932db Adding revalidate to search - categories change too 2021-06-09 09:39:32 -03:00
cond0r
2d0c6e0c8a
Add blocking fallback to pages (#357)
* Update [...pages].tsx

* Fix provider config overwrite

* Shopify changes
2021-06-07 17:12:20 -03:00
Michael Bromley
0e804d09f9
Update Vendure provider to latest API changes (#352)
Relates to #349
2021-06-02 11:46:38 -03:00
Luis Alvarez D
a98c95d447
[WIP] Node.js provider for the API (#252)
* Adding multiple initial files

* Updated the default cart endpoint

* Fixes

* Updated CommerceAPI class for better usage

* Adding more migration changes

* Taking multiple steps into better API types

* Adding more experimental types

* Removed many testing types

* Adding types, fixes and other updates

* Updated commerce types

* Updated types for hooks now using the API

* Updated mutation types

* Simplified cart types for the provider

* Updated cart hooks

* Remove normalizers from the hooks

* Updated cart endpoint

* Removed cart handlers

* bug fixes

* Improve quantity input behavior in cart item

* Removed endpoints folder

* Making progress on api operations

* Moved method

* Moved types

* Changed the way ops are created

* Added customer endpoint

* Login endpoint

* Added logout endpoint

* Add missing logout files

* Added signup endpoint

* Removed customers old endpoints

* Moved endpoints to nested folder

* Removed old customer endpoint builders

* Updated login operation

* Updated login operation

* Added getAllPages operation

* Renamed endpoint operations to handlers

* Changed import

* Renamed operations to handlers in usage

* Moved getAllPages everywhere

* Moved getPage

* Updated getPage usage

* Moved getSiteInfo

* Added def types for product

* Updated type

* moved products catalog endpoint

* removed old catalog endpoint

* Moved wishlist

* Removed commerce.endpoint

* Replaced references to commerce.endpoint

* Updated catalog products

* Moved checkout api

* Added the get customer wishlist operation

* Removed old wishlist stuff

* Added getAllProductPaths operation

* updated reference to operation

* Moved getAllProducts

* Updated getProduct operation

* Removed old getConfig and references

* Removed is-allowed-method from BC

* Updated types for auth hooks

* Updated useCustomer and core types

* Updated useData and util hooks

* Updated useSearch hook

* Updated types for useWishlist

* Added index for types

* Fixes

* Updated urls to the API

* Renamed fetchInput to fetcherInput

* Updated fetch type

* Fixes in search hook

* Updated Shopify Provider Structure (#340)

* Add codegen, update fragments & schemas

* Update checkout-create.ts

* Update checkout-create.ts

* Update README.md

* Update product mutations & queries

* Uptate customer fetch types

* Update schemas

* Start updates

* Moved Page, AllPages & Site Info

* Moved product, all products (paths)

* Add translations, update operations & fixes

* Update api endpoints, types & fixes

* Add api checkout endpoint

* Updates

* Fixes

* Update commerce.config.json

Co-authored-by: B <curciobelen@gmail.com>

* Added category type and normalizer

* updated init script to exclude other providers

* Excluded swell and venture temporarily

* Fix category & color normalization

* Fixed category normalizer in shopify

* Don't use getSlug for category on /search

* Update colors.ts

Co-authored-by: cond0r <pinte_catalin@yahoo.com>
Co-authored-by: B <curciobelen@gmail.com>
2021-06-01 03:18:10 -05:00
cond0r
0792eabd4c
Fix missing images (#264)
Co-authored-by: B <curciobelen@gmail.com>
2021-05-31 21:34:28 -05:00