AbanteCart Community
Shopping Cart Operations => Support => Topic started by: unclesam2010 on December 12, 2015, 07:51:51 PM
-
Regarding Search function. If the product name is entered correctly but the customer enters a space after the name in a search string result will be " no product found ", How to remove space or spaces from the search string in the end of the line?
What happens is: customer comes to the website and pastes his product in SEARCH and most of the time it has the following value 'product ' instead of 'product', so I desperately need to remove any spaces at the end of the line (search string)
Thank you
-
Good catch. Thank you.
Here is a fix for this issue.
https://github.com/abantecart/abantecart-src/commit/67ed0a73c3f136eacd0d7f6b3c6cacfbebec0d54
You can copy the file or just add one new line.
-
Thankn you!!! Trimming works perfect!! thanks for quick response.