Hi guys,
I have a heavily modded oscommerce installed. I have SEO friendly URLS, extra product fields, and the STS package.
I've noticed that when I add a product which has attributes associated to it, when it's added to my basket the link when hovered over reads as this:
http://www.mywebsite.co.uk/catalog/product...ts_id=2{4}3{3}6
If i try to continue shopping or click this link, i get a blank page with the following error on it:
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 '{4}3{3}6 and ptf.products_extra_fields_value<>'' and (pef.languages_id='0' or pe' at line 1
SELECT pef.products_extra_fields_status as status, pef.products_extra_fields_name as name, ptf.products_extra_fields_value as value FROM products_extra_fields pef LEFT JOIN products_to_products_extra_fields ptf ON ptf.products_extra_fields_id=pef.products_extra_fi elds_id WHERE ptf.products_id=2{4}3{3}6 and ptf.products_extra_fields_value<>'' and (pef.languages_id='0' or pef.languages_id='1') ORDER BY products_extra_fields_order
[TEP STOP]
All other products I add, which do not have any attributes (e.g. a memory size on a drop down), will be fine and when clicked go to the correct place...... Can you help?
From looking at the code it seems like a extra fields issue - however, I'm not actively adding extra fields right now. I swear it must be a conflict somehow - could be related to Ultimate SEO?
I could just never add any products with attributes but that might not help me out.





LinkBack URL
About LinkBacks











Bookmarks