20%Christmas Sale — Save 20% on All PRO Plugins!

23Days16Hours45Minutes53Seconds
Shop Now
← Back to plugin Plugin documentation

Shipping Rules Tester PRO for WooCommerce

Installation, licensing, configuration, updates and troubleshooting for this specific plugin.

Shipping Rules Tester PRO for WooCommerce Current version: 1.0.2 View plugin

Requirements

WordPress 6.7 or newer, PHP 7.4 or newer and WooCommerce 9.6 or newer (tested up to WooCommerce 11.3 and WordPress 7.1). Batch runs and schedules use the Action Scheduler of WooCommerce and need WP-Cron or a server cron that calls wp-cron.php. The tester is available to users with the manage_woocommerce capability (administrators and shop managers).

Installation

  1. Download the ZIP from your Pluginivo account.
  2. In WordPress open Plugins → Add New → Upload Plugin, select the ZIP, click Install Now and then Activate.
  3. Open WooCommerce → Shipping Rules Tester.

If the separate free plugin “Pluginivo Shipping Rules Tester” is installed, it is deactivated automatically. Scenarios and results are shared and kept, and you can delete the free plugin afterwards.

Create your first scenario

  1. Click Load example scenario (fictional address) to start with an example, or Add empty scenario.
  2. Give the scenario a name that describes the order, for example “Berlin – backpack over €50 (free shipping)”.
  3. Under Products search for products or concrete variations by name or SKU and enter the quantities (up to 10 lines; save to get more empty lines).
  4. Enter Country, State / region, Postcode and City. Use real postcodes if your zones are limited by postcode.
  5. Optionally enter a Coupon.
  6. Select the Checkout type: classic checkout (shortcode) or block checkout (Store API).
  7. Click Save scenario.

Run a test and save the expected result

Click Run test. Under What WooCommerce returned you see the cart subtotal, the tax setting, the checkout type and for each package the matched zone, the method instance ID (for example flat_rate:1), name, price, tax and final amount. For free shipping the plugin shows the comparison WooCommerce makes with the minimum amount.

If the result is what your customers should see, click Save this result as expected. Methods that are not offered are saved as “absent”, so the test also fails if such a method suddenly appears. You can also open Edit scenario and expectations and enter expectations manually: package, method instance, offered or absent, an optional amount and whether the amount is compared before or including tax. Leave the amount empty to check only that the method is offered.

Read the status

  • Passed – every expectation is met.
  • Deviation – at least one method or amount differs. The table shows expected, obtained and what deviated, for example “Amount (before tax) differs. Difference: +0,54 €”, with explanations such as the free shipping minimum or a missing coupon.
  • Incomplete – the result could not be checked completely, for example because a method of another plugin is not executed, no expectations are saved yet or the scenario depends on B2B prices.
  • Error – the scenario could not be calculated, for example because a product was deleted or the state does not belong to the country.

When a change is intended, click Replace expectations with this result. The previous five versions of the expectations are kept.

Sets and batch runs

Open Manage sets and export. Create a set (for example “Black Friday coupons” or one set per client shop), duplicate the current set or rename it. Each set holds up to 20 scenarios; up to 20 sets are possible. Click a set name at Scenario sets to switch to it.

Run all scenarios of this set starts a batch in the background. Reload the page to see the progress; the summary shows how many scenarios passed or deviated. Only one batch per set runs at a time. An interrupted batch can be resumed; an hourly watchdog resumes it once automatically, and after 30 minutes missing scenarios count as errors.

History and changes

Open History and changes in a scenario. Changes since the previous run lists what is different: status, zone, methods added or removed, price, tax and name. The table lists every run with status, who started it and the rates. Set how long the history is kept under Keep history for … days (90 days by default).

Schedule and e-mail alerts

  1. Open Manage sets and export → Schedule and notifications.
  2. Choose daily or weekly (with weekday) and the time. The time uses the site time zone shown next to it.
  3. Tick E-mail when a passing test breaks for the first time, and when it recovers and enter up to 10 recipients separated by commas (empty = the site’s admin e-mail).
  4. Click Save. The next scheduled run is shown at the top of the page.

You receive one e-mail when tests break and one when they recover, with the changes for each scenario and a link to the tester.

CSV export

Under CSV export choose latest result per scenario or the history for a number of days and click Download CSV. The file is UTF-8 with BOM and safe to open in Excel.

Supported methods and limitations

Supported: Flat rate, Free shipping, Local pickup (zone methods), pickup locations of the block checkout, simple products and variations with fixed attributes, shipping classes, multiple packages, classic and block checkout and your store’s tax settings.

Not calculated: carrier plugins with live rates, table rate and other third-party methods (marked Incomplete). Not simulated: B2B or role prices, multi-currency and product add-ons that change prices in the cart; the tester calculates as a guest customer. A cart with only virtual products cannot be saved as an expected result.

Data and privacy

Scenarios, expectations, last results and settings are stored in WordPress options that are not autoloaded; the run history is stored in the table {prefix}pluginivo_srt_runs. No customer, order, session or token data is stored. Deactivating keeps all data. To remove everything when the plugin is deleted, enable Delete all tester data when the plugin is deleted under Data and privacy, or click Delete all tester data now.

Troubleshooting

  • Batch stays at “0 of N scenarios done”: WP-Cron is not running. Check Tools → Site Health, or add a server cron that calls wp-cron.php every 5 minutes.
  • Error “State/region is not valid”: select the state from the list for the chosen country.
  • Incomplete although methods are shown: a method of another plugin was returned but not executed, or no expectations are saved yet.
  • No e-mail arrives: e-mails are sent only when a passing test breaks or recovers. Check that WordPress can send e-mail (for example with an SMTP plugin).