Quote from Manuel on August 1, 2020, 09:09
Hi,
The problem is that when loading any product page where WOOF is applied, the result counter at the bottom of the page appears wrong (the top resault counter is ok). To be more specific, the sort list and the counter “Showing all results X” should appear on the same line. As soon as I apply a filter it appears correctly.
In the HTML code is that instead of showing up:
<div class="storefront-sorting">
<form class="woocommerce-ordering" method="get">
...
</form>
<p class="woocommerce-result-count">Mostrando el único resultado</p>
</div>
Appears outside the container:
<div class="storefront-sorting">
<form class="woocommerce-ordering" method="get">
...
</form>
</div>
<p class="woocommerce-result-count">Mostrando el único resultado</p>
As you can see, I work with the Storefront theme and disabling WOOF appears correctly.
It appears correctly when I remove these lines (1879-1883) from plugin index.php:
//for ajax output
if (get_option('woof_try_ajax', 0) AND ! isset($_REQUEST['woof_products_doing'])AND ! $is_wc_shortcode) {// woo3.3
echo '</div>';
echo '</div>';
}
Thanks
Hi,
The problem is that when loading any product page where WOOF is applied, the result counter at the bottom of the page appears wrong (the top resault counter is ok). To be more specific, the sort list and the counter “Showing all results X” should appear on the same line. As soon as I apply a filter it appears correctly.
In the HTML code is that instead of showing up:
<div class="storefront-sorting">
<form class="woocommerce-ordering" method="get">
...
</form>
<p class="woocommerce-result-count">Mostrando el único resultado</p>
</div>
Appears outside the container:
<div class="storefront-sorting">
<form class="woocommerce-ordering" method="get">
...
</form>
</div>
<p class="woocommerce-result-count">Mostrando el único resultado</p>
As you can see, I work with the Storefront theme and disabling WOOF appears correctly.
It appears correctly when I remove these lines (1879-1883) from plugin index.php:
//for ajax output
if (get_option('woof_try_ajax', 0) AND ! isset($_REQUEST['woof_products_doing'])AND ! $is_wc_shortcode) {// woo3.3
echo '</div>';
echo '</div>';
}
Thanks