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

Can I control page reload?

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.

I have a store located at  energystardev.kiarmedia.com.  It sells plaques for Energy Star Buildings.  To be able to buy some products, you must first find what building you are buying them for.  If you click the"Find My Facility" button on the home page, it takes you to a search form.  You can enter any information - such as selecting a state - to see the first 30 facilities that match.  Pick any facility and the site takes you to the store page.  There are 2 URL variables, one for the facility ID and one listing the years for which that facility was certified, separated by commas, like"1027, 2018, 2019".

The product category filter made using your plugin is shifted off the left side of the shop page by CSS because users will not need to use the filters at all.  The site will just display the products they can buy based on their facility qualifications.  I use Javascript on the shop page to look at the URL variable containing the years and then trigger a click on each product category that matches each year.

Is there any way that I can prevent any automatic page reloads until I have set all of the category filters?  If there is a JavaScript function or a setting somewhere that will disable automatic reload, I would be able to programmatically click on the correct set of product categories and than programmatically trigger a single reload.

Hello

Try

woof_autosubmit=0;

//your JS trigger

woof_autosubmit=1;

// last  JS trigger

 

I installed the premium version of the plugin.  I've disabled autosubmit and added 'woof_autosubmit=0;' to the start of the javascript I use to adjust filters.  I added woof_autosubmit=1; after finishing the triggers.  The entire page is still reloading every time a filter is changed.  I am also missing the 'Filter' button in the filter form.  Cannot figure out how to get it to not trigger a page load with each filter click.

There is admin access if you need it - see the hidden info section.  I am injecting my JavaScript using a Toolset View placed in a widget on the shop page. That same JavaScript does not execute if I put it in the Custom Code area of your plugin. Not sure why.

Doooh!!   Forgot that 'autosubmit' is a setting in the widget.  Flipped that and made a few adjustments to my jQuery to eliminate a loop (checked for swoof=1 to stop jQuery trigger of filter button) and it works!  Thanks!

Hello

Great!  Welcome;)