Support » Plugin: Discount Rules for WooCommerce » Rules “Buy X get Y” with wpml

  • Resolved waynecf



    I’ve set the discount rule “Buy X Get Y – product” in the site with plugin WPML,

    The settings as follow:
    “Buy Quantity”: Minimum Quantity – 1, Maximum Quantity – 1
    “Get Quantity”: the free product of each language, e.g. “english cap”, “chinese cap”
    “Free Quantity”: 1

    However, after adding the product, I got the following error message in the frontend cart page:
    Fatal error: Allowed memory size of 6442450944 bytes exhausted (tried to allocate 528384 bytes) in /wp-content/plugins/woo-discount-rules-pro/App/Rules/BuyXGetY.php

    How can I resolve this issue?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi
    Thanks for reaching out.

    Just to confirm, are you using the latest version 2.3.3.
    If you are using any previous versions, can you update the plugin and give it a try.
    Here is a guide that might be of help :

    If you still face any issues, please open a ticket at our website. We are happy to look into it.

    Team Flycart​

    Plugin Author flycart



    Since we haven’t heard back on this thread here, let’s go ahead and close the ticket. Please feel free to open a new ticket in our website if you still face any issues.
    Happy to help 🙂

    Team Flycart

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