Could not find the general Products Container, expected the selector .products

This topic has 8 replies, 3 voices, and was last updated 3 years, 9 months ago ago by Olga Barlow

  • Avatar: Sejkan
    Sejkan
    Participant
    February 27, 2021 at 10:49

    Hi Dear,
    I have problem with Woocommerce Products Search official plugin.
    I get console problem LOG: “Could not find the general Products Container, expected the selector .products”

    Plugin developer https://docs.woocommerce.com/document/woocommerce-product-search/faq/ note that this problem is cause by: .products CSS class applied

    I find something similar in your forum and I try to add “products” to:

    Default:
    <div class="row products-loop <?php echo esc_attr( $view_class ); ?> row-count-<?php echo esc_attr( $loop ); ?>"<?php if ($product_view == 'custom' && $custom_template != '' ) : ?> data-post-id="<?php echo esc_attr( $custom_template ); ?>"<?php endif; ?> data-row-count="<?php echo esc_attr( $loop ); ?>">

    Changed:
    <div class="row products products-loop <?php echo esc_attr( $view_class ); ?> row-count-<?php echo esc_attr( $loop ); ?>"<?php if ($product_view == 'custom' && $custom_template != '' ) : ?> data-post-id="<?php echo esc_attr( $custom_template ); ?>"<?php endif; ?> data-row-count="<?php echo esc_attr( $loop ); ?>">

    In changed version filter works but some shop elements are broken.
    Is there some better fix for this.

    Thank you

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 28, 2021 at 09:47

    Hello,

    Provide temporary wp-admin and FTP access, we will take a closer look.

    Regards

    Avatar: Sejkan
    Sejkan
    Participant
    February 28, 2021 at 11:57

    Sending you in pm.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 1, 2021 at 11:08

    Hello,

    Check now, please.

    Regards

    Avatar: Sejkan
    Sejkan
    Participant
    March 1, 2021 at 19:58

    Hmm, no site has problems.
    1. No sidebar on category pages after filter.
    2. After some body is blank.
    3. After filtering I have huge white space after products.

    Sending you screenshot in private

    Please contact administrator
    for this information.
    Avatar: Sejkan
    Sejkan
    Participant
    March 1, 2021 at 20:06

    One more thing

    Please contact administrator
    for this information.
    Avatar: Sejkan
    Sejkan
    Participant
    March 1, 2021 at 20:12

    After few test more, problem is still existing

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 2, 2021 at 14:19

    Hello,

    1) , 2) I checked your site and don’t see problem with the sidebar after filtering https://prnt.sc/10bbh0y
    https://gyazo.com/b9eea771754b887e62f78c647f98c3ec

    3) Any huge space https://prnt.sc/10bbhhq

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.