Re: Auto populate featured products table
Hey,
thanks allot i appreciate it.. i love it, at least it works on the front page,
but when it comes down to the sub catagories i dont know why but i cannot auto populate it, i have to manually add them... heres an error i get from SQL
SQL query : INSERT INTO xcart_featured_products (productid, categoryid, product_order, avail) VALUES ('532', '125','0','Y')
Error code : 1062
Description : Duplicate entry '532-125' for key 1
Request URI: /admin/categories.php
Backtrace:
/home/admin/example.com/xcart/include/func/func.db.php:291
/home/admin/example.com/xcart/include/func/func.db.php:191
/home/admin/example.com/xcart/admin/categories.php:215
i have a few of these errors every time i try to populate it, for some reason it says duplicate but its not.. or at least i dont see it because theres no items there....
are you familure with this??..
anyways even if you dont help me out i think you've done a remarkable job in all honesty, saves us all of time..
Mike
|