Documentation for JoomShopping / YOOtheme Pro Integration Variables: Product in list
Product root variables are available when selecting the source of multiple "Products" elements or dynamic content for modules.
Nested objects
- Manufacturer. Enable: Configuration -> Product -> Show manufacturer (block "List products").
- Vendor. Enable: Configuration -> Product -> Display vendor (block "List products").
Multiple items sources
Not available without additional extensions that allow you to display a list inside a list item.
- Images. All main product images.
- Attributes. For information only. No selection available to add to cart.
Root variables
Main category ID
main_category_id
Numeric identifier of the main product category.
Configuration -> Other config -> Use main category for product
Arguments
-
Short description
short_description
Arguments
-In the standard template
short_description
Products code
product_ean
Product identifier in the store.
Configuration -> Product -> Show product code (List products block)
Arguments
Don't wrap in tag with idIn the standard template
product_ean
Real EAN
real_ean
Digital code under the barcode.
Configuration -> Product -> EAN (List products block)
Arguments
Don't wrap in tag with id
Manufacturer code
manufacturer_code
Product article number set by the manufacturer.
Configuration -> Product -> Manufacturer code (List products block)
Arguments
Don't wrap in tag with id
Shipping information
shipping_info
Brief information about delivery.
Configuration -> Product -> Show "Plus shipping"
Not free shipping style classes
Free shipping text
Free shipping style classes
Add link
Arguments
Not free shipping textNot free shipping style classes
Free shipping text
Free shipping style classes
Add link
Description
Displays a short message in the delivery if the product price is lower/higher than the one specified in the store settings (Configuration -> Checkout -> Free shipping for order (price) over) and the option to display this information (plus shipping) is enabled. Text arguments recognize the{sum_null_shipping} template, substituting the formatted value of the amount for free shipping instead. Adding a link creates a link from the text to the shipping description (Configuration -> Static text -> Shipping description).
Weight
product_weight
Formatted weight of the product.
Configuration -> Product -> Show product weight (List products block)
Arguments
Don't wrap in tag with idIn the standard template
product_weight
Hits count
hits
Configuration -> Product -> Hits (Product block)
Arguments
Text if value = 0
Number of sales
buys
Added variable.
Arguments
Text if value = 0
Delivery time
delivery_time
Delivery date name. Can be hidden with CSS styles.
Configuration -> Product -> Show "Delivery time" (List products block)
Arguments
-In the standard template
delivery_time
Characteristics: Template
extra_fields_tpl
Template for displaying product characteristics.
Configuration -> Product -> Show characteristics (List products block)
List style classes
Hide item name
Item name style classes
Name/value separator
Show leader dots
Hide item description
Item description style classes
Item description icon
Value style classes
Arguments
List tagList style classes
Hide item name
Item name style classes
Name/value separator
Show leader dots
Hide item description
Item description style classes
Item description icon
Value style classes
In the standard template
name:
value
название:
значение
...
Links
Link
product_link
Link to the product card.
Arguments
-
Add to cart
buy_link
Add to cart link.
Configuration -> Product -> Show buy button in a product list
Arguments
-
Add to wishlist
wishlist_link
Link to add from the wish list.
Configuration -> Shop functions -> Enable wishlist
Arguments
-Buttons
Add to cart
btn_add_to_cart
Add to cart link template in the form of a button.
Configuration -> Product -> Show buy button in a product list
Text
Icon
Display
Active style
Active icon
Output
text
Arguments
Style classesText
Icon
Display
Active style
Active icon
Add to wishlist
btn_add_to_wishlist
Add to wishlist link template in the form of a button.
Configuration -> Shop functions -> Enable wishlist
Text
Icon
Display
Active style
Active icon
Output
text
Arguments
Style classesText
Icon
Display
Active style
Active icon
Prices
Price
Not format
Do not add the _tmp_ext variable
product_price
Formatted cost of the product.
Arguments
Text if value = 0Not format
Do not add the _tmp_ext variable
Description
The product cost formatted according to the settings (currency section). The value may differ depending on user group discounts. The prefix "from" may be added if the Configuration -> Product -> Show minimum price option is enabled and the product price changes depending on the attributes.In the standard template
price + _tmp_var_price_ext
Old price
Do not add the _tmp_ext variable
product_old_price
Formatted old price.
Arguments
Style classesDo not add the _tmp_ext variable
Description
Displayed if it is > 0 and greater than the current price.In the standard template
old_price + _tmp_var_old_price_ext
Min price
min_price
Formatted minimum price.
Arguments
-Description
Relevant when there are attributes with different prices.
Is different prices
different_prices
Logical value (0 or 1).
Arguments
-Description
Depends on the presence of attributes that change the standard price.
Price for basic members
product_price_default
Formatted price without discount.
Configuration -> Product -> Show Price for basic members
Arguments
-In the standard template
product_price_default
Original price
original_product_price
Arguments
-
Tax info
tax_info
The formatted amount of tax payable on the item.
Configuration -> Product -> Show tax
Arguments
-
Basic price
basic_price
Formatted and calculated basic price per unit of product with unit of measurement.
Arguments
-In the standard template
basic_price / unit
Base discount
discount_value
Formatted value "price minus old price".
Arguments
-Description
May not be relevant for products with different prices.Amount of products in stock
Amount of product in stock
product_quantity
The numeric total quantity of the product in stock.
Arguments
-Description
Displayed even if the "Unlimited" option is enabled.
Quantity in stock
qty_in_stock
The numerical quantity of goods in stock or the text "unlimited"
Configuration -> Product -> Quantity in stock (List products block)
Arguments
-Description
May depend on the number of attributes. If attributes are not selected, it may not output the value, but the block must exist to have somewhere to put it when switching attributes.In the standard template
qty_in_stock
Available info
available_info
Text "In stock" or "Out of stock".
Configuration -> Product -> Hide text "product is not available"
Not available style classes
Arguments
Available style classesNot available style classes
Reviews count
reviews_count
Arguments
-Rating
Variables are displayed if reviews are enabled for the product: Configuration -> Product -> Allow comments for products.
Label
ID
label_id
Numeric identifier of the label.
Arguments
-
Name
label_name
Name/title of the label.
Output
Arguments
Style classes
Image
label_image
Label image.
Arguments
-TMP
_tmp_var_start
_tmp_var_start
Arguments
-
_tmp_var_image_block
_tmp_var_image_block
Arguments
-
_tmp_var_bottom_foto
_tmp_var_bottom_foto
Arguments
-
_tmp_var_bottom_price
_tmp_var_bottom_price
Arguments
-
_tmp_var_top_buttons
_tmp_var_top_buttons
Arguments
-
_tmp_var_buttons
_tmp_var_buttons
Arguments
-
_tmp_var_end
_tmp_var_end
Arguments
-Other
Language constant
lang
Arguments
-
Universal string variable
universal
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