News:

Support the VirtueMart project and become a member

Main Menu

Compatibility between custom_fields

Started by creasource, June 22, 2012, 11:42:49 AM

Previous topic - Next topic

creasource

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

creasource


karaoke


creasource

#3
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!