Home Forums Basel support forum problem with product category page when there is not product in the category

problem with product category page when there is not product in the category

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #45463

    eliparodi
    Participant

    Hi, I have problem with product category page when there is not product in the category, the page load with errors, my footer shows up inside my main-page-wrapper, so the footer show up incomplete

    #45486

    Artem Temos
    Keymaster

    Hello,

    Could you please temporarily disable all plugins that are not related to our theme?

    Thank you

    #45792

    eliparodi
    Participant

    Hi,

    i just disable WOOF – WooCommerce Products Filter plugin and that solve the error, but i really need to use the plugin, so can you help with compatibility

    #45839

    Artem Temos
    Keymaster

    Seems that this plugin breaks the page HTML markup. Try to contact your plugin’s developers and ask them to fix this bug in their plugin. We can’t do anything from our theme side to prevent this.

    #46055

    eliparodi
    Participant

    ok, thanks

    #46082

    Artem Temos
    Keymaster

    You are welcome.

    #47269

    eliparodi
    Participant

    Hi, talk with the plugin developer and he told me this:

    Hello

    Problem in your current theme:)

    Facts ( you can provide this in support of the theme ):

    1) I added some code (echo “before!!!! “; AND echo “After!!!! “;) ) to actions woocommerce_after_shop_loop AND woocommerce_before_shop_loop – Result: https://c2n.me/3SLggHH.jpg – Where “After!!!”?

    2) In file – \wp-content\themes\basel\woocommerce\loop\no-products-found.php – I added this code – https://c2n.me/3SLgyCB.png Result: – https://c2n.me/3SLgDz9.jpg – is correct template

    Even if there are no products the template should call – woocommerce_after_shop_loop

    so, please can you help me solving this?

    #47324

    Artem Temos
    Keymaster

    Hello,

    OK, lets try to fix this.

    1. Clone the file basel/woocommerce/archive-product.php to the same location in the child theme.

    2. Find and move this code to the location shown on the screenshot

    /**
    * Hook: woocommerce_after_shop_loop.
    *
    * @hooked woocommerce_pagination - 10
    */
    do_action( 'woocommerce_after_shop_loop' );

    Regards

    #47538

    eliparodi
    Participant

    Hi thaanks very much, that solved the problem

    #47546

    Artem Temos
    Keymaster

    Great, you are welcome!

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