• Resolved jpad

    (@jpad)


    Hi,

    Search-cop with search target set on Products was not working for me.
    When I check the code of ooohboi-steroids it seem that the search_cop_val=’product’ was not implemented.

    I just change this code:
    (ooohboi-steroids.js – line 733)
    if( ‘post’ === search_cop_val || ‘page’ === search_cop_val) {
    =>
    if( ‘post’ === search_cop_val || ‘page’ === search_cop_val || ‘product’ === search_cop_val ) {

    AND
    (ooohboi-steroids-min.js)
    if(“post”===e||”page”===e){var t=this.$element.find(
    =>
    if(“post”===e||”page”===e||”product”===e){var t=this.$element.find(

    Now the serach product work well.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, tried your fix, thank you!

    The problem is that the functionality works, but does not keep the styling I made for the elementor Archive Products widget used for search results page, displays the default theme style.

    Anything that can help with this?

    Plugin Author Oooh Boi

    (@ooohboi)

    But you gotta create the Search template in Elementor if you dislike the default one (the theme default)! You can also use the Ele Custom Skin plugin to design your own post in the search loop…
    Does that make any sense?

    Hi,

    I actually created the Search template in Elementor, the problem is that:
    – when the search is used for “everything” (in url: ?&s=something) the template works and shows the correct
    – when it’s used just for products (in url: ?post_type=product&s=something) it won’t work and will show the default one
    – most likely this is an issue from Elementor (since by default it does not provide the option to select “Search Target”)?

    I already started to check Ele Custom Skin plugin, need to check if everything works with that, because I read that has some problems with filtering.

    Thank you anyway for the suggestion!

    Thread Starter jpad

    (@jpad)

    In your archive Products have you set the display conditions on search result?
    It could also be a WordPress cache issue

    It actually was a WordPress cache issue, that only using WP Super Cache fixed it, not just browser cache.

    Thank you!

    Plugin Author Oooh Boi

    (@ooohboi)

    OK, it’s nice to have a feedback from you on this topic! I hope it’ll be helpful for everyone else having an identical problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Search-cop – Search Target: Search Products’ is closed to new replies.