Closed (won't fix)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 May 2009 at 22:36 UTC
Updated:
4 Feb 2011 at 13:34 UTC
uc_product_kit_load does a node_load of every product within the product kit. If you have 30 products in your product kit, this adds say 500 queries on a page view. That's a lot of queries. Could it just ask for the info it needs without a full node_load?
Comments
Comment #1
rszrama commentedTagging.
Comment #2
longwaveIf we don't call node_load() we don't give other modules a chance to alter those products when they are loaded as part of a kit, so I think this has to stay. This issue is 18 months old with no other comments, so I guess it's not actually a problem for anyone.