Jump to content

Product name not displayed in AJAX cart


Recommended Posts

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

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

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

×
×
  • Create New...