CVS edit link for qinwubi
after a lot of searching and digging in drupal.org I found out that there's currently no modules that enhance ubercart's core attributes & options functionalities in the following way:
1) establishes dependencies between attributes;
2) establishes dependencies between specified options and attributes;
3) by establishing the above dependencies, the selection/deselection of certain options in certain attributes results in the enabling/disabling of their depending attributes/options.
So I developed my own module that does the job. I call it Chained Attributes aNd Options (CANO). I'd like to share it in the drupal community. Please consider my application. Thanks!
Wubi
Comments
Comment #1
qinwubi commentedComment #2
avpadernoHello, and thanks for applying for a CSV account.
As per requirements, may you describe with more details the purpose of the proposed module?
Comment #3
qinwubi commentedOk. Here's an example. An apaprel shop offers a Tee. It has threee attributes: a) Color; b) Size; c) Measurements
Disableing/enabling certain attributes/options based on earlier selected combination of attributes/options;
Scenario: there's a Custom Size option in Size; it's desirable to show the Measurements attribute ONLY when customers select Custom Size. In this case, shop admin can define c)'s dependency on the Custom Size option of b); Further, this definition is per product class, that is one can define different dependency rules for different ubercart product classes.
Currently there's the http://drupal.org/project/uc_dependent_attributes module which is able to disable option combinations on per product basis. But it can be obviously extremely tedious if a shop has many products. My module defines the product class level attributes/options dependency.
Let me know if you need more clarifications.
Comment #4
avpadernoThanks for your reply.
Comment #5
qinwubi commentedAny updates so far?
Comment #6
dave reidWould be great to have someone with Ubercart experience reviewing this application.
Comment #7
qinwubi commented@Dave:
The project is currently live in ubercart.org:
http://www.ubercart.org/project/uc_cano
Currently there're a few minor issues pending to be fixed, which is primarily source encoding issues. There're already quite a few installations and they worked. Users like the module and considers it attractive and useful.
ps. Why my project repository account is still not approved? Is it normal or I'm just unlucky?
Comment #8
pcambraHi qinwubi
Wouldn't be possible to join efforts with the mantainer of uc_dependent_attributes and having the ability of set dependencies at class AND product basis with one module only?
Took a quick look to the module, the issues I've noted below aren't sorted by importance and some of them can be blocking and others not, please revise the main guidelines of what to expect when applying for a CVS account http://drupal.org/node/539608
This way you avoid the need of using drupal_render and uc_cano_definitions should only return the form array.
Comment #9
pcambraComment #10
summit commentedSubscribing, isn't uc_cano on drupal.org?
greet module! greetings, Martijn
Comment #11
avpadernoThere have not been replies in 3 months, and the points reported by pcambra still need an answer.
Comment #12
avpadernoPlease read the following links as this is very important information about CVS applications.