How to remove commas in attribute (number) fields as needed?
-
Hi,
One of attributes we created for user to enter when creating listing is “year” for the year of vehicle made. So we have make, model and year. This is standard information for a car classifieds site.
For the Year field (both frontend, backend, and search filters) we do no want commas to be used because obviously this is wrong an not applicable to mfg. year made. We do not want to search for 1,967 Chevy Corvette but rather a 1967 Chevy Corvette. Same goes with the search filter we don’t want commas anywhere the year of vehicle is used.
The attribute type we used was ‘number’ and we want it to be a searchable/filterable range value so that users can filter/search vehicle for year range like 1960 to 1975 for example.
Did we miss something here? Are we using the wrong attribute type for vehicle years? This all seems simple in theory but it’s not obvious what’s we’re doing wrong and what the solution is via documentation, forum, etc.
Please advise,
Thank you!
- The topic ‘How to remove commas in attribute (number) fields as needed?’ is closed to new replies.