Skip to main content

Bug- Empty Cart

When no layout is added to layouts/modules/module_14/checkout//empty.liquid

The checkout form Layout displays a Liquid error when the cart is empty.

Although a developer could solve this error by adding an empty cart layout here, I think it would be preferable to output a default empty cart message in English if the layout is missing, rather than allowing the Liquid error to occur?

I am also not sure that it's documented that you're supposed to provide an empty cart layout here? Usually a developer will add logic to their cart to provision for it being empty, but not the checkout.

Thanks

Status: Completed1 comment

Log in to comment and vote

Comments1