@acromedia/gesso-shopify
6.1.0
Minor Changes
- da18e67: Update types related to Order and PageInfo, moving them to the Core package
Patch Changes
- Updated dependencies [da18e67]
- @acromedia/gesso-core@6.2.0
6.0.5
Patch Changes
- a98eeac: Fix: properly map selected cart item options to
properties.optionsSelected
property. - Updated dependencies [a98eeac]
- Updated dependencies [a98eeac]
- @acromedia/gesso-core@6.1.4
6.0.4
Patch Changes
- Updated dependencies [3bcf44c]
- @acromedia/gesso-core@6.1.3
6.0.3
Patch Changes
- Updated dependencies [66ed396]
- @acromedia/gesso-core@6.1.2
6.0.2
Patch Changes
- Updated dependencies [baa721c]
- @acromedia/gesso-core@6.1.1
6.0.1
Patch Changes
- e8fa722: TS type fixes
- Updated dependencies [0a5c916]
- @acromedia/gesso-core@6.1.0
6.0.0
Major Changes
-
609c5e9: ### Cart
- Removed deprecated fields:
subtotal
,total
, andtotalItems
from the Cart type and the cartConversion function. - These are now returned as part of the
adjustments
array
Product
- Removed config condition to
includeFacetFilterData
- This is now returned by default to align with
useProductSearch
results:
const facets = res?.data?.search?.productFilters;
const pageInfo = res?.data?.search?.pageInfo;
return {
products: products ?? [],
facets: facets.map((facet) => buildFacet(facet)),
pageInfo: {
products: {
startCursor: pageInfo.startCursor ?? "",
endCursor: pageInfo.endCursor ?? "",
hasNextPage: pageInfo.hasNextPage,
hasPreviousPage: pageInfo.hasPreviousPage,
totalItems: res.data.search.totalCount,
},
},
}; - Removed deprecated fields:
Patch Changes
- Updated dependencies [609c5e9]
- @acromedia/gesso-core@6.0.0
5.5.2
Patch Changes
- Updated dependencies [cc252ca]
- @acromedia/gesso-core@5.3.2
5.5.1
Patch Changes
- Updated dependencies [2b606f9]
- @acromedia/gesso-core@5.3.1
5.5.0
Minor Changes
- d2b78e0: Adds individual update methods for updateEmail, updateName, updateAddress, updatePrimaryAddress, deleteAddress and addAddress to align with current Customer commerce interface and stay up to date with deprecations as it relates to update method.
5.4.0
Minor Changes
- 6f94395: Migrating decodeHTMLEntities to only impact clientside components.
Patch Changes
- Updated dependencies [6f94395]
- @acromedia/gesso-core@5.3.0
5.3.7
Patch Changes
- bbf5d9d: Add: Update Graphql to pull default address and use it to return the primary property in address.
5.3.6
Patch Changes
- Updated dependencies [b07a19a]
- @acromedia/gesso-core@5.2.4
5.3.5
Patch Changes
- fde46e7: Added optional includes parameter to Product and Catalog plugins to shopify.
5.3.4
Patch Changes
- Updated dependencies [eda72b5]
- @acromedia/gesso-core@5.2.3
5.3.3
Patch Changes
- Updated dependencies [af19949e5]
- @acromedia/gesso-core@5.2.2
5.3.2
Patch Changes
- Updated dependencies [29d64f7]
- @acromedia/gesso-core@5.2.1
5.3.1
Patch Changes
- 42f1781: Shopify now correctly returns the checkout url
5.3.0
Minor Changes
- ede7130: Add facets and sorting to useProductSearch for Shopify
Patch Changes
- Updated dependencies [9dbfed6]
- Updated dependencies [ede7130]
- @acromedia/gesso-core@5.2.0
5.2.0
Minor Changes
- 8f9c3c8: adjusts useOrders to call shopify-middleware or handle an accessToken passed through options. Updates graphQL queries for missing data and aligns return values for consistency across providers.
- 517db02: Adds password reset functions to shopify plugin, Adds password reset flow to starter-kit
- e10e52b: Implemented the ability to change defaut address in the backend rather than just hold the address in state on the frontEnd
Patch Changes
- Updated dependencies [8f9c3c8]
- Updated dependencies [24e76cb]
- @acromedia/gesso-core@5.1.0
5.1.0
Minor Changes
- 5a2fc8b: Implemented the getCheckoutUrl call
- 222a9fb: Passed getCheckoutUrl and create condition to decide where to redirect customer
Patch Changes
- 34e0807: Adjusted the useCustomer::update function to handle customer address functionality and call shopify-middleware.
- 352ef12: Update dependencies and clean up dependency tree
- Updated dependencies [352ef12]
- @acromedia/gesso-core@5.0.1
5.0.0
Major Changes
-
bff9b4a: # Gesso V5 Update
- 6 Functions Removed
- 1 Theme Token Removed
- 3 Components Removed
- 12 Components With Removed Props
- 2 Export Names Changed
- 8 Type Changes
Patch Changes
- e840dfc: Switch type from useCustomerPlugin to renamed type CustomerPlugin.
- Updated dependencies [bff9b4a]
- @acromedia/gesso-core@5.0.0
4.13.6
Patch Changes
- 937ced0: Adjusted and normalized the product url in the cart plugin.
- 13e408e: build product now returns sku as intended
4.13.5
Patch Changes
- d8a41f2: Adjusted the useCustomer::get method to take in an options parameter.
4.13.4
Patch Changes
- Updated dependencies [44e261b]
- @acromedia/gesso-core@4.9.0
4.13.3
Patch Changes
- Updated dependencies [e95eefc]
- @acromedia/gesso-core@4.8.4
4.13.2
Patch Changes
- 369c80b: In the useCart hook, the logic is now removed to get a variantId and add it to the cart because the logic is now handled in Product/[id].tsx.
- 52df2db: Fix input value for Shopify add/create customer hook
- Updated dependencies [0fa3efa]
- @acromedia/gesso-core@4.8.3
4.13.1
Patch Changes
- bf3284d: Replaced globalizeProductId function with a more generic globalizeId function and moved it to a util directory. The product plugin was also adjusted to only return the ProductOption as a number and created logic in the useCart hook to find a variantId from the options selected.
4.13.0
Minor Changes
- 5ab3b86: Adjust unit price to use shopify product price as this relates to the equivalent idea for "unit price" in shopify gql schema.
Patch Changes
- 1bb8dcb: refactor(productOptions): Filter out options with "Default Title" value
- 5519b9b: Changed cart summary to show for empty cart.
- 427f62f: Adjusted CartItemProperties interface in in core Cart. Also adjusted shopify's useCart hook to set merchandiseId as product variantId.
- 54f1216: Remove outdated license settings in package.json
- a257243: Corrected spelling error on formattedDescription. Adjusted shopify Product to use formattedDescription as other libraries do.
- Updated dependencies [427f62f]
- Updated dependencies [a257243]
- @acromedia/gesso-core@4.8.2
4.12.1
Patch Changes
- c0c874e: Updated the Shopify package useCatalog to also query productTags to render categories on catalog page.
4.12.0
Minor Changes
- 0f169f2: feat: add Customer hooks (payments and password reset not currently included)
Patch Changes
- 5afc784: Updated the product card to render price ranges if the unit price is unavailable. Adjusted the shopify package to use price range if there is no variant supplied.
- fa9550e: Shopify returns the numerical id, not the entire url style id
- Updated dependencies [5afc784]
- Updated dependencies [11e619c]
- @acromedia/gesso-core@4.8.1
4.11.0
Minor Changes
- e3a7208: fix useProduct search return type and pull catalog without id
- 1e96edc: default option type to select and add properties to cartitem
- e3b2d83: add useOrders hook for shopifuy integration
- fe5b938: expose useProductSearch hook for shopify
- 056cff4f: adds useCart hook for shopify package
Patch Changes
- ab01e45: Correct SHOPIFY* env variables to GESSO_SHOPIFY*
- Updated dependencies [8990ef8]
- Updated dependencies [72b712a7]
- @acromedia/gesso-core@4.8.0
4.10.0
Minor Changes
- 9955252: Added shopify as a commerce option to the create gesso script