The WC_Cart::get_cart_url function is deprecated since version 2.5.
-
Hello,
Getting the following error on the website and think I’ve traced it down to the following template files
Error message
The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.
Using this command
find . -iname '*php' | xargs grep ' get_cart_url' -sl
I get the following results
./wp-content/plugins/woocommerce-bulk-order-form/includes/standard-template-add-to-cart-handler.php ./wp-content/plugins/woocommerce-bulk-order-form/includes/class-frontend.php ./wp-content/plugins/woocommerce-bulk-order-form/includes/variation-template-add-to-cart-handler.php ./wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php
Is it possible to update the plugin so it uses the new wc_get_cart_url function please?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘The WC_Cart::get_cart_url function is deprecated since version 2.5.’ is closed to new replies.