New Zenner
- Join Date:
- Apr 2009
- Posts:
- 31
- Plugin Contributions:
- 0
Dual Pricing - Wholesale Pricing - Some issues I was able to fix
I found some issues in Dual Pricing - Wholesale Pricing in ver. 1-7b
The install.sql should be:
ALTER TABLE customers ADD customers_whole VARCHAR( 4 ) DEFAULT '0' NOT NULL;
ALTER TABLE products ADD products_price_w VARCHAR( 150 ) DEFAULT '0' AFTER products_price;
ALTER TABLE products_attributes ADD options_values_price_w VARCHAR( 150 ) DEFAULT '0' AFTER options_values_price;
ALTER TABLE products_discount_quantity ADD discount_price_w VARCHAR( 150 ) DEFAULT '0' AFTER discount_price;
ALTER TABLE customers ADD customers_wholesale VARCHAR( 4 ) DEFAULT '0' NOT NULL AFTER customers_whole;
Also, the attributes_controller.php has several pieces of info missing. Take your current version of attributes_controller.php BEFORE adding in the modded core file and do a winmerge on it. The current version leaves out many references to Zen Cart's securityToken in the session which will cause problems when you are adding product attributes (Trust me). That is all I have found so far. But once the above fixes are in place, the mod works great. Hopefully 1-7c will include these patches.