error 500 when in product name there is | (pipe)
Opened this issue · 0 comments
ang3lx commented
Hello
I got 500 error when try to add or delete product from cart products that have | in name
I've fixed with a str_replace
line 533
'name' => Tools::str2url(str_replace("|", "-", $product['name'])),
line 549
'name' => Tools::str2url(str_replace("|", "-", $product['name']))
line 798
$add_product['name'] = str_replace("|", "-", $add_product_object->name);
please fix new version :)
last update 2015 on addons store
thanks