Jump to content
Sign in to follow this  
pqpqpq

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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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