This is only a minor issue however it generates a nasty red box with an SQL error in so I thought it worth a bug report.
When using VAT inclusive price recalculations, the module does not detect if the site is using product options or product attributes. It still tries to access these database tables to perform the recalculation so if they don't exist...
user warning: Table 'colasanti_alpha.drupal_uc_class_attribute_options' doesn't exist query: uc_vat_recalculate_prices /* Matthew Taylor : uc_vat_recalculate_prices */ SELECT pcid, oid, cost, price FROM drupal_uc_class_attribute_options WHERE pcid IN ('product') in /home/matalo/www/jmtwodrupal/core/d6sites/all/modules/uc_vat/uc_vat.module on line 247.
user warning: Table 'colasanti_alpha.drupal_uc_product_options' doesn't exist query: uc_vat_recalculate_prices /* Matthew Taylor : uc_vat_recalculate_prices */ SELECT n.nid, o.oid, o.cost, o.price FROM drupal_node n INNER JOIN drupal_uc_product_options o ON n.nid = o.nid WHERE n.type IN ('product') in /home/matalo/www/jmtwodrupal/core/d6sites/all/modules/uc_vat/uc_vat.module on line 272.This does not however affect the recalculation of the core product prices prices
Comments
Comment #1
longwave