Skip to content

3.12.1

Latest

Choose a tag to compare

@jeanmarcos-dev jeanmarcos-dev released this 23 Sep 03:37
· 9 commits to master since this release

Guests are asked to sign in before checkout when the cart does not allow guest checkout, as Magento does natively. With a downloadable product in the bag and catalog/downloadable/disable_guest_checkout on (the default), "Proceed to checkout" on the cart page and in the mini-cart used to navigate to /checkout, which bounced straight back to the cart. Both now read isGuestCheckoutAllowed from the cart customer-data section and, for a guest, lead to the sign-in page with a referer back to checkout, encoded the way Magento's URL encoder does. The mini-cart takes a new optional signInUrl prop; without it, and on the cart page without data-sign-in-url, the buttons keep linking to checkout.