Joomla - VirtueMart Generator
In this article
⚠️ Note: This generator is only available in the Pro version.
With this dynamic slide generator you can show the contents of your VirtueMart products.
Tutorial
- 1
-
Creating a new dynamic slide
To get started, go to any Slider Settings page and add a new dynamic slide. Choose
VirtueMart
. - 2
-
Configuring the generator
Set up your generator. Choose the settings you want. Popular options you probably want to configure: category where your content will be pulled from, the number of slides you want to have, the ordering of the content.
You can also click on the View Records button to see the data you'll be creating your slide with.
When you're done, click on
Add
. - 3
-
Editing the dynamic slide
After you saved your generator, you'll be redirected to the Slide Editor to set up the look of your slide. You can create your content by using variables.
Not sure what are the variables or how to use them? Learn how to work with variables.
Configuration
You can use these options to set what you want your generator to show.
Filter
Categories
You can select the categories from where you want the products.
Manufacturers
You can select manufacturers to filter your products from the selected categories.
Featured
You can choose to only show the featured, not featured or all products.
In stock
You can choose to only show those products, which are in stock, which aren't in stock, or all.
Language filter
You can filter out the products based on the language. Not sure what language filter to use? Check out the language filter list.
If you can't figure out which one do you need, check your database, and look for the [prefix]_virtuemart_products_[language_code] table, where the [language_code] is what you need, for example my table is this: yirt3_virtuemart_products_en_gb and the language filter will be en_gb.
Show parent products only
Only display those products, which have been selected as parents for any other product.
Order
Field
The field which decides the ordering of your content.
- Product name
- Category title
- Special
- Ordering
- Hits
- Creation time
- Modification time
Order
The order direction.
- Ascending
- Descending
Generator Settings
Learn about the Generator Settings
at the Generator Settings documentation.
Variables
These are the available variables you can use to build your dynamic slide content in the Slide Editor.
Not sure what are the variables or how to use them? Learn how to work with variables.
- title The name of the product.
- url Url to the product. It will link through the first VirtueMart menu item you have in the Joomla Menu Manager from where that product can be reached, and it can't be changed. Don't expect this to link exactly, where you want to! It might will, but it might won't. Read more about this in here.
- description The description of the product.
- image The image of the product.
- thumbnail Either the thumbnail or the full image of the product.
- price Price of the product.
- short_description Short description of the product.
- category_id The id of the product's category.
- category_name The name of the product's category.
- category_description The description of the product's category.
- category_url Url to the product's category.
- manufacturer_id The id of the product's manufacturer.
- manufacturer_name The name of the product's manufacturer.
- manufacturer_description The description of the product's manufacturer.
- manufacturer_email The email address of the product's manufacturer.
- manufacturer_url Url to the product's manufacturer.
- base_price The base price of the product.
- base_price_variant The base price variant of the product.
- base_price_with_tax The base price with tax of the product.
- discounted_price_without_tax The discounted price without tax of the product.
- price_before_tax The price without tax of the product.
- sales_price The sales price of the product.
- tax_amount The amount of tax affecting the product.
- sales_price_with_discount The sales price with discount of the product.
- sales_price_temp The temporary sales price of the product.
- unit_price The unit price of the product.
- price_without_tax The price without tax of the product.
- discount_amount The amount of discount on the product.
- sku The sku of the product.
- id The id of the product.