Jump to content
Sign in to follow this  

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

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?

Share this post

Link to post
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
Sign in to follow this  

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More