Documentation for JoomShopping / YOOtheme Pro Integration Variables: Universal list
It can be found in the sources of several elements. When selected, the "Variable name" field will be added immediately below the drop-down list, where you need to insert the name of the variable in the code, the value of which is an array of objects.
It is intended for creating lists that are added by third-party extensions, or in other special circumstances.
For example, the Additional fields for JoomShopping characteristics extension adds the featured_extra_field variable to the product (in the card), the value of which is an array of selected features. We select a universal list as a source of several elements, in the "Variable name" field that appears, we insert featured_extra_field and go to the fields. In the required field, select the dynamic content "Universal string variable" and specify in the arguments: variable name - name (characteristic name) or value (value). The result should appear in the template.
universal
Arguments
ParentVariable name
Custom text if value not empty or !0 or true
Custom text if value empty or 0 or false
Description
Read more- Introduction
- Pages
- Dynamic content
- Product
- Products list
- Category
- Manufacturer
- Vendor
- Search
- Checkout
- User
- Cart
- Wishlist
- Content
- Products filter
- Config
- Links
- For modules
- Creating a template
- Creating a module
- Custom modules
- Forms
- Variables
- Product
- Products list
- Category
- Manufacturer
- Vendor
- Search
- Cart
- Wishlist
- Checkout
- User
- Products filter
- Content
- Config
- Base element
- Link
- Universal list
- Universal string variable
- Language constant
- JSYT