mark2 Posted April 9, 2010 Share Posted April 9, 2010 Hi,I was seeing a problem where the name of products added from the catalog page were sometimes not being displayed in the AJAX cart. Although the quantity and price are displayed.There seems to be a problem in the truncation of the product name in the blockcart.tpl file. I replaced this with substr and the problem seems to have gone.Regards, Mark Link to comment Share on other sites More sharing options...
mark2 Posted April 12, 2010 Author Share Posted April 12, 2010 That did not completely fix things. The problem seems to be due to multi-byte strings not working with the truncate function. I'm now using mb_substr which seems to be a better fix. Link to comment Share on other sites More sharing options...
shacker Posted April 12, 2010 Share Posted April 12, 2010 That did not completely fix things. The problem seems to be due to multi-byte strings not working with the truncate function. I'm now using mb_substr which seems to be a better fix. Hi. You activate the compatibility in your theme?This mod causes some error in ajax Link to comment Share on other sites More sharing options...
mark2 Posted April 13, 2010 Author Share Posted April 13, 2010 I'm not using compatibility mode, I started the development with the 1.2.5 release.But a user would only see this problem in a language with special characters beyond basic ascii, in my case it occurs with French.Regards, Mark Link to comment Share on other sites More sharing options...
Recommended Posts