Home Forums WoodMart support forum Search by SKU with white space

Search by SKU with white space

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #114959

    JoeG911
    Participant

    Hi,

    I have a client that has uploaded their products with an SKU in the format of “1234 5678”. When we search by SKU, it will not return any results, I presume because of the whitespace. Changing an SKU to 1234-5678 will return a result. The client does not wish to change their SKU format, as it is used in catelogs etc. What code do I need to change in order for search by SKU with white space to work?

    thanks,

    Joe

    #114967

    Artem Temos
    Keymaster

    Hi,

    Sorry, but we are not able to change this functionality and SKU have to be without white spaces.

    Kind Regards

    #114979

    JoeG911
    Participant

    But where does the functionality come from? WooCommerce? Surely there has to be a fix for this, we can’t be the first company with SKU including white space

    #115040

    Artem Temos
    Keymaster

    Sorry, but there is no workaround for this. SKU search works with one word only. SKU with spaces is considered as multiple words and it doesn’t work as expected.

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)