Jump to content

Assistance with Smarty


Recommended Posts

14 hours ago, steven99 said:

I believe order_details is just text, so using the following may work:

I suspect that you might have to tweak the Smarty Security Policy to allow you to use replace in an email template.

ultimately, as it's the last line of the variable, you might be able to use substr with a negative value to remove the final x characters - but again, that would have to be enabled in the above policy... replace might be awkward because often the $xx.xx will be mentioned a number of times in the variable.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated