silvershop-core
silvershop-core copied to clipboard
Multiple steps checkout bug
When typing a checkout step manually at URL for example "..... /summary" at the beginning of multiple steps checkout, summary page opens without addresses and shipment filled in and checkout is possible with shipment 0.00 #
Thanks for reporting this. Sadly, there's currently no easy way to solve this, because:
- Checkout-steps aren't getting validated properly (eg. validate that each checkout-step has been passed).
- Adding a Shipping-Address as a requirement to Order isn't possible, as there might be shops that allow orders without shipping-address (eg. digital goods)
As a developer, you could either add an extension to Order
with a canPay
hook, where you return false in case the Order doesn't have a shipping address. Or you create a custom checkout-component that validates the existence of an address on the summary page. Here's a gist how to do this: https://gist.github.com/bummzack/5bb2f3e679fc3d9ca4423629f01f05cc
This issue will remain open, as it has to be addressed in a future release.