The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Special Characters in Cart

cwillenbrockcwillenbrock Member
in Bugs & Feature Requests edited March 2013
I just noticed that when I pass a product name with special characters, it doesn't retain the HTML friendly version of the name.

For instance, if I pass a value like this through my cart:
<input type="hidden" name="name" value="Trademarked Product Name&trade;" />

It shows up as this on my checkout/receipt page:
<span class="fc_cart_item_name">Trademarked Product Name™</span>

Is this just me? Is there something I can do to prevent this? Do I need to change the way the name is passed?
Tagged:
Comments
  • lukeluke FoxyCart Team
    Hello cwillenbrock. Which store is this for and what version are you on? It may have something to do with twig. Either way, we'll take a look.
  • Do you need the store URL? The store is using v 1.0 of the cart.
  • fc_adamfc_adam FoxyCart Team
    @cwillenbrock,

    We were able to replicate what you were seeing ourselves, so it's all good - thanks though!
Sign In or Register to comment.