5 replies [Last post]
vivianspencer's picture
Offline
Joined: 01/13/2009
Juice: 27
Was this information Helpful?

I need a way for sellers on my site to add custom attributes to their products

Any help would be much appreciated

justageek's picture
Offline
Bug Finder
Joined: 10/29/2008
Juice: 189
custom code

Are you already using Ubercart, where you have Users assigned to a Role that can create new products?

I believe you will need custom code / module for this. Managing product attributes is not a specific permission-controlled feature in Ubercart, so as far as I can tell, a user that can administer products can administer all attributes for products, and any attributes added will be available to all products.

Brian

vivianspencer's picture
Offline
Joined: 01/13/2009
Juice: 27
Re: custom code

Thanks for the info, I'm currently using the marketplace module which allows users to sell their own products

justageek's picture
Offline
Bug Finder
Joined: 10/29/2008
Juice: 189
someone would need to customize it for you

It doesn't look like there is a drupal 6 version of the marketplace module, so if you are still using drupal 5, someone could customize it for you, otherwise, someone would need to port marketplace to D6 and UC 2 or build you custom stuff.

If time is an issue, then you'd be better off finding someone to add some custom code to work with the system you have in place, although upgrading to D6 would be difficult, I think.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
justageek wrote:Managing
justageek wrote:

Managing product attributes is not a specific permission-controlled feature in Ubercart, so as far as I can tell, a user that can administer products can administer all attributes for products, and any attributes added will be available to all products.

I created a patch a while back that fixes this... Ryan set it to "postponed" but I'm pretty sure it still works. I have to remind myself to patch UC whenever I update the module, because I need this granularity. Without it, people who are selling their own items can add attributes and stuff that we don't necessarily want them to be able to do.

View my patch here, it should still work. If it doesn't let me know and I can re-roll against current UC.
http://drupal.org/node/279611

Original Thread for reference: http://www.ubercart.org/issue/5005/more_access_granularity_product_edit_...

--
Help directly fund development: Donate via PayPal!

vivianspencer's picture
Offline
Joined: 01/13/2009
Juice: 27
Re: justageek wrote:Managing

Thanks for this, it looks exactly like what I was looking for