When I disable the Advanced Dynamic Pricing for WooCommerce, the empty cart still persists. I need to uncheck the option to “Limit purchases to 1 item per order” for all items that were previously in my cart. After doing this, the cart starts working again. I can then re-enable the “Limit purchases to 1 item per order” option, and it will work fine until I re-enable the Advanced Dynamic Pricing for WooCommerce.
Take a look at the image; this is my current setup for Advanced Dynamic Pricing for WooCommerce.
https://i.postimg.cc/FsD4Zjp4/Screen-Shot-20241230224640.png
2024-12-30T15:01:47+00:00Warning Error in hydrating REST API request: The quantity of "Motivational Money" cannot be changed Additional context{ "data": { "path": "/wc/store/v1/cart", "controller": "Automattic\WooCommerce\StoreApi\Routes\V1\Cart" }, "backtrace": [ { "file": "/home/tzi/public_html/wp-content/plugins/woocommerce/src/Blocks/Domain/Services/Hydration.php", "line": 77, "function": "warning", "class": "WC_Logger", "type": "->" }, { "file": "/home/tzi/public_html/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php", "line": 322, "function": "get_rest_api_response_data", "class": "Automattic\WooCommerce\Blocks\Domain\Services\Hydration", "type": "->" }, { "file": "/home/tzi/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Cart.php", "line": 257, "function": "hydrate_api_request", "class": "Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry", "type": "->" }, { "file": "/home/tzi/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php", "line": 416, "function": "enqueue_data", "class": "Automattic\WooCommerce\Blocks\BlockTypes\Cart", "type": "->" }, { "file": "/home/tzi/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Cart.php", "line": 147, "function": "enqueue_assets", "class": "Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock", "type": "->" }, { "file": "/home/tzi/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php", "line": 96, "function": "enqueue_assets", "class": "Automattic\WooCommerce\Blocks\BlockTypes\Cart", "type": "->" }, { "file": "/home/tzi/public_html/wp-includes/class-wp-block.php", "line": 537, "function": "render_callback", "class": "Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock", "type": "->" }, { "file": "/home/tzi/public_html/wp-includes/blocks.php", "line": 2190, "function": "render", "class": "WP_Block", "type": "->" }, { "file": "/home/tzi/public_html/wp-includes/blocks.php", "line": 2242, "function": "render_block" }, { "file": "/home/tzi/public_html/wp-includes/class-wp-hook.php", "line": 324, "function": "do_blocks" }, { "file": "/home/tzi/public_html/wp-includes/plugin.php", "line": 205, "function": "apply_filters", "class": "WP_Hook", "type": "->" }, { "file": "/home/tzi/public_html/wp-includes/post-template.php", "line": 256, "function": "apply_filters" }, { "file": "/home/tzi/public_html/wp-content/themes/hello-elementor/template-parts/single.php", "line": 25, "function": "the_content" }, { "file": "/home/tzi/public_html/wp-includes/template.php", "line": 812, "args": [ "/home/tzi/public_html/wp-content/themes/hello-elementor/template-parts/single.php" ], "function": "require" }, { "file": "/home/tzi/public_html/wp-includes/template.php", "line": 745, "function": "load_template" }, { "file": "/home/tzi/public_html/wp-includes/general-template.php", "line": 206, "function": "locate_template" }, { "file": "/home/tzi/public_html/wp-content/themes/hello-elementor/index.php", "line": 21, "function": "get_template_part" }, { "file": "/home/tzi/public_html/wp-includes/template-loader.php", "line": 106, "args": [ "/home/tzi/public_html/wp-content/themes/hello-elementor/index.php" ], "function": "include" }, { "file": "/home/tzi/public_html/wp-blog-header.php", "line": 19, "args": [ "/home/tzi/public_html/wp-includes/template-loader.php" ], "function": "require_once" }, { "file": "/home/tzi/public_html/index.php", "line": 17, "args": [ "/home/tzi/public_html/wp-blog-header.php" ], "function": "require" } ] }