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 Ernest Marcinko Ernest Marcinko 5 years, 10 months ago.

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


    i have installed your Plugin on this site:

    But i need that the plugin ignore white Space in SKUS

    Find: 08 2811 000 000
    No result with: 082811000000

    Please help!

    Ernest Marcinko
    Ernest Marcinko


    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.

    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.