| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
make the ampersand an invalid character company name field | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
make the ampersand an invalid character company name field
I was wondering how I make the ampersand symbol (&) an invalid character for the customer company name field. I'm having an issue where my printer will not print an order if there is an & in the company name field. It is really bizarre. So unless I go really slow printing orders from my email program to make sure each one actually prints, I miss orders because they don't go to the printer.
I can't find a fix with the printer so I figured making the & invalid might be the easiest fix for now. Thanks.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#2
|
|||||||||
|
|||||||||
Re: make the ampersand an invalid character company name field
Quote:
You could just strip it from display on the printable invoice page. Shouldn't be too hard to do. Probably even a smarty strip tag would work. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|