 |
|
|
|
|
 |
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 '.products_name, pd.products_short_description, p.products_id, p.manufacturers_i' at line 1
select p.products_model,p.products_retailprice pd.products_name, pd.products_short_description, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, if(s.status, s.specials_new_products_price, null) as specials_new_products_price, if(s.status, s.specials_new_products_price, p.products_price) as final_price
from (products p
left join specials_retail_prices s using(products_id) )
left join manufacturers_info m on p.manufacturers_id = m.manufacturers_id,
products_description pd,
products_to_categories p2c
where p.products_status = '1'
and p.products_id = p2c.products_id
and pd.products_id = p2c.products_id
and pd.language_id = '1'
and p2c.categories_id = '2' and (products_group_access like "%,g,%" or products_group_access like "g,%" or products_group_access like "%,g" or products_group_access="g") order by p.sort_order, p.products_model , pd.products_name limit 0, 12
TEP_DB_ERRORR
| | | |
| |