Always displays all products on the search results page

This bug occurs only on the Free plugin version when you have blocked public access to the website using e.g. basic auth, Coming Soon, etc.

Reason

The Free plugin version sends HTTP requests to itself using wp_remote_get() function. Instead of search results, the server receives HTTP error with e.g. code 403 Forbidden.

How to fix it?

Let your server do HTTP request to itself.

1. If you restricted access to selected IPs, add the IP of your server to whitelist.

2. If you use basic auth, add the following code to your wp-config.php file. Change user and password to yours.

define('DGWT_WCAS_BA_USERNAME', 'YOUR_USER');
define('DGWT_WCAS_BA_PASSWORD', 'YOUR_PASSWORD');

You can also ignore it because this error occurs only on the staging/development environment, where you block public access.