Skip to main content

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 name/ID form_id
Output
sort_count
Arguments
-
Order by: Select sorting_sel
Configuration -> Product -> Show sorting controls on a page
Arguments
Show label
Label style classes
Show order direction button
Amount of products on page: Select count_sel
Configuration -> Product -> Show "product count on page" select box
Arguments
Show label
Label style classes
Categories: Template categories_sel
Arguments
Type
Show label
Label style classes
Input/option style classes
Options block style classes
Manufacturers: Template manufacturers_sel
Arguments
Type
Show label
Label style classes
Input/option style classes
Options block style classes
Vendors: Template vendors_sel
Arguments
Show label
Label style classes
Input/option style classes
Options block style classes
Product labels: Template labels_sel
Arguments
Show label
Label style classes
Input/option style classes
Options block style classes
Characteristics: Template characteristics_sel
Configuration -> Product -> Show characteristics (Search)
Arguments
Show label
Label style classes
Input/option style classes
Options block style classes
Price from: Text area price_from
Configuration -> Product -> Show price
Arguments
Show label
Label style classes
Input/option style classes
Input/option attributes
Placeholder
Show price
Price to: Text area price_to
Configuration -> Product -> Show price
Arguments
Show label
Label 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
<label for="price_from" class="uk-form-label">price</label> <div class="uk-grid-small uk-child-width-1-2" uk-grid> <div> <div class="uk-position-relative"> <span class="uk-form-icon">from</span> <input type="text" class="uk-input uk-width-1-1" name="fprice_from" id="price_from" size="7" value=""> </div> </div> <div> <div class="uk-position-relative"> <span class="uk-form-icon">to</span> <input type="text" class="uk-input uk-width-1-1" name="fprice_to" id="price_to" size="7" value=""> </div> </div> </div>
Arguments
-
Submit button btn_filter
Filter confirmation button template.
Arguments
Style classes
Text
Icon
Display
Description
Needed if there are sorting fields by price.
Clear button btn_clear_filter
Reset filter button template.
Arguments
Style classes
Text
Icon
Display

TMP

Other