Support » Plugin: Discount Rules for WooCommerce - Create Smart WooCommerce Coupons & Discounts » causes an error when placing an order. Deprecated parameter

  • Resolved webfantastic

    (@webfantastic)


    The plugin uses an outdated method, which is why ordering does not work

    woocommerce_order_add_shipping is deprecated since version 3.0.0! Use woocommerce_new_order_item instead.

Viewing 1 replies (of 1 total)
  • Hi there!

    Thank you for getting in touch with us.

    We’ve checked with our dev team, and it looks like the hooks you mentioned are not part of our plugin.

    We want to make sure we have the right information though – are you using the latest version 2.5.4? If you are using any previous versions, can you update the plugin and give a try.


    Here is a guide which might be of help :
    https://docs.flycart.org/en/articles/2258499-version-updates

    Hope this helps in resolving the issue.

    If you are using our latest version, can you please open a support ticket here -> https://www.flycart.org/support with the below details:

    • Screenshots of rule setup
    • Version of our plugin and version of woocommerce you are using
    • Screenshots of checkout page indicating the error you are facing while placing order
    • Site URL

    So that we can quickly check and assist you accordingly.

    We look forward to hearing from you soon.

    Thank you,

    Team Flycart

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