ale0178 Posted October 9, 2013 Share Posted October 9, 2013 Hi all, after upgrade ti 1.5.6 the product name in cart is disapear.. if refresh the page the product name work good. another problem, after upgrade 1.5.6 the email alerts don't work. thanks Link to comment Share on other sites More sharing options...
abondares Posted October 11, 2013 Share Posted October 11, 2013 Same problem here. Link to comment Share on other sites More sharing options...
abondares Posted October 11, 2013 Share Posted October 11, 2013 Problem with mail alerts resolved. this helped: http://www.prestashop.com/forums/topic/280613-upgraded-to-156-and-every-email-sent-malformed-recipient-address/ Problem with the name is still present. Link to comment Share on other sites More sharing options...
ale0178 Posted October 11, 2013 Author Share Posted October 11, 2013 Problem with mail alerts resolved. this helped: http://www.prestashop.com/forums/topic/280613-upgraded-to-156-and-every-email-sent-malformed-recipient-address/ Problem with the name is still present. Thanks, mail alerts now works good.. Link to comment Share on other sites More sharing options...
abondares Posted October 11, 2013 Share Posted October 11, 2013 Resolved, sort of the problem with the names of the products. In theme/modules/blockcart I edited blockcart.tpl There is a line with the name of the product: <a class="cart_block_product_name" href="{$link->getProductLink($product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)}" title="{$product.name|escape:html:'UTF-8'}"> {$product.name|truncate:13:'...'|escape:html:'UTF-8'}</a> I changed the truncate value to 18. You can change it to the length Your theme allows You. Link to comment Share on other sites More sharing options...
ale0178 Posted October 11, 2013 Author Share Posted October 11, 2013 I try, but when i click add to cart, in cart i see only "..." if refresh the page the cart show the right product name . Link to comment Share on other sites More sharing options...
abondares Posted October 11, 2013 Share Posted October 11, 2013 Yes You are right. Same thing here. This is a problem related with AJAX I think. Link to comment Share on other sites More sharing options...
ale0178 Posted October 11, 2013 Author Share Posted October 11, 2013 Yes You are right. Same thing here. This is a problem related with AJAX I think. I think so too Link to comment Share on other sites More sharing options...
abondares Posted October 15, 2013 Share Posted October 15, 2013 Any news on resolving this issue? Link to comment Share on other sites More sharing options...
trinkinho Posted November 4, 2013 Share Posted November 4, 2013 (edited) To solve this, edit your /modules/blockcart/ajax-cart.js file, in your prestashop installation directory, and in the line 467 change content += '<a href="' + this.link + '" title="' + this.name + '" class="cart_block_product_name">' + name + '</a>'; to content += '<a href="' + this.link + '" title="' + this.name + '" class="cart_block_product_name">' + this.name + '</a>'; It's a temporal solution but it works. Regards. Edited November 4, 2013 by trinkinho (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts