Home Forums Basel support forum Want to search SKU in the main search box in header

Want to search SKU in the main search box in header

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

    londongeorge
    Participant

    I want to search SKU in the search box in header of https://winya.com.au.

    I have to to work it out, but the problem is.. when i search SKU for example, ‘pan18’ in the search bar, it says ‘No products found’. But when i hit enter or press search button it shows me the exact product.

    I had been trying to work it out in Basel->inc->classes->Search.php

    No luck.

    I can’t even find this filter in the whole theme. basel_ajax_get_products

    Please help me out.

    Objective: is to list the products in real time, while typing sku in the search. Like its normally doing for the product titles.

    Attachments:
    You must be logged in to view attached files.
    #7894

    Artem Temos
    Keymaster

    Hello,

    Thank you for this interesting question.

    Could you please clarify what kind of customization did you make to force WooCommerce search by SKU? We will try to help you add this code to our Search PHP class.

    Regards

    #7914

    londongeorge
    Participant

    Hi! Thanks for the reply.

    I’m using this plug in.

    https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/

    But I’m not using the search widget they provided. I just enabled the plug in.

    #7925

    Artem Temos
    Keymaster

    Hi,

    So this plugin adds search by SKU functionality to the default search page? In this case, we will try to build this function in our theme core and add to the AJAX widget also in one of our future updates.

    Regards

Tagged: 

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