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

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
πŸš€

Feature

Date

Almost 3 years ago

Author

Matt Jones

Subscribe to post

Get notified by email when there are changes.