Search with custom tabs on product page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search with custom tabs on product page

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14063
    ekuk
    ekuk
    Participant

    Hi, customer needs the search to pick up the content of custom tabs on the product page so for example

    http://www.lawtontools.co.uk/en/product/ohle-tool-kit/

    if you search for “Hacksaw blades” this page isn’t being found in search though that phrase appears in the kit contents tab. The tabs on the product page are being created by Custom Product Tabs for WooCommerce by Yikes. They contain text but can also contain shortcode which also needs to be indexed as they are moving to a new table system (WP Table Manager by joomunited ) in the tabs which is called via shortcode

    #14065
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Thank you for the details, I think I have managed to find a solution.

    After closer inspection I found that the tabs content is stored within the yikes_woo_product_tags custom field. Basically, I have added this custom field on the index table panel, re-created the index, and now it seems like it picks up the text from that field as well: https://i.imgur.com/BWTiW7Z.png

    Best,
    Ernest Marcinko

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


    #14066
    ekuk
    ekuk
    Participant

    Many thanks for your super rapid response, greatly appreciated. The fix is working for text in the tab but not for content called by shortcode in the tab as far as I can see. I’ve just published a dummy product using the new table system the client is using (the table is called with shortcode in the tab), cleared the cache, reindexed then done a search for text in the table and it didn’t find anything.

    http://www.lawtontools.co.uk/en/product/dummy-product/

    searched for ABC-123

    #14067
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I’m afraid that might not be possible. Tabs are rendered via the template (or withing woocommerce default template) and not as a shortcode. I’m not aware of any solution that allows accessing the tabs content within an ajax call unfortunately.

    In case you know any way on how to get the tabs content based on the product ID, then I might be able to construct some kind of colution for that.

    Best,
    Ernest Marcinko

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


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

The topic ‘Search with custom tabs on product page’ is closed to new replies.