Skip to content
  1. Extras
  2. miniShop2
  3. Snippets
  4. msMiniCart

msMiniCart

Simple snippet for outputting the current cart status.

Parameters

ParameterDefaultDescription
tpltpl.msMiniCartOutput chunk

Output

The snippet works with a Fenom chunk and passes cart status from the user session. Typically:

  • total_count — total number of items in the cart
  • total_cost — total cart cost

These may differ if you use an extended cart class.

The default chunk has two blocks with classes empty and not_empty for the two cart states.