Jump to content

Retrieve The Product Attachment File Extension


ddaniele

Recommended Posts

Found a solution,

 

                            {assign var="var" value=$attachment.file_name}
                            {$attachment.name|escape:'html':'UTF-8'}{' ('}{($var|substr:($var|strpos:"."+1))|upper}{')'}
 

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...