VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: creasource on June 22, 2012, 11:42:49 AM

Title: Compatibility between custom_fields
Post by: creasource on June 22, 2012, 11:42:49 AM
Hello! i use VM2.06 and J2.5 and sorry for my english ^^

I want to develop compatibility between attributes (custom_fields)

For exemple : "Material" and "color"

I want to sell a Chair

If you choose "LEATHER" in custom_fields MATERIAL -> I want a list "RED" "GREEN" AND "BLACK" in custom fields COLOR

If you choose "FABRIC" in custom_fields MATERIAL -> I want a list "WHITE" "BLUE" in custom fields COLOR

I think i should use the ON CHANGE function but i can't find the <select> of the custom_fields. Also how can i send a list of colors in the second attribute (the custom_fields COLOR)?

I don't need to manage this in the administrator (too difficult to develop) just develop "if" condition on front office.

I've found this on the web http://network.convergenceservices.in/forum/46-virtue-mart/1238-steps-for-adding-attributes--custom-fields-in-virtue-mart-20--to-products.html but it's not very helpful

This contribution should be great for a lot of users, or if you know a plugin with the same thing, Tell me please, it should be perfect.

Thanks in advance for any help!

I really need this functionality
Title: Re: Compatibility between custom_fields
Post by: creasource on June 26, 2012, 11:33:49 AM
nobody encounter this before?  :o
Title: Re: Compatibility between custom_fields
Post by: karaoke on June 27, 2012, 08:08:45 AM
I need a solution too. Anybody?
Title: Re: Compatibility between custom_fields
Post by: creasource on June 27, 2012, 10:20:22 AM
Is it possible to make a script with Jumi which replace the "add to cart" button and the custom-fields dropdown list in the product_details?

In this case we could make a simple html dropdown list for every products we want.

In html , it's easier to make compatibility between dropdown list!