8 replies [Last post]
kpjuni's picture
Offline
Joined: 08/27/2008
Juice: 14
Was this information Helpful?

Ok, i've got over 600 products added to my site. but now i've decided that i need another attribute. but when i add the new attribute to the product type, it doesn't show up on the products already listed on the site. only if i add them one by one or when i create new products.. is there any way to "refresh" all the products on the site to add the new attribute?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: refresh all products after adding new attribute set

There was a feature request for this before, wher eyou could "push" changes to a product class's default attributes/options out to every product of that class. However, in your case, have you just used the generic product node or product classes? If you've used classes, I might have a developer look into the implementation of this "push" idea.

cha0s's picture
Offline
Getting busy with the Ubercode.
Joined: 08/22/2008
Juice: 416
Push attributes to products in product classes

This patch was developed to allow you to push an attribute to all products associated with a product class. Hope it helps, and if you haven't grouped your products into classes, and want it to apply to ALL products, it should be a pretty easy change. Reply with any feedback, thanks!

NOTE: This patch is only for Drupal 6.

AttachmentSize
uc_attribute-push-to-product-class.module.patch 4.9 KB

Try FreeBASIC!
My game Lynn's Legacy

egracecreative's picture
Offline
Joined: 12/05/2007
Juice: 22
refresh all products after changing class options

I'm having a similar issue on a drupal 5 site: www.teamflix.com. We've created just 2 products - order a single game DVD or and entire season of DVD's. We have a lot of teams to choose from so I created those 2 products with all available teams as attribute options. When a new team signs up, we add them to the attribute list and make them available as an option. But our 2 products do not include the new teams.

Is this the same issue? If so, is there a patch available for Drupal 5? We have way too many modules in place that are not 6 compatible yet. If there is no patch, would I simply need to recreate the products every time we add another option?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: refresh all products after changing class options

You shouldn't have to recreate any product... just go to the product page, go to the options tab, and enable the new options.

TutusForToddlers's picture
Offline
Joined: 11/17/2007
Juice: 158
Ryan, I don't get an Options

Ryan,

I don't get an Options tab.

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

TutusForToddlers's picture
Offline
Joined: 11/17/2007
Juice: 158
My apologies. It is an issue

My apologies.
It is an issue with my theme not displaying correctly.

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

kpjuni's picture
Offline
Joined: 08/27/2008
Juice: 14
Re: Push attributes to products in product classes

cha0s, im running drupal 5. any patch for that?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: refresh all products after adding new attribute set

Moving the discussion to this issue.