Advanced attribute features

Posts: 1
Joined: 08/30/2007

We would like to be able to add multiple sections in the attributes section but also have the user only choose one. example: We are selling posters and the user can choose a poster size and Material. Also we would like to be able to show the final price of choosing that option and not the additional price

Canvas
o 8x10.....$20
o 16x20....$30
o etc......($$)

Bond
o 8x10....$15
o etc....($$)

We would also like this to be themeable.

I understand you guys can't do everything but I am very new to drupal and ubercart. I do think greater customization of how the attributes work would be a great addition to ubercart so I decided to add this idea here.

If someone could help me out on a description or example of how I may achieve something like this then I think I could do it. I am still having a little trouble understanding the development and api fundamentals of drupal, though.

Posts: 554
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

I say the same thing before the website crash, but I'm totally agree with you.

I think the attribute module could gain in flexibility and become more more more usefull by adding the possibility to show the new price instead of the additionnal price.

I think if only one options would be in, it should be the new price because the additionnal price is not so usefull and only some marginal website will need it.

But the best should lets to store owner to choose by adding an options into admin attribute form.

And, if I can add another suggestion related to attribute, is to add the possibility to show, in the catalog the list of the attributes and the possibility to directly add them to cart without the obligation to enter in the product node.

And, the last but not the leadt Smiling, to display the attribute name in the shopping cart block Smiling

Posts: 163
Joined: 08/07/2007
Uber DonorBug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik

Just to be a total pain in the butt.... I need to display attributes with radio buttons instead of in a drop-down box. I had this working by hacking uc-attributes.module and, of course, got a well deserved spanking when I moved over alpha code from Bazaar and wiped out my changes and disconnected my radio-button attr's from my products! LOL! DOH!

The moral is... Don't hack modules at home! Bug the trained professionals!!!

Posts: 5617
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

lol You can actually change the select to radio buttons using hook_form_alter(). In fact, it would take very little code if you've got a module in place to drop it in!

Posts: 5617
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

@zmove: "And, the last but not the least Smiling, to display the attribute name in the shopping cart block Smiling "

Hey, I did this today. Check it out on the Livetest for now. It's a preliminary implementation that I don't know if I'm satisfied with yet. I'm open for any ideas for improvement.

Posts: 554
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

Perfect Ryan, as always..... perfect Smiling