Pricing Deals for WooCommerce 2.0.3.2

Does "VarkTech Pricing Deals for WooCommerce" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
1PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/pricing-deals-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=pricing-deals-for-woocommerce%2Fvt-pricing-deals.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=pricing-deals-for-woocommerce%2Fvt-pricing-deals.php&plugin_status=all&paged=1&s&_wpnonce=eb8458587e
Aspect after-activation
HTTP status 200
Load time 0.350 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

No benchmark data available.

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
Language % Lines of code Comment lines Files
PHP76.3%32,26713,85320
PO File10.1%4,2601,9231
CSS7.0%2,9404459
JavaScript6.6%2,8036666
Total 42,270 16,887 36

PHP Code Analysis | More results »

Lines of code 33,541
Total complexity 4,957
Median class complexity 17.0
Median method complexity 3.0
Most complex class VTPRD_Apply_Rules
Most complex function VTPRD_Rule_update::vtprd_get_and_store_selection_arrays()
Classes 20
Methods 349
Functions 198

Additions

No data available.

PHP Error Log 10 lines

[17-Jul-2025 02:12:41 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "WC_VERSION" in /wp-content/plugins/pricing-deals-for-woocommerce/woo-integration/vtprd-parent-functions.php:5739
Stack trace:
#0 /wp-content/plugins/pricing-deals-for-woocommerce/vt-pricing-deals.php(1282): require_once()
#1 /wp-includes/class-wp-hook.php(324): VTPRD_Controller->vtprd_activation_hook()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/includes/plugin.php(703): do_action()
#5 /wp-admin/plugins.php(60): activate_plugin()
#6 {main}
  thrown in /wp-content/plugins/pricing-deals-for-woocommerce/woo-integration/vtprd-parent-functions.php on line 5739
See also: All tests for this plugin