[eluser]Ajaxian64[/eluser]
Hi all,
I have a question regarding the Cart class which has a strange behavior when I give a name with ' (quote)
For instance when I give field
Code:
$data = array(
'id' => 'sku_123ABC',
'qty' => 1,
'price' => 39.95,
'name' => 'L\'ordre qu\'il faut',
'options' => array('Size' => 'L', 'Color' => 'Red')
);
I'm french, then name is using quote, and then cart fails.
When I suppress quote it works !!!!
is there a way to keep quote in name field ?
Thanks All!