Adding Product Attribute Field into Cart View

Posts: 6
Joined: 12/11/2007

Hi there,

I pretty new to ubercart and was hoping someone could let me know if what I want to do is possible and perhaps help me in getting it working.

I want to be able to change the product attributes as well as the quantity in the cart view page.

To understand what I mean, if you look at the attached screenshot, you see that the product attribute "Print Size" is listed under the Description heading.

However, I would like to have the Print Size product attribute listed in it's own column as a select box so people can change the attribute like they would the quantity and "Update Cart" to save the settings.

I've looked at and installed the Extra columns contribution module by zmove, and so I was wonder if perhaps I could modify that module to include the extra column I want, but don't know how?

Thanks

AttachmentSize
cartscreen.png35.42 KB
Posts: 6
Joined: 12/11/2007

I've still heard nothing about my question. I'd be willing to pay to have this contribution module developed so I could use it as it is very important, however I don't know how to create it.
Please help.
Thanks

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

Hmm... honestly, I'm not sure of the feasibility of this task... mainly b/c the data on objects in the cart gets set when the first add to cart happens. This data stores the model number and attribute/option selections. There really isn't a quick way to change it all other than to remove the existing item from the cart and re-add it w/ the same quantity and new choices.

Posts: 6
Joined: 12/11/2007

*groan* that seems like such a long way to change the product attributes and could be quite tedious if you have a few of them to change. Surely there must be a better way to do it.

Couldn't it done that if one listed the attribute drop-down boxes in the view cart page and then when the update cart button is clicked, rather than just updating the product, the old product is removed from the cart and then the same product with the new attribute selection is added again.

Is that heading down the right track, or did I misunderstand?

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

That's what I'd envision as the easiest solution. It will need to perform the updates for either the update cart or checkout button - they both update the quantity currently.

Posts: 6
Joined: 12/11/2007

On update cart would probably be best in my opinion, as people are not likely to click the checkout link unless their order looks right.

So, how would I go about getting this done? Is there someone you could suggest I could pay to have this module developed for me or what should I do?

Thanks for the help, by the way.

Posts: 20
Joined: 08/15/2007

I like the idea of editing attributes, would be really cool to have an elegant solution to edit attributes integrated straight into uc core files.

I'm a bit surprised there is no way to change an attribut once the product is added.
If anyone got any insights.

Thanks