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