msMiniCart

24 september 2018, 07:00

The simple snippet for cart current status display.

Parameters

Parameter By default Description
tpl tpl.msMiniCart Formatting chunk

Formatting

Snippet counts on the work with chunk Fenom. It transfers the cart status of the user's session there. As usual there are:

  • total_count - total number of goods in the cart
  • total_cost - total cost of the goods in the cart

These data are subject to change, if the expanded cart class is used

Standard chunk contains two element blocks with empty and not_empty classes, displayed for different cart statuses accordingly.



The next document
msGetOrder