Jump to content

SQL ERROR, need help please


Recommended Posts

This forum has solved my previous problems and I hope it will help me out again. In the product section in the Backoffice, I wrote 01 in the position field above the products thinnking the checked item would appear first . Now products don
SELECT SQL_CALC_FOUND_ROWS

b.*, a.*, cp.`position`, i.`id_image`
FROM `ps_product` a
LEFT JOIN `ps_product_lang` b ON (b.`id_product` = a.`id_product` AND b.`id_lang` = 1)

LEFT JOIN `ps_image` i ON (i.`id_product` = a.`id_product` AND i.`cover` = 1)
LEFT JOIN `ps_category_product` cp ON (cp.`id_product` = a.`id_product`)
WHERE 1 AND cp.`id_category` = 1 AND `position` LIKE '%'


ORDER BY `position` ASC
LIMIT 0,50


What can I do?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...