Support Forum

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

Show 'In Stock products only' by default on load, but let user uncheck the In stock checkbox to see Out of Stock products/variations

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
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 [] 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.
Hello, when using the 'In Stock products only' snippet from the Help page, the In stock checkbox is checked on page load, as expected.
Problem: It's impossible to uncheck the In stock checkbox. On every page load, it's checked.
We need the user be able to use the In stock checkbox. Could you help please?


Then remove this custom code

Use a  link  to  this  page. Example:

Thanks for your reply!

As the website has a lot of links and menus to the Shop Pages and Product Category pages, and Editor Users may add new links at any time, so I use this function to append the url parameter.

// Show 'In Stock products only' by default on Shop Pages

jQuery('#wrapper a[href^=""]').each(function() {
var $this = jQuery(this);
var _href = $this.attr('href');
$this.attr('href', _href + '?swoof=1&stock=instock');

Ok for you?


Yes. it should work