Storefront Compatibility Package
The Storefront Compatibility Package contains changes to the Adobe Commerce 2.4.7 codebase that enable drop-in component functionality.
Most of these changes enhance the Adobe Commerce GraphQL schema. However, miscellaneous bugfixes are also included. Cart, checkout, user account, and user authentication dropin-in components require the package. Partners can request access to the Storefront Compatibility Package by sending an email to commerce-storefront-compatibility@adobe.com
.
Major features
This package defines the following queries and mutations:
confirmCancelOrder
mutation - Cancels the specified order for a guest.confirmReturn
mutation - Confirms a guest or customer return request.estimateTotals
mutation - Estimates totals for cart based on the address.generateCustomerToken
mutation - Creates a new customer token.guestOrder
query - Retrieves information about a guest order using an order number, email, and billing last name as input.guestOrderByToken
query - Retrieves information about a guest order based on an order token.recaptchaFormConfig
query - Returns information about the reCaptcha configuration for the specified form type.requestGuestOrderCancel
mutation - Cancels the specified guest order.requestGuestReturn
mutation - Requests a return for a specified order on behalf of a guest.resendConfirmationEmail
mutation - Resends a confirmation email to the specified customer upon request.
Release information
Latest version: 4.7.0-beta27
Release date: December 2, 2024
4.7.0-beta27
Added the
Discount.coupon
field and fixed an error withcustomer.orders.items.total.discounts.coupon
.Added the
product
field to theOrderItemInterface
type.Added the
order_id
field to theCancelOrderInput
andConfirmReturnInput
types.The
guestOrder
andcustomerOrder
queries return order comments as expected.
4.7.0-beta26
Added the
subtotal
,subtotal_incl_tax
, andsubtotal_excl_tax
fields to theOrderTotal
object.Removed empty B2B tests.
Added the
CustomerOrder.total
field.Updated the date format returned by the
OrderStatusChangeDate
resolver.Corrected the behavior of the
CartItemPrices.original_item_price
field so that it does not include discounts or taxes.
4.7.0-beta25
Shipping addresses are stored in customer’s address book correctly upon placing an order with the
placeOrder
mutation.Added the
guestOrder
andguestOrderByToken
queries, which retrieve information about guest orders. TheguestOrder
query retrieves order details based on order number, email, and billing last name. TheguestOrderByToken
query retrieves order details based on an order token.When using the
customer
query to retrieve a list ofavailable_actions
when a return has been initiated, the query no longer returns a value ofRETURN
. If returns have been disabled for the system, theavailable_actions
field will not list a value ofRETURN
.Changed the data type of the following
StoreConfig
fields fromBoolean
tostring
:display_product_prices_in_catalog
,display_shipping_prices
,orders_invoices_credit_memos_display_price
,orders_invoices_credit_memos_display_subtotal
,orders_invoices_credit_memos_display_shipping_amount
,fixed_product_taxes_display_prices_in_product_lists
,fixed_product_taxes_display_prices_on_product_view_page
,fixed_product_taxes_display_prices_in_sales_modules
,fixed_product_taxes_display_prices_in_emails
Changed the data type of the
SelectedCustomAttributeInput.value
field fromID!
toString!
.
4.7.0-beta24
The
setShippingAddressesOnCart
mutation no longer throws an error when specifying thepickup_location_code
field.customer
queries using theitems_eligible_for_return
field do not return both parent and child products for configurable products.Added the
quantity_return_requested
andeligible_for_return
fields toOrderItemInterface
.Added the
items_eligible_for_return
field to theCustomerOrder
type.The
eligible_for_return
field no longer returns true on items that have been returned.Updated WebAPI tests on shared catalogs.
4.7.0-beta23
Increased the default value for maximum query complexity to 1000.
Corrected an error that occurred when using the
customer
query to retrieve returns with the “Processed and Closed” status.
4.7.0-beta22
Added the
confirmReturn
andrequestGuestReturn
mutations.Added multiple fields to the
StoreConfig
object that return configuration values related to taxes.Commerce correctly returns a 401 or 403 error when an expired token is used.
Installation
You must have Adobe Commerce 2.4.7 installed. Magento Open Source is not supported.
Use this method to install the Storefront Compatibility Package using the Cloud infrastructure.
On your local workstation, change to the project directory for your Adobe Commerce on cloud infrastructure project.
Check out the environment branch to update using the Adobe Commerce Cloud CLI.
Add the Storefront Compatibility module.
Update package dependencies.
Commit and push code changes for the
composer.json
andcomposer.lock
files.Add, commit, and push the code changes for the
composer.json
andcomposer.lock
files to the cloud environmentPushing the updates to the cloud environment initiates the Commerce cloud deployment process to apply the changes. Check the deployment status from the deploy log.
Use this method to install the Storefront Compatibility Package for an on-premises instance.
Use Composer to add the package module to your project:
Upgrade Adobe Commerce:
Update the package
Use the following procedure to update patch versions of the Storefront Compatibility Package.
Run the following command to update the package:
Run the following commands to upgrade Adobe Commerce and clear the cache.