Documentation for JoomShopping / YOOtheme Pro Integration Variables: Products filter
Variables are available on pages with product lists: category, manufacturer, vendor products, search results, and product lists as a separate menu item type.
For simplicity and even the ability to create a working filter, select the JoomShopping form -> List product filters option in the settings for a column or row with filter fields and buttons.
Do not place the form inside another form.
To enable filters: Configuration -> Product -> Show filters.
Multiple items sources
Root variables
Form action link
action
Arguments
-
Form name/ID
form_id
Output
sort_count
Arguments
-
Sort direction product
orderby
A logical variable (0 or 1) indicating the sorting direction.
Arguments
-
Sort direction product: Button
btn_sorting_dir
Button template for selecting sorting direction.
Arguments
-
Order by: Select
sorting_sel
Configuration -> Product -> Show sorting controls on a page
Label style classes
Show order direction button
Arguments
Show labelLabel style classes
Show order direction button
Amount of products on page: Select
count_sel
Configuration -> Product -> Show "product count on page" select box
Label style classes
Arguments
Show labelLabel style classes
Categories: Template
Show label
Label style classes
Input/option style classes
Options block style classes
categories_sel
Arguments
TypeShow label
Label style classes
Input/option style classes
Options block style classes
Manufacturers: Title
manufacturers_label
The value of the language constant
JSHOP_MANUFACTURER.Arguments
-
Manufacturers: Template
Show label
Label style classes
Input/option style classes
Options block style classes
manufacturers_sel
Arguments
TypeShow label
Label style classes
Input/option style classes
Options block style classes
Vendors: Template
Label style classes
Input/option style classes
Options block style classes
vendors_sel
Arguments
Show labelLabel style classes
Input/option style classes
Options block style classes
Product labels: Template
Label style classes
Input/option style classes
Options block style classes
labels_sel
Arguments
Show labelLabel style classes
Input/option style classes
Options block style classes
Characteristics: Template
characteristics_sel
Configuration -> Product -> Show characteristics (Search)
Label style classes
Input/option style classes
Options block style classes
Arguments
Show labelLabel style classes
Input/option style classes
Options block style classes
Price from: Title
price_from_label
The value of the language constant
JSHOP_SEARCH_PRICE_FROM.Arguments
-
Price from: Text area
price_from
Configuration -> Product -> Show price
Label style classes
Input/option style classes
Input/option attributes
Placeholder
Show price
Arguments
Show labelLabel style classes
Input/option style classes
Input/option attributes
Placeholder
Show price
Price to: Text area
price_to
Configuration -> Product -> Show price
Label style classes
Input/option style classes
Input/option attributes
Placeholder
Show price
Arguments
Show labelLabel style classes
Input/option style classes
Input/option attributes
Placeholder
Show price
Price from-to: Template
price_from_to
Grid template of price input fields.
Configuration -> Product -> Show price
Output
from
to
Arguments
-
Price from: Value for the name attribute
price_from_attr_name
Output
fprice_from
Arguments
-
Price to: Value for the name attribute
price_to_attr_name
Output
fprice_to
Arguments
-
Submit button
Text
Icon
Display
btn_filter
Filter confirmation button template.
Arguments
Style classesText
Icon
Display
Description
Needed if there are sorting fields by price.
Clear button
Text
Icon
Display
btn_clear_filter
Reset filter button template.
Arguments
Style classesText
Icon
Display
TMP
_tmp_ext_filter_box
_tmp_ext_filter_box
Arguments
-
_tmp_ext_filter
_tmp_ext_filter
Arguments
-Other
Universal string variable
universal
Arguments
-
Language constant
lang
Arguments
-- 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