SELESA • CERIA • BERGAYA
Menu open/close
Lelong Raya
1054 - Unknown column 'gz.geo_zone_id' in 'where clause'

select count(distinct p.products_id) as total from products p left join specials s on p.products_id = s.products_id, 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 = '211' or p2c.categories_id = '212' or p2c.categories_id = '221' or p2c.categories_id = '244' or p2c.categories_id = '245' or p2c.categories_id = '251' or p2c.categories_id = '223' or p2c.categories_id = '213' or p2c.categories_id = '288' ) 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 (IF(s.status, s.specials_new_products_price, p.products_price) * if(gz.geo_zone_id is null, 1, 1 + (tr.tax_rate / 100) ) >= 50.1) and (IF(s.status, s.specials_new_products_price, p.products_price) * if(gz.geo_zone_id is null, 1, 1 + (tr.tax_rate / 100) ) <= 100) and (p.products_date_available < now() or p.products_date_available IS NULL)

[TEP STOP]