FlycartWoocommerceCart::get_cart_object
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.