Posted by jerry on March 27, 2009 at 4:44pm
Jump to:
| Project: | Ubercart Discounts (Alternative) |
| Version: | 6.x-1.0-beta6 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
It would be useful to be able to apply a discount to one or more product classes, as an alternative to the existing product- and term-based filters. I often place related products in classes, and the ability to simply select the class for discount would be helpful to my users.
Comments
#1
Hi jerry,
Sorry for the delay. This issue got lost in the fold. I haven't been using product classes on my site so I am looking into setting things like this up in order to expand the functionality of the module. I am currently starting out at a new job so my free time has been limited. I am trying try to get to everyone's requests on the weekends. Thank you for your patience.
#2
I am also see a need for this as the same terms aren't used on all the products I want to discount and I don't want all to share the same discount. Great work you have done on this module so far, it seems to be doing everything I want except this :)
#3
before ryangroe implement it native in the module, there is a work around.
Use taxonomy term . put a product class to this term and apply discount on this term. DONE
#4
Looking for the same thing. Taxonomy is a workaround but it would be cleaner to just be able to apply it to all of a certain class(es).
Thanks!
#5
The product class of a product is identifiable by the "class id" that gets set when created. This "class id" becomes $node->type for all product nodes of this class instead of the default (the default $node->type being "product"). All the class ids are stored in the uc_product_class table.
It seems a little redundant to duplicate product classes as taxonomy.
#6
I added filtering by product class to the latest version of my patch against beta33. I think it is useful since new product of a certain class may get added to which one might want to be discounted. You don't have to go back to the discount and add a new SKU or Product name.
See http://drupal.org/node/448624#comment-1859288
#7
#8
Since this points to another issue, it seems like a duplicate, not one that needs review.