Page 1 of 1

Autocomplete does not work with apostrophe

Posted: Sat Dec 27, 2014 1:47 am
by Hackej
Hi!

I have a new install of OPC 2.0.1.1 and have a problem with autocomplete for Related Products.

The autocomplete/listing of products does not work for Related Products if product name begins/contains an apostrophe in the beginning, for example "I'm..."!

The product(s) are not displayed but it works OK for Downloads when used with the same name for Downloads.

Any idea how to fix this?

BR
/Hackej

Re: Autocomplete does not work with apostrophe

Posted: Sat Dec 27, 2014 2:59 am
by pm-netti
Hackej wrote:Hi!

I have a new install of OPC 2.0.1.1 and have a problem with autocomplete for Related Products.

The autocomplete/listing of products does not work for Related Products if product name begins/contains an apostrophe in the beginning, for example "I'm..."!

The product(s) are not displayed but it works OK for Downloads when used with the same name for Downloads.

Any idea how to fix this?

BR
/Hackej
Find in file admin/controller/catalog/product.php line 1387:

Code: Select all

$limit = 5;
change e.g to:

Code: Select all

$limit = 50;