No Result with whitespaces

Home Forums Product Support Forums Ajax Search Pro for WordPress Support No Result with whitespaces

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
3 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18290

    Participant

    Hi,

    i have installed your Plugin on this site:
    https://www.ehartner.at/shop/

    But i need that the plugin ignore white Space in SKUS

    Example:
    Find: 08 2811 000 000
    No result with: 082811000000

    Please help!
    Thanks!

    #18292

    Hi,

    This is unfortunately not possible without using the index table engine + using a custom code to index non whitespaced SKUs.

    1. Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!

    2. Make sure to configure and enable the index table engine:
    Creating the index table
    Enabling the index table
    Don’t forget to choose the product custom post type, as well as the _sku custom field for indexing.

    After generating and enabling the index table, the SKUs without the whitespace will be indexed as part of the content.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.