Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Removing space from the search string / Product not found

Started by unclesam2010, December 12, 2015, 07:51:51 PM

Previous topic - Next topic

unclesam2010

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

abantecart

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

unclesam2010

Thankn you!!! Trimming works perfect!! thanks for quick response.

Forum Rules Code of conduct
AbanteCart.com 2010 -