Does "Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .
2 | PHP fatal errors |
No JavaScript exceptions | |
1 | Page failed to load
|
No resource errors |
Memory usage: 87.2 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
insignificant.
The plugin didn't make the site noticeably slower.
WordPress version | 6.8.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 10,000+ |
WordPress.org page | https://wordpress.org/plugins/woo-advanced-discounts/ |
Badges |
|
URL | /wp-admin/edit.php?post_type=o-discount&page=wad-pro-features |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=woo-advanced-discounts%2Fwad.php&plugin_status=all&paged=1&s&_wpnonce=43852600d5 |
Aspect | after-activation |
HTTP status | 403 |
Load time | 0.169 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit.php?post_type=o-discount |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.208 s |
Memory usage | 3.64 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/post-new.php?post_type=o-discount |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.375 s |
Memory usage | 3.65 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.193 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.395 s | 0.269 s | -0.126 s | 3.51 MiB | 3.6 MiB | + 96.52 KiB |
/wp-admin/edit.php | 0.229 s | 0.216 s | -0.013 s | 3.57 MiB | 3.66 MiB | + 93.81 KiB |
/wp-admin/post-new.php | 0.848 s | 0.716 s | -0.132 s | 6.06 MiB | 6.15 MiB | + 93.54 KiB |
/wp-admin/upload.php | 0.790 s | 0.573 s | -0.217 s | 3.52 MiB | 3.6 MiB | + 76.75 KiB |
/wp-admin/options-writing.php | 0.241 s | 0.224 s | -0.017 s | 3.5 MiB | 3.58 MiB | + 80.43 KiB |
/wp-admin/media-new.php | 0.283 s | 0.231 s | -0.052 s | 3.49 MiB | 3.58 MiB | + 88.63 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.203 s | 0.214 s | +0.011 s | 3.5 MiB | 3.6 MiB | + 99.27 KiB |
/wp-admin/post-new.php?post_type=page | 0.771 s | 0.656 s | -0.115 s | 6.05 MiB | 6.14 MiB | + 89.07 KiB |
/wp-admin/options-discussion.php | 0.519 s | 0.512 s | -0.007 s | 3.5 MiB | 3.58 MiB | + 77.55 KiB |
/wp-admin/edit-comments.php | 0.226 s | 0.245 s | +0.019 s | 3.52 MiB | 3.6 MiB | + 76.43 KiB |
/ | 0.318 s | 0.190 s | -0.128 s | 3.43 MiB | ||
Average | 0.438 s | 0.368 s | -0.071 s | 3.97 MiB | 4.11 MiB | + 87.2 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
JavaScript | 47.9% | 7,493 | 551 | 9 | |
CSS | 23.8% | 3,718 | 178 | 7 | |
PHP | 23.0% | 3,602 | 1,051 | 14 | |
PO File | 5.1% | 803 | 324 | 2 | |
SVG | 0.2% | 24 | 1 | 1 | |
Total | 15,640 | 2,105 | 33 |
Lines of code | 3,606 |
---|---|
Total complexity | 641 |
Median class complexity | 12.0 |
Median method complexity | 2.0 |
Most complex class | WAD_Discount |
Most complex function | O_Utils::admin_fields() |
Classes | 10 |
---|---|
Methods | 121 |
Functions | 19 |
Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.
ID | Name |
---|---|
o-list | List |
o-discount | Discount |
{
"o-list": {
"o-list-settings-box": {
"title": "List settings",
"context": "advanced"
}
},
"o-discount": {
"o-discount-settings-box": {
"title": "Discount settings",
"context": "advanced"
}
}
}
[16-Jul-2025 15:34:58 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1365
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3789): do_action_ref_array()
#4 /wp-includes/query.php(1005): WP_Query->the_post()
#5 /wp-content/themes/twentyseventeen/index.php(39): the_post()
#6 /wp-includes/template-loader.php(106): include('...')
#7 /wp-blog-header.php(19): require_once('...')
#8 /index.php(17): require('...')
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1365
[16-Jul-2025 15:35:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1365
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3789): do_action_ref_array()
#4 /wp-includes/query.php(1005): WP_Query->the_post()
#5 /wp-content/themes/twentyseventeen/index.php(39): the_post()
#6 /wp-includes/template-loader.php(106): include('...')
#7 /wp-blog-header.php(19): require_once('...')
#8 /index.php(17): require('...')
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1365