Active
Project:
Ubercart Discounts (Alternative)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2009 at 16:20 UTC
Updated:
12 Apr 2012 at 00:25 UTC
I'm currently working on an Ubercart site with about 70,000 products...
And the products list box on the add/edit discounts form just is totally unusable for that.
Maybe instead some form of autocomplete forms with AHAH for adding more fields?
Comments
Comment #1
ezra-g commentedSure -- I'd be happy to review and commit a patch to do that :).
Comment #2
ezra-g commentedMarked #587278: Product class qualifier not scalable for sites with many products as a dupe. To quote myself there,
"When using get_product_ids_for_discount_object, we do a query that returns every product matching a particular class. Then, at the PHP layer, we compare that array with the products in the cart. This won't scale for sites with many products and is generally inefficient. We should query to get the qualifying products directly from the database and do this only once each time we calculate the discounts on cart contents."
Comment #3
matthandIs this module compatible with large product databases? Has anybody implemented changes that reduce the resource load?
Comment #4
matthandI just posted a RFP in the forum concerning this feature request: http://drupal.org/node/1529080
Anybody interested?