Jump to content

Customer last name not displayed in Product comments


Recommended Posts

If the customer's name is "Sam Jones", it should be displayed as "Sam J..."

However it is currently displaying "Sam ..."

Based on the code below, I don't know why this isn't working:

{$comment.firstname|escape:'html':'UTF-8'} {$comment.lastname|truncate:1:'...'|escape:'htmlall':'UTF-8'}.



Truncate is set to 1, so I'm a bit confused. Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...