VirtueMart 1.1.x [ Old version - no longer supported ] > Attributes, Child Products VM 1.1
Add a child (item) product and value for an attribute - step by step
jjk:
I think that the current VM logic and the manual are somewhat confusing concerning attributes. So I wrote this explanation a few days ago. Perhaps it is helpful for others, too.
If you want to use products with stock control, the following procedure applies:
1. Add a new product
- type in SKU (no empty spaces!) for basic product as well as the title, price, tax, description, images,etc.
- select a category and eventually a manufacturer, if you have defined some already.
- save the new product and open the saved product again
2. Click on "Add attribute" in the top menu
- type an attribute name, for example 'SIZE' or 'EDITION' into the "Attribute Name" field. You may leave the "List Order" field empty.
(Initially I would recommend to actually type i.e SIZE in bold letters, so you can identify and see how this attribute interacts with the
childlist later, depending on the display options you choose)
3. After you clicked the "Save" button, something like "Attribute List for - Item: Your new product" shows up as a blue headline.
- click on "Your new product" in this headline to return to your product page.
4. Now you will see a button named "Add New Item" in the menu above your product data. Click it.
- a new product entry form appears, titled "New Item :: Your New Product Title" (from the parent product)
5. Enter a unique SKU for the child product (slightly different from the parent product SKU) and at least the title and price. If you leave the
description blank, the parent product description will be shown to the customer.
You can enter different images for this child product, if you like.
6. Click on the "Item Status" tab in the menu. At the bottom of the form (you may have to scroll down) you will find the "Attribute"
you have defined in step 2.
In case you named it 'SIZE', you can enter the value, for example 'Medium' here. Now you can save your entries again.
7. Finally you might want to play a little bit with the display options for the parent product and child products, to explore how different
settings affect your display.
(click on 'item information' under the product title in the product list to access the childs (items)
If somebody who reads this detects that I missed something in describing the procedure above, feel free to submit a corrected (better) version of this text in a reply.
inpakken en wegwezen:
Hi,
Can I see a site where you do use all the ingredients you wrote about. If so I'm wondering why it is still not working at my side.
I hope to see / read soon from you.
Inpakken en wegwezen
jjk:
--- Quote from: inpakken en wegwezen on June 18, 2008, 21:33:55 PM ---Hi,
Can I see a site where you do use all the ingredients you wrote about.
--- End quote ---
My VirtueMart shop currently is only on my local PC. It wouldn't help you anyway because you could only view the result, but not how I did it. I suggest that you watch the tutorial video that Soeren uploaded a few days ago. You can access it from the VM homepage.
Follow the link "How to work with Product Attributes" in the latest news tab. (This morning there seems to be a server problem)
Joerg
Printopia:
Excellent tutorial, thanks, that was very helpful! I also asked in another thread but maybe you know: how to sort these child items? If you click on "Item Information" at the parent item, you'll get the child products, but neither the arrows nor manually ordering with numbers and saving helps change the order >:(
inpakken en wegwezen:
Dear JJK,
It is very clear to me what you wrote but if I want to ad new Attribute(s) with new properties and/or ad custom attributes it doesn't work.
I try to figure it out, and at the parent's and at child's side stil it gave the message:
"notice: To add this product into your cart you have to select a product variant on the details page."
This problem costs me already a lot of time but I still can't find a solution. I hope you can help me further. If you want to try and see what I mean please follow the link:
http://vm.ickkci.eu/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=3&category_id=1&option=com_virtuemart&Itemid=1
Just ad some tekst and fill in the quantity, the message still comes back. If you want to see the backend I can give you the login. Just ask for it.
Navigation
[0] Message Index
[#] Next page
Go to full version