3.12.7 (2022-05-26)
- Reset shipping method selector when add or remove a coupon (88ca65d)
autoSelectSingleShippingMethod
accept even a function (69c6b2e)
3.12.6 (2022-05-25)
- Add
autoSelectSingleShippingMethod
prop toShipment
component (d24b6f7)
3.12.5 (2022-05-23)
- List of stock transfers (67dd33e)
3.12.4 (2022-05-20)
- Expose parentRef for custom children function (c92587e)
3.12.3 (2022-05-13)
- Lose order data when reload the thank you page (c7b5935)
- The
StockTransferField
reads HTML attribute properly (b310f6f)
3.12.2 (2022-05-12)
- Disabled the place order button (35754d8)
3.12.1 (2022-05-10)
3.12.0 (2022-05-06)
- Update order attributes by
attributes
prop if an order is already loaded (111c202)
- Improve network requests (b4ef18e)
3.11.2 (2022-05-03)
- Children props types (60e9b46)
- Children props types (7cdcaa6)
- Duplicate
payment_source
request (12699c2) - Duplicate error messages (197b97c)
- Use
labelFreeOver
when the amount is equal to zero (e514cfa)
3.11.1 (2022-05-02)
- Stock transferts visualization and improve the resources include (441c611)
- Add new
GenericField
component (83f9ae6)
3.11.0 (2022-04-14)
- Rename
SkuContainer
toSkusContainer
(39d03a9)
- Add
buyNowMode
andcheckoutUrl
props toAddToCartButton
(c6a8535) - Allow to use
Sku
context by cart components (9794859)
3.10.0 (2022-04-12)
- Add Klarna components (21bbc01)
- Add klarna_payments to gateways configuration (87f2520)
- Add order info to klarna payment (8c5249d)
- Add place order after the authorization flow (eeec7ff)
- Add place order callback flow (4afda53)
- Import Klarna external JS script (888465b)
- Show Klarna widget (638c252)
3.9.5 (2022-04-12)
- Callback response from
Errors
component (eac98be)
- Clean message if title and detail are equal (2ff8cc7)
3.9.4 (2022-04-11)
- Include
line_items.item
(27bc292)
3.9.3 (2022-04-08)
- Check if there is
do_not_ship
set totrue
and the order doesn't have the shipping address (c282728) - Reload the order when a coupon is added or removed (ecbff39)
- Set @commercelayer/js-auth to latest version
2.3.0
(4b5ec96)
3.9.2 (2022-04-05)
- Rehydrate payment source among payment components (789af62)
- Add value to onSubmit callback as prop and reset form after submitting (ad739c2)
3.9.1 (2022-04-01)
- Show selected customer card (e3eaab8)
3.9.0 (2022-03-31)
- Add new SKUs components (ae7b03c)
3.8.2 (2022-03-29)
- Filter
line_items
byitem_type
to show the correct error (3667350)
3.8.1 (2022-03-29)
- Save customer address (4161a3c)
3.8.0 (2022-03-28)
- Add new markup and props to
LineItemOptions
(7a5450d) - check for out of stock and shipping method available for shipments (38000b6)
- Set attribute field to errors handler (0f60a39)
3.7.0 (2022-03-24)
- Add new prop
placeholderTranslation
toGiftCardOrCouponInputProps
(e30c4ab) - apply both gift_card and coupon on the same order (ed751fa)
3.6.4 (2022-03-17)
- Update library @ac-dev/state-service (491f062)
3.6.3 (2022-03-17)
- Restore payment source patch to save card details (4d9b3d6)
3.6.2 (2022-03-16)
- Rehydrate payment source props (0db600b)
3.6.1 (2022-03-10)
- Add nullify payment source (0a76d7a)
3.6.0 (2022-03-08)
- Add sorti for customer addresses (9916a77)
- Remove unused reset prop (18c9a67)
3.5.2 (2022-03-07)
- Get remove coupon response by onClick (0e7b8d7)
3.5.1 (2022-03-02)
- Automatic place order for Paypal and Checkout.com (c3f73ee)
3.5.0 (2022-02-28)
- Add data testing attribute to
PaymentMethod
component (7e08b86)
3.4.4 (2022-02-28)
- Edit default success_url and failure_url by configuration object (ddc61f3)
3.4.3 (2022-02-25)
- Select Adyen customer card (90442ed)
3.4.2 (2022-02-24)
- Place order without payment source when order total amount is equal to zero (a9f13d3)
- Types (677eac1)
3.4.1 (2022-02-24)
3.4.0 (2022-02-23)
- Expose customer email through onBlur function (e552ae1)
- CheckoutLink is linked to hosted checkout by default with a boolean prop
hostedCheckout
(b19cf7f)
3.3.0 (2022-02-23)
- Types issues (df0da67)
- Add customer payment (38ccef2)
- Create checkout.com components (dd54cf6)
- Set
success_url
andfailure_url
withwindow.location.href
value (8d2416f) - Update checkout_com_payments with card token (e27ec3c)
3.2.4 (2022-02-09)
- Allow uppercase letters in customer email input (3d77828)
3.2.3 (2022-02-01)
- Reset state selector value (90fdb3f)
3.2.2 (2022-02-01)
- Remove reset shipping address by isBusiness prop (a640f2f)
3.2.1 (2022-01-31)
- Save line_2 value properly (4689e90)
3.2.0 (2022-01-28)
- Reset form properly when isBusiness changes (1e2fbbd)
- Add onChange prop to BaseSelectComponentProps (5a51b8e)
- Expose address as param of onSelect function (29ee53e)
3.1.0 (2022-01-28)
- API request without any includes (a3dfb19)
- Console warning if children are null or boolean (a13f5a4)
- Filter addresses by shipping_country_lock if it has a value (2f835b6)
- Order does not include resources after updating/creating a coupon (6ff1460)
- Reset form when isBusiness prop changes status (2c7da18)
- Show label free if the price is equal to zero (406d03d)
- Add new prop isBusiness to BillingAddressForm (f49c17b)
3.0.1 (2022-01-26)
- import getSdk in example page (97e2247)
3.0.0 (2022-01-24)
- Remove cjs version (4fbf29c)
- Remove cjs version
2.53.3 (2022-01-24)
- Remove cjs version (0054e27)
2.53.2 (2022-01-24)
- Import only countries and states packages (f31c663)
2.53.1 (2022-01-17)
- Show multiple bundles in a single order (6b454a9)
2.53.0 (2022-01-17)
- Regroup bundle items (88c6d30)
- Add new prop placeholder and set placeholder image if src is empty (1717e98)
2.52.1 (2021-12-21)
2.52.0 (2021-12-21)
- Reload Price component (42cebaa)
2.51.3 (2021-12-17)
- Diable AddToCart button and show availability without a VariantSelector (ecd4d5a)
2.51.2 (2021-12-16)
- Payment by Braintree (6dc171e)
2.51.1 (2021-12-16)
- Save stripe wallet (f2b1193)
2.51.0 (2021-12-16)
- Redirect flow with Adyen 3DS-1 (1e14e00)
- Add new component LineItemsEmpty (45b5127)
2.50.7 (2021-12-13)
- Cannot read property 'map' (378d77d)
2.50.6 (2021-12-13)
- Place order by paypal (4ed3dd2)
2.50.5 (2021-12-10)
2.50.4 (2021-12-10)
- Address country lock controller (faff60a)
- Place an order with total amount equal to zero (ec72aa6)
- Show GiftCardOrCouponRemoveButton properly (89e378d)
2.50.3 (2021-12-09)
2.50.2 (2021-12-07)
- Add useMemo and force refresh by accessToken (45b612b)
2.50.1 (2021-12-07)
- Expose lineItem prop to LineItem components (5b39f31)
2.50.0 (2021-12-07)
- Read Stripe payment_method attribute if options attribute is not available (3633657)
- Expose types and add shipmentId to ShippingMethodRadioButton onChange prop (8d9ca25)
2.49.8 (2021-12-06)
- Expose htmlFor prop for ShippingMethodName component (95ffd2a)
2.49.7 (2021-12-02)
- Add RedirectShopper (c6233b7)
- Clean order when it is placed (67b9387)
- Expose prices resource within Price custom children props (40f58b3)
2.49.6 (2021-12-02)
- Show payment method amount correctly (b3e5048)
2.49.5 (2021-12-01)
- Manage resources to include (90917d9)
- Save customer address book and include order resources (4854f64)
2.49.4 (2021-11-30)
- Include resources to order request (635d84a)
2.49.3 (2021-11-30)
- Include resources to order (2e5d4d4)
2.49.2 (2021-11-29)
- Force include resources to order query (14daa83)
2.49.1 (2021-11-29)
- Revert minimize-js version (6448fb8)
2.49.0 (2021-11-29)
- Add new prop showShippingMethodPrice to AvailabilityTemplate and force the include line_items within LineItemsContainer (128ea63)
2.48.3 (2021-11-24)
- Disable AddToCartButton when inventory quantity is zero (819580f)
2.48.2 (2021-11-24)
- Empty availability (307cb99)
2.48.1 (2021-11-24)
- Expose text prop as AvailabilityTemplate children props (346fc9b)
2.48.0 (2021-11-24)
- Follow right SKUs sort (2ae74a7)
- Add handleCallback prop to VariantSelector (8824427)
2.47.1 (2021-11-23)
- Currency JSON (c07fae6)
2.47.0 (2021-11-23)
- Add bundles and adjstments (32eddb6)
- Add new sdk to VariantReducer and ItemReducer (3ea29f8)
- Add semantic-release, build by tsc, tsc-alias, and minimize-js (10d42da)
- Implement new sdk and improve network requests (546b893)
- Implement new SDK to Availabilty and Variant components (9e3fbfb)
- Implement new SDK to CommerceLayer and Prices components (ec32544)
- Implement new SDK to customer addresses (974c5be)
- Implement new SDK to Payment components (3dda2fb)
- Implement new SDK to Shipments components (aa0626a)
- Implement new SDK to the order reducer (680d4fd)
- Rename LineItemSkuCode component to LineItemCode (9a061c2)
- Rewrite OrderContext and OrderReducer, minimize API requests (b52414b)
- Start implementing new SDK (4107d1e)