[SOLVED] Pro Version -> WC_Cart::get_checkout_url is deprecated

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED] Pro Version -> WC_Cart::get_checkout_url is deprecated

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5594
    Steffen Görg
    Participant

    Hi,
    I found no bug reporting tool so I´ll post this here.

    When Cart redirection is enabled in the settings, Woocommerce will throw a depreciated notice.

    awspricecalculator.php -> line 345
    Please change:
    return $woocommerce->cart->get_checkout_url();
    to
    return wc_get_checkout_url();

    Best regards
    Steffen

    #5596
    Anonymous
    Guest

    Hi,
    thank you for the response you have given us regarding the issue.
    We have added your code to the next version to be released.
    Currently have you resolved or would you prefer a bugfix version to be sent to you?
    Let me know if you need more help.

    Kind Regards,
    Indrit
    AT367

    #5595
    Steffen Görg
    Participant

    I´m fine, just wanted to let you know. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.