-
- DJ-Catalog2
- DJ-Classifieds
- DJ-Events
- DPCalendar
- EasyBlog
- Eshop
- Event Booking
- Gridbox
- HikaShop
- iCagenda
- J2Commerce
- JBusiness Directory
- JCal Pro
- JEvents
- Joomla Articles
- Joomla Menu Manager
- JoomShopping
- JReviews
- K2
- OSCampus Structured Data
- Quix Page Builder
- RSBlog
- RSEventsPro
- SEO Glossary
- SobiPro
- SP Page Builder
- VirtueMart
- YOOtheme
- ZOO
-
- Troubleshoot Structured Data not Added to the Page
- Troubleshoot Structured Data not Identified by the Google Rich Results Tool
- Troubleshoot Structured Data not Showing in Search Results
- Preview button not showing on Structured Data Testing Tool
- I am seeing the "is not a known valid target type for the identifier property" error
- Fixing Error decoding JSON data in Joomla Articles
- Fix missing Google Structured Data tab in the Article Editing Page
-
- How to map schema properties using CSS Selectors
- How to Export and Import Google Structured Data Items
- HTML to Markdown Conversion
- Adding Facebook Open Graph Meta Data
- Site Representation Settings
- Use Structured Data for Google Merchant
- Create Multilingual Structured Data Items
- Use the Custom Code Content Type
- Prepare Content option
- Using the Schema Cleaner
VirtueMart Structured Data
Add Product structured data to all VirtueMart products. Display prices, ratings, and availability directly in search results. Help customers find your Joomla store items.
Google Structured Data integrates perfectly with VirtueMart and enables you to add structured data and specifically the Product Content Type to your VirtueMart products.
Enable Integration
As with all of the integrations, go to Components → Google Structured Data → Configuration and open the Integrations tab, where all integrations are listed.

Find the "VirtueMart" Integration in the list and make sure that it is enabled with the green checkmark indicator as shown in the screenshot below.

Integration settings
To view the available settings, go to Components → Google Structured Data → Configuration, open the Integrations tab and click the Options (gear) button next to the integration. The settings open in the Edit Integration window.

The Virtuemart integration comes with a setting called Remove Duplicate Schema. If enabled, the plugin will try to detect and remove the extra and incomplete Product Schema generated by the Virtuemart component. If the extra schema is successfully removed, the Rich Results Test should report one Product item. Otherwise, if you see 2 Product snippets the auto-removal didn't work and you'll need to remove it by yourself.
Add Product Structured Data to VirtueMart products
Let's see how you can add the Product Content Type to VirtueMart products. Go to Components → Google Structured Data → Items and click New to create a new structured data item.

Enter a Title, then select the Product content type and the VirtueMart integration. Integration View is filled in automatically with Product Detail.

Once you pick a content type and an integration, the form reloads and 2 new sections appear:
- Product: This section helps you map the content type properties with page fields, custom fields, site info or custom values.
- Publishing Rules: This is where you can select the pages where the structured data is going to be generated to.
To learn more details on how you can use these sections visit the How to Add Structured Data to Pages documentation page.
Publishing Rules
In case, you don't want to generate the Product Content Type to all pages, you can use the available publishing rules to target specific pages. Each rule is Disabled by default. Set it to Include or Exclude and pick the items. The VirtueMart Integration implements the following publishing rules:
| Name | Description |
|---|---|
| Product | Target specific VirtueMart Products only. |
| Category | Target all products assigned to specific VirtueMart categories. |
To learn more about the Publishing Rules section visit the How to add Structured Data to Pages documentation page.
Notes
- The Structured Data is generated only in the Product detailed page view where a single VirtueMart Product is displayed. The Category or List views are not currently supported.
- If the VirtueMart product is a parent product or contains variant child products, it will automatically try to find a price value from its childs as well as set the min and max prices. However, VirtueMart allows you to have products where despite selecting the variants, no price is shown on the front-end and thus no price can be set in the generated structured data. Structured data will appear to all purchasable products.