Title: Deprecated function call
Last modified: October 30, 2018

---

# Deprecated function call

 *  Resolved [Seanst3r](https://wordpress.org/support/users/seanst3r/)
 * (@seanst3r)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-call-4/)
 * includes/variation-template-add-to-cart-handler.php
 * Is calling the deprecated function
    $woocommerce->cart->get_cart_url();
 * instead of wc_get_cart_url();
 * Standard-Template has been fixed, I guess someone maybe forgot this one.
 * I only noticed this during a code review, not running on any site.
 * -Sean

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-call-4/#post-10833266)
 * Thanks for reporting, Sean! Looks like the variation template was missed indeed.
   I have fixed this in our development version and will include the fix in the 
   next plugin update (3.0.4).

Viewing 1 replies (of 1 total)

The topic ‘Deprecated function call’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-bulk-order-form/assets/icon-256x256.png?rev=
   2190455)
 * [Bulk Order Form for WooCommerce](https://wordpress.org/plugins/woocommerce-bulk-order-form/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-bulk-order-form/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-bulk-order-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-bulk-order-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-bulk-order-form/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [get_cart_url](https://wordpress.org/support/topic-tag/get_cart_url/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-call-4/#post-10833266)
 * Status: resolved