Here are some bugs fixes for V1.1 Original French Post HERE
————————————————————————————
http://www.prestashop.com/bug_tracker/view/1091/
Cart truncate:
in /modules/blockcart/blockcart.tpl line: 44
find:
{$product.name|escape:htmlall:'UTF-8'|truncate:20}
replace:
{$product.name|escape:htmlall:'UTF-8'|truncate:16}
in /modules/blockcart/blockcart-json.tpl line: 77
find:
'{$error|addslashes}'
replace:
'{$error|addslashes|html_entity_decode:2:'UTF-8'}'
————————————————————————————
Stat problem
in /admin/tabs/AdminStatsTab.php line: 36
find
if ($month = Tools::getValue('dateInputMonth', -1) AND Validate::isUnsignedInt($month))
replace
if (($month = Tools::getValue('dateInputMonth', -1)) != -1 AND Validate::isInt($month))
————————————————————————————
http://www.prestashop.com/bug_tracker/view/1080/
in /modules/cheque/cheque.php line: 33
find:
if (!isset($this->address) OR !isset($this->address))
replace:
if (!isset($this->chequeName) OR !isset($this->address))
————————————————————————————
http://www.prestashop.com/bug_tracker/view/1059/
problem with customised product in BO
in /admin/tabs/AdminProduct.php line: 422
find:
$product->customizable = (intval($_POST['uploadable_files']) > 0 OR intval($_POST['text_fields']) > 0) ? true : false;
replace:
$product->customizable = (intval($_POST['uploadable_files']) > 0 OR intval($_POST['text_fields']) > 0) ? 1 : 0;
————————————————————————————
http://www.prestashop.com/bug_tracker/view/1155/
pagination bug in new-products.php
Details:
On new-products page. Pagination block don’t show the good number of page.
If there is 3 new-products and 60 products in the database, 3 products are displayed (that good) but there is a link for
each page (1, 2, 3, 4, … 6) [with the default display 10 products by page].
To correct this bug, In the new-product.php page:
Ok, there is the new correction:
The original file was good:
line 8:
$nbProducts = intval(Product::getNewProducts(intval($cookie->id_lang), NULL,NULL, true));
but in classes/Products.php, getNewProducts was not good
find line 903:
if ($count)
{
$result = Db::getInstance()->getRow('
SELECT COUNT(`id_product`) AS nb
FROM `'._DB_PREFIX_.'product`
WHERE `active` = 1');
return intval($result['nb']);
}
replace:
if ($count)
{
$result = Db::getInstance()->getRow('
SELECT COUNT(`id_product`) AS nb
FROM `'._DB_PREFIX_.'product`
WHERE `active` = 1
AND DATEDIFF(`date_add`, DATE_SUB(NOW(), INTERVAL '.(Validate::isUnsignedInt(Configuration::get('PS_NB_DAYS_NEW_PRODUCT')) ? Configuration::get('PS_NB_DAYS_NEW_PRODUCT') : 20).' DAY)) > 0');
return intval($result['nb']);
}
Because original count return the number of products on database instead of the number of new products.
—————————————————————————————
about products accessories that can’t be set off, a tip is given in this post
http://www.prestashop.com/forums/viewthread/10492/#48055
in file js/admin.js comment:
/*console.log('---');
console.log(input);
console.log('___');
console.log(name);*/
About accessories, it’s a browser bug , console.log let by devs create bugs with some browsers, not FF2 but FF3 . take off all console.log from javascripts code.





