Думаю, примеры из API надо обновлять. Взял указанный Вами, Наталья, код, поставил своё id свойства и своё поле товара и получаю следующую ошибку
Ошибка выполнения запроса! - 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 'AND CONVERT(CONCAT(SUBSTR(shop_properties_items_value, 7, 4), CHAR(45), SUBSTR(s' at line 13
Предупреждение: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource в файле /modules/shop/shop.class.php (строка 23612)
Ошибка выполнения запроса! - 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 'AND CONVERT(CONCAT(SUBSTR(shop_properties_items_value, 7, 4), CHAR(45), SUBSTR(s' at line 5
Судя по примеру Grane'а, проблема в CONVERT? Пожалуйста, помогите исправить ошибку в запросе
