Documentation - Stockable Custom Fields

This document offers the basic knowledge for installing , configuring and using the Stockable Customfields plugin. This document is copyrighted ©2015-2019 Sakis Terzis / The document is licensed under the terms of Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License []. You can distribute it freely as long as you do not modify it and state its source and/or author. You cannot use this document or any portion of it for commercial purposes. If you require such use, for example to deliver it to your clients as part of your site building service,please email the author in order to acquire such a license and the source to this document.

  1. Joomla 3.8.1 and higher
  2. Virtuemart 3.0.18
  3. PHP 5.3 and higher
  4. MySQL 5

After downloading the installer file, from our site, just install it using the joomla installation process.


The same process can be used for updating your version. Just use the joomla installer without uninstalling your existing version. Your data will remain intact.

The installer will install and enable all the necessary plugins. No other action required.

The plugin uses other custom fields for the variations.
So you first have to create those custom fields. These custom fields will be named sub-custom fields from now and then.

Go to Virtuemart > Custom Fields and press New to create a new custom field.

As type select String or Plug-ins (if you have compatible plug-ins). 
Set Cart Attribute > No and Cart Input > No


The above describes the general settings of custom fields. In case you are using plugins for the sub-custom fields, please check your plugin's manual, for it's usage.
If you are using Custom Fields For All, you can find the relevant documentation here.

Save and create the next one.
Create as many custom fields as you need.

Go to Virtuemart >Custom Fields and press New to create a new custom field.

As type select plugin, set Cart Attribute > Yes and Cart Input > Yes

main custom


After that select the plug-in you intent to use

main custom2


Then save the custom field.
After saving it, you will be able to select the custom fields (sub-custom fields) that you will use.

Press the "Add" button and select the custom fields you created previously.

select subcustomfields

After finising the selection, close the modal window and press the save button

Also set how a combination which is out of stock will be displayed.
out of stock display

Now you are ready to create stockable variations

After the creation of the custom field lets go to assign it to a product.

Select a product and go to the Custom Fields Tab.
Then from the Custom Field Type list select the stockable custom field you have created previously.

assign to product2As you can see the sub-custom fields are there. Just fill them to create a new variation.
Also from here you can connect your variation either with a new product or with an existing one. The later can be really usefull in case you are importing your products from another database.

To create your next variation, press the "New Variation" button at the bottom.

The parent product can be used as stockable variant as well. To do that go to the custom field and set Parent Product Orderable > Yes
Then when you assign the custom field to the product, you will see a checkbox labeled Use current/parent prodcuct as derived. By checking that makes the parent product a stockable variation. The advantage of doing that is that the user has a variation selected once he/she visits the product details page.


Now you can visit that product to to your site, to see the results

fe display drop downs

You can see different options/custom fields. The user will be able to select only the options that have a variation (return a child product). After selecting all fields you will see that the product info updates. This way you can see the price or image of the corresponding child product after finishing a selection.