VirtueMart 2 + 3 > Product creation

Attributes/Custom Fields Thread

(1/77) > >>

PRO:
There are no more simple attributes with 2.0.
They are now in the "custom fields".
Custom fields also handles child products.

This thread is for tips and questions on custom field administration.

http://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_without_stock_control


attached pdf shows the custom field configuration for simple dropdown.



[attachment cleanup by admin]

PRO:
For a simple dropdown for color/size etc.

Click "Custom Fields" in vmart admin.
1)Add 1 just like the picture attached.
2)Go into the product/custom field tab
3)Click the dropdown and choose the custom field you just setup.
4) The field appears below with ajax.
5) You can now edit that field.
6) To add more sizes/colors. Repeat step 3.




[attachment cleanup by admin]

Studio 42:
Hi,

I have do it for you ;)
Add a language key if customprice = 0 :
COM_VIRTUEMART_CART_PRICE_FREE="Free";
Simply edit it you can set it to ""; then nothing is displayed
or - or +++ or wath you want but it set by lnaguage then change it in all selected language.

Greets,

 Patrick

Pisu:
Did you remove "User Variant" field type in latest build (2.0.0-RC-2i ) ?

I found in customfields.php these commented lines:


--- Code: --- // 'U'=>'COM_VIRTUEMART_CUSTOM_CART_USER_VARIANT',
// 'C'=>'COM_VIRTUEMART_CUSTOM_PRODUCT_CHILD',
// 'G'=>'COM_VIRTUEMART_CUSTOM_PRODUCT_CHILD_GROUP',
// 'R'=>'COM_VIRTUEMART_RELATED_PRODUCT',
// 'Z'=>'COM_VIRTUEMART_RELATED_CATEGORY',

--- End code ---

Will you re-introduce them in final release?

Thanks

virtue111:
Originally posted this here: http://forum.virtuemart.net/index.php?board=132.0 but if we get an answer we will put it here, vice versa:

We would like to make a custom field, with a preset of selections that will come with it. For simple sake let's say we want to make a "Color" variant, and have the options of "Red" "blue" and "green".

I have figured out how to get the Color attribute to show up on the product, and then I can type in "Red", "Blue", and "Green" into the Ajaxy fields. But we have a ton of products and don't want to have to go in and type them all manually.

Is there anyway to make "Color" a parent, and make "Red" "Blue" and "Green" be child items, so that they will always come up? And then we could use the Ajaxy thing to delete "Red" if we didn't want it for a certain product, or to add "Purple" if we needed it specifically for a product?

It seems like this should be easy to do, but we just can't get it to work.

I thought maybe adding the Parent item, and setting it to "Is a List" and then adding child items of "Strings" but this doesn't work either. Please help!

Navigation

[0] Message Index

[#] Next page

Go to full version