Setting up discount coupon on this site for first time.
Everything works except that I am unable to establish coupon restrictions because Zencart not recognizing the prefix on my database table for 'products_to_categories'.
My database tables are prefixed "ws_"'
I get the following error when entering a product restriction:
1146 Table 'zc_wilks.products_to_categories' doesn't exist
in:
[select products_id from products_to_categories where categories_id = '7' and products_id not in (select product_id from coupon_restrict where coupon_id = '2')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Related entries in admin/includes/configure.php:
Code:
define('DB_PREFIX', 'ws_');
define('DB_DATABASE', 'zc_wilks');
Related entries in includes/configure.php:
Code:
define('DB_PREFIX', 'ws_');
define('DB_DATABASE', 'zc_wilks');
Bookmarks