
ms3Favorites
Wishlists for MiniShop3 and other resources — browser storage, DB sync


Outputs the number of items in favorites. Used in header, menu, or Favorites icon.
| Parameter | Description | Default |
|---|---|---|
| id | ID of page where the list is shown (optional) | — |
| list | List (default); empty or all — total across all lists | default |
| resource_type | Resource type: products, resources | products |
| tpl | Chunk | tplMs3fCounter |
| Placeholder | Description |
|---|---|
[[+ms3f_count]] | Item count |
[[+ms3f_page_id]] | Page ID (if passed) |
[[!ms3FavoritesCounter]]{'!ms3FavoritesCounter' | snippet}Total across all lists:
[[!ms3FavoritesCounter? &list=`all`]]{'!ms3FavoritesCounter' | snippet : ['list' => 'all']}Alternative — client-side counter:
<span data-favorites-count style="display: none;">0</span>JS will set the value on load (1–99 or 99+); the element is hidden when zero.