Closed (duplicate)
Project:
Ubercart Discounts (Alternative)
Version:
6.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2009 at 16:44 UTC
Updated:
6 Aug 2009 at 15:49 UTC
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
Comment #1
ryangroe commentedHi 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.
Comment #2
imp7 commentedI 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 :)
Comment #3
adrianmak commentedbefore 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
Comment #4
stephthegeek commentedLooking 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!
Comment #5
Sborsody commentedThe 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.
Comment #6
Sborsody commentedI 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
Comment #7
Sborsody commentedComment #8
ezra-g commentedSince this points to another issue, it seems like a duplicate, not one that needs review.