Virtuemart Tutorial – Product Custom fields with stock control (with screenshots)
Lets say; you are selling clothes, and every cloth has different size option. 0-2-4-6-8 etc.. And you want to keep stock info for each of the individual sizes separately. If you understand the idea; you can implement this functionality for any other variations of same products such as; COLOR, SIZE, WEIGHT, MATERIAL or any other option of same product and you can submit a different stock number for each individual option.
The basic idea is creating Child Product for each different variation of same product. In this tutorial, i am going over the procedure steps-by steps with providing screenshots. Here is the easiest way to create Custom Fields with Stock Control, i hope it will be useful to all.
CLICK SCREENSHOTS TO ENLARGE.
1- Start with creating custom field by looking at this screenshot. Custom Field TYPE is: Plug-ins
2- Then click to edit to any product that you want to add those size numbers. (that product doesn’t have to have any child products, we are going to add those child product easily later on.) if you already have child products for that particular product, delete all of them for now.
3- Add the “SIZE” custom field in that product.
6- you need to click SAVE and refresh the page in order to proceed.
7- Then look at the screenshot below, you will get this look. In the field below, type 10 into product in stock field. type a Product NAme (typically copy/paste the existing product name) Then click NEW button.
This will automatically create a child product with changing the Product name and Product Stock number. got it? This is easier way to generate child product.
8- After Clicking NEW button It will say:
9- Now click SAVE again:
10- Here is the result and the TEST TEST child product you just added:
11- from the dropdown, select the SIZE and checked the “parent variant”.
12- The result:
14- Click SAVE.
15- Do the same thing for other size options:
16- And click SAVE.
17- Here is the result in the website:
Did you check out our Virtuemart 2 Template – FashionMart? We have brought lots of Unique Feature to Virtuemart.
Leave a comment







Can you PLEASE HELP = what tab is number 7 on? because the sizes populate, but there is no Number 7 screen shot on that page after the refresh?
Stacey
January 9, 2013
If you click the image, it will enlarged in the lightbox popup. So you can clearly read it.
admin
January 25, 2013
Hi,
This simply isn’t working on my website. Have followed the steps exactly but the drop down on the shop for sizes just will not appear.
I have entered the Product Name and now in the custom fields tab of product entry I have the sizes all listed. However when I go to the site nothing..
Can you possibly help with this matter?
Thanks.
Mikey
August 26, 2012