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
- Main category
- Category
- Manufacturer
- Manufacturer
- Manufacturers
- Vendor
- Vendor
- Vendor products
- Vendors
- Search
- Search
- Search results
- Smart search
- Checkout
- Address
- Payment
- Shipping
- Confirm
- Finish
- User
- Registration
- Login
- Logout
- Account
- Edit data
- User groups
- Orders
- Order
- Cart
- Wishlist
- Content
- Products filter
- Config
- Links
- For modules
- Categories
- Manufacturers
- Vendors
- Products list
- Product comments
- Payments
- Shipping
- Cart
- Creating a template
- Creating a module
- Custom modules
- Forms
- Variables
- Product
- Product
- Product in list
- Product in cart
- Product in wishlist
- Product in cart/wishlist (basic)
- Product in order
- Image
- Video
- Wholesale price
- Attribute
- Attribute option
- Group of attributes
- Free attribute
- Characteristic
- Group of characteristics
- Demo file
- File
- Add review
- Review
- Products list
- Category
- Main category
- Category
- Category in list
- Image
- Manufacturer
- Manufacturer
- Manufacturer in list
- Manufacturer in product
- Manufacturers
- Logo
- Vendor
- Vendors
- Vendor
- Vendor products
- Search
- Search
- Search results
- Smart search
- Cart
- Cart
- Cart in checkout
- Cart (basic)
- Wishlist
- Wishlist
- Checkout
- Address
- Payment
- Shipping
- Confirm
- Finish
- Checkout navigator
- Checkout navigator step
- Shipping method
- Shipping price
- Payment method
- User
- Registration
- Login
- Logout
- Account
- Edit data
- Orders
- Order
- Order in list
- Order (main)
- Order history
- User groups
- User group
- User fields
- User field
- Products filter
- Products filter
- Category
- Manufacturer
- Vendor
- Product label
- Characteristic
- Characteristic option
- Content
- Config
- Base element
- Link
- Universal list
- Universal string variable
- Language constant
- JSYT