<empty-collection-message>

Renders a message such as “No products to display”. If the collection (this) is empty, style="display:none" is added. This means the message is still present and can be revealed with JavaScript if all items in the collection are removed via ajax remove buttons.

The message can be customized via the empty-collection-message parameter or by changing the products.collection.empty_message translation.

Parameters

  • default

Show Source


Edit this page