PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Woocommerce result count issue on load

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

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

Hello

Thank you  for  cooperation!

I passed this information to the developer

I will write to you as soon as we find a solution

Hello

Undo all your changes to the plugin code

And  change  code - https://c2n.me/48DTmvj.png

Thanks for the reply, it works correctly, but is there a way to make this change permanent (via theme's functions.php) and prevent it from getting lost when updating the plugin? Will it be a change to be added to the next plugin update?

It is for a client's website and it is difficult to teach them to change that line of code every time the plugin is updated.

Greetings

Hello

This will be included in the new version of the plugin.

Ok, thanks for the plugin and support

Hello

Welcome;)

 

Hi Pablo,

The plugin has already been updated several times and this change has not yet been made. Please could you keep it in mind for the next update?

Thanks

Hello

The plugin was updated only once.  This was an emergency update for compatibility with the WordPress update.

In the next version this will be included

Nice, thanks for your quick reply

Hello

Welcome;)