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