• Resolved Javier Gobea

    (@jandabt)


    Hello.

    We have a custom plugin that adds this function, but when updating the plugin “Discount Rules” it stopped working, and I notice that this file is no longer in the latest version.

    Have you replaced it with a different class, what modification should I do? Thank you.

    add_action( 'woocommerce_before_get_rates_for_package', function () {
    include_once DIR . '/../../woo-discount-rules/v1/helper/woo-function.php';
    do_action('woocommerce_before_calculate_totals', FlycartWoocommerceCart::get_cart_object());
    });

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support akshayathangaraj

    (@akshayathangaraj)

    Hi,

    Thanks for reaching out!

    Could you please let us know which version of the plugin you’re currently using? Additionally, for further assistance, please submit a support ticket on our website at Flycart Support, where you can provide more details. We’ll be happy to help you from there!

    Looking forward to your response.

    Regards,

    Flycart support team.

    Thread Starter Javier Gobea

    (@jandabt)

    Hi. I am using last versión 2.6.5

    I don’t know when owner update but I ser that this library was out in 2.6.4

    what clase could I use?

    thanks.

    pd: i open a support ticket in your web

    Plugin Support akshayathangaraj

    (@akshayathangaraj)

    Hi,

    Thank you for your message!

    We’ve received your response via Intercom, and you’ll be receiving further assistance there shortly. Please feel free to check your Intercom messages for updates.

    Best regards,
    Akshaya
    Flycart Support Team

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