SELESA • CERIA • BERGAYA
Menu open/close
Home    /    Sales Item
1054 - Unknown column 'gz.geo_zone_id' in 'where clause'

select count(p.products_id) as total from products p, specials s, products_description pd where p.products_id = s.products_id and p.products_status = '1' and s.status = '1' and s.start_date < now() 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]