Releases: scandipwa/quote-graphql
Performance optimization
In this release the changes related to performance optimization were released.
Please see the main README for more details.
Patch of stock quantity issue (when stock managed is disabled)
The issue was preventing from cart qty change.
Stock quantity check
In this release, fixed adding to cart error message - now it clearly states that it exceeded quantity limits.
Merge guest and customer quote on customer login
Added event observer to merge guest and customer quote upon login.
Payment information - additional data update
To input filed paymentMethod
on PaymentInformation
type, the additional field additional_data
has been added. The added field additional_data
has PaymentMethodAdditionalData
type.
Note: type
PaymentMethodString
has been renamed toPaymentMethodInput
Adapted for placeOrder and setPaymentMethodOnCart
Wrapped Magento 2 GraphQL endpoints to function according to ScandiPWA logic.
Added support for getting payments without shipping method.
In this release:
- The
getPaymentMethods
endpoint became available. - The
is_virtual
field has been added toQuoteData
type. - The following fields were moved from
QuoteData
type toTotalsObject
interface:items_count
customer_is_guest
store_id
customer_tax_class_id
items_qty
coupon_code
Extended ordered endpoint.
In this release the support for order details has been added. Following endpoints are now available:
getOrderList
getOrderById(id: Int!)
Make exceptions visible on the frontend
Fixed display of Coupon related error messages (#9) * Made CartCouponException ClientAware, so that Magento would display actual message and not Internal Server Error * Catch errors that happen when applying coupon and return normal error
Add coupon code support
Added support for GraphQl queries:
- applyCoupon
- removeCoupon
Code refactoring - extracting common logic to an abstract class to reduce duplicates.