Docs: Body Tag Classes

The section- classes

There are 7 top level sections (8 if you include "section-admin")


Within the shop section there are also subsection body classes:


Within the shop section there are also category classes and the unique page ID:


is the user logged in or not


Does the user have any


Is the user an administrator


Is the user logged in as a wholesaler


What country ID is the user in


Every site has a unique vendor_id

This may be useful for multi-store mode where multiple sites share the same template.


If the user is logged in: their unique vendo user ID


Session vars such as mode, language, browser etc.



Revisions history (12)    ( hide | show )     Templates > Body Tag Classes