Magento_AdvancedCheckout (Order by SKU)
Magento Modules:
- Magento_AdvancedCheckout
Adobe Commerce Packages
- magento/module-advanced-checkout
While this module is part of the base Adobe Commerce package, it is also labelled as B2B as it is utilised by the Quickorder functionality: #104
Repository
Note: this repo is only accessible with a Hyvä Enterprise license or as a contributor.
For more details, see: https://www.hyva.io/hyva-enterprise.html.
https://gitlab.hyva.io/hyva-enterprise/commerce/magento2-ee-magento-advanced-checkout
Features
All points are rated according to priority as P1 (critical), P2 (important), P3 (minor).
-
basic - does not break layout/design
Account Area (all pages)
-
[P2] Show 'Order by SKU' navigation link in account menu Note: link is not visible if B2B Quick Order is enabled - #104
-
[P3] Only display link if enabled / allowed for current customers customer group (if set in config) This is configured in 'Stores > Configuration':
sales/product_sku/my_account_enable
andsales/product_sku/allowed_groups
.
-
/customer_order/sku/
)
Order by SKU (Note: this page only displays if enabled for all users/current customer group - configured in 'Stores > Configuration':
sales/product_sku/my_account_enable
andsales/product_sku/allowed_groups
.
-
[P1] Add SKU and qty to be added -
[P1] Add additional rows -
[P1] Remove additional rows -
[P1] Upload CSV -
[P1] Form validation - all rows have SKU/qty populated, or CSV has been uploaded -
[P1] Submit form / add items to cart
Order by SKU Widget
-
[P2] Order By SKU functionality can be output using a CMS widget -
[P2] Replace the file upload section with a link to the main 'Order By SKU' page
/checkout/cart/
)
Cart Page (-
[P2] Display global message detailing the number of products that require attention -
[P2] Display 'Products Requiring Attention' section / heading underneath cart items -
[P2] Display products list (options need selecting) - Note: products that end up here are any with options that cannot be configured on the 'order by sku' page, including products with custom options, bundle, configurable, grouped, gift cards etc., as well as products where the SKU does not exist, or the maximum qty allowed in cart has been exceeded.
-
[P2] Display item name, SKU, image, price -
[P2] Qty should match that set on order by SKU form - Disabled if options are required to be configured. Only enabled when max qty exceeded
-
[P2] Display inline error message -
[P2] Link to configure items options (only displays when applicable) -
[P2] Move to wishlist button/icon (only displays when applicable) -
[P2] Edit button/icon (only displays when applicable) -
[P2] Remove item button/icon
-
[P2] Remove all items button/icon -
[P2] 'Add to Cart' button
/checkout/cart/configureFailed/id/{id}/sku/{sku}/
)
Cart Item Configure (-
[P2] Display standard product page (bar exceptions below) -
[P2] Replace 'Add to Cart' with 'Update Cart' button' -
[P2] Options validation works as expected (as per default product page) - Again, ensure all product types are covered: products with custom options, bundle, configurable, grouped, gift cards etc.
-
[P2] Selected options/qty are successfully added to the cart -
[P2] Product is removed from 'Products Requiring Attention' section on the cart page once added -
[P2] Support all product types: simple, virtual, configurable, bundle, grouped, gift card etc.
Contributors
- Salvador Martinez - basecom
Voting
Use