Skip to content
Blog tag

#Knockout

Magento 2 & Hyvä articles tagged “Knockout”: hands-on tutorials, fixes, and guides from Kishan Savaliya, an Adobe-certified Magento developer.

2 articles RSS feed

Related tags: #Checkout #Hyvä #Alpine.js #Magewire #Adobe Commerce #B2B

Checkout & Conversion topic art

Posts tagged Knockout

Page 1 of 1, newest first
  • Checkout & Conversion

    Conditional Checkout Fields in Magento 2: Show Field A Only When B Is True

    Conditional checkout fields are the rule set that says "only show field A when condition B is true", and they look identical on Luma and Hyvä until you try to ship one. This is the production recipe for three real rules on both stacks: a Knockout subscribe on Luma, a Magewire $reactive plus Alpine x-show on Hyvä, plus the quote_extension_attributes wiring that keeps the value alive across page reload and 3DS redirect. The three rules ship together in roughly 38 hours on Magento 2.4.4-2.4.9 with Hyvä Checkout 1.1+.

  • Checkout & Conversion

    Magento Checkout Step Customization: Splitting Payment Into Multi-Step

    Surfacing BNPL options (Klarna, Affirm, Sezzle) in Magento checkout is not just a payment-method toggle: those gateways need the shipping country and cart total to decide eligibility, which means payment must become its own step that boots only after shipping is set. Here is the full Luma path (Knockout subscribe on setShippingInformation) and the Hyvä path (Magewire listener on shipping.updated), with server-side guards via Magento\Quote\Model\QuoteValidator and the gateway-eligibility cache layer that keeps the step responsive.

Stuck on this? Share the issue or question Ask about your store