Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

XSELL CART


bhbilbao

Recommended Posts

http://addons.oscommerce.com/info/1808

 

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 '{6}17{8}36{7}26 AND px.xsell_id = p.products_id AND p.products_id > '100' AND xp' at line 1

 

SELECT p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id FROM products AS p, products_description AS pd, products_xsell AS px WHERE px.products_id = 10{6}17{8}36{7}26 AND px.xsell_id = p.products_id AND p.products_id > '100' AND xp.xsell_id > '100' AND px.xsell_id = pd.products_id AND p.products_status = '1' AND pd.language_id = '3' ORDER BY p.products_ordered DESC

 

[TEP STOP]

 

i tried to delimiting the query to non-atributed products but nothing.

 

This contribution needs some fix like "if tep not null --- px.products_id"

 

some suggest-

Link to comment
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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...