Support » Plugin: Advanced Shipping Validation for WooCommerce » Problem with multiple conditions

  • Hi,

    Great plugin, but I have a problem using this. When I’m trying to add more than one condition in group (for example country equal to Germany and product equal to some product) and press ‘Save’ button after page reload I’m getting error. Under the group I created I can see

    Notice: Undefined index: condition in /domeny/nowycybul/wp-content/plugins/advanced-shipping-validation-for-woocommerce/includes/admin/views/html-condition-group.php on line 19

    Notice: Undefined index: operator in /domeny/nowycybul/wp-content/plugins/advanced-shipping-validation-for-woocommerce/includes/admin/views/html-condition-group.php on line 19

    Condition with product has empty product. Inside group I have a new condition with Subtotal. When I remove Subtotal and choose product once again and press ‘Save’, error disappears.

    I noticed, that temporary solution is to add one condition at a time. Then press Save.

    Can you fix this? Or maybe I’m doing something wrong? My Woocomerce is 3.0.8 and WordPress 4.8.2


Viewing 1 replies (of 1 total)
  • Plugin Author Jeroen Sormani



    Would it be possible to post a short video of what you’re doing / seeing when the error occurs?

    I know a error like this *could* happen if someone changes the condition to something else, and saves the page while the ‘Value’ field is still loading (if its slow enough), but haven’t seen this before with the condition/operator fields.

    Also, could you update to the latest version of WC to confirm thats all good?

    Thank you,

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