Home    /    POSH SCARVES
POSH SCARVES
  • Categories
  • Price
  • Color
    159
    ABSTRACT BLUE
    ABU
    ADMIRAL
    AEGEAN
    aegen
    MORE +  
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and (p.products_date_available < now() or p.products_date_available IS NULL)' at line 1

select count(distinct p.products_id) as total from products p, products_description pd, products_to_categories p2c, categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and (c.parent_id = '102' or p2c.categories_id = '108' or p2c.categories_id = '109' or p2c.categories_id = '110' or p2c.categories_id = '103' or p2c.categories_id = '107' or p2c.categories_id = '106' or p2c.categories_id = '105' or p2c.categories_id = '118' or p2c.categories_id = '119' or p2c.categories_id = '111' or p2c.categories_id = '112' or p2c.categories_id = '113' or p2c.categories_id = '114' or p2c.categories_id = '115' or p2c.categories_id = '116' or p2c.categories_id = '117' or p2c.categories_id = '152' or p2c.categories_id = '146' or p2c.categories_id = '147' or p2c.categories_id = '148' or p2c.categories_id = '149' or p2c.categories_id = '150' or p2c.categories_id = '151' or p2c.categories_id = '164' or p2c.categories_id = '165' ) and p.products_status = '1' and p.products_free_gift_status = '0' and p.products_third_party_status = '0' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_price <= 50) and (p.products_date_available < now() or p.products_date_available IS NULL)

[TEP STOP]