|
|
|
|
|
|
|
|
 |
| There are currently no product reviews |
 |
|
|
|
|
|
|
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 'order by final_price , pd.products_name limit 0, 30' at line 14
select distinct p.products_image, pd.products_name, p.products_download, p.products_download_link,
p.products_id,
if (isnull(pg.customers_group_price), p.products_price, pg.customers_group_price) as final_price,
p.products_tax_class_id,
p.products_image, IF ((p.products_quantity + p.murphys_quantity) > 0, 0, 1) AS Trend
from ((products p
left join products_groups pg on p.products_id = pg.products_id and pg.customers_group_id = 'G')
left join specials s on p.products_id = s.products_id),
products_description pd
where
p.products_status = '1'
and pd.products_id = p.products_id
and pd.language_id = '1'
and p.products_group_access like '%G%' order by Trend, p.products_id DESC order by final_price , pd.products_name limit 0, 30
[TEP STOP]
|
| | |