Support » Plugin: WP-Invoice - Web Invoice and Billing » Bug: WP Invoice and WooCommerce Subscription Plugin

  • While WP Invoice Plugin is active and user try to select a variable subscription product (WooCommerce Product), It prevents selecting that product and No add to cart button is displayed.

    I was debugging WooCommerce and wp-invoice source code to find out what causing this issue, this is what I found:

    1. While adding a subscription variable product with WooCommerce Subscription plugin , if I delete any variable subscription product, by default it doesn’t delete variable product from database, just set its post_status=trash. While displaying in front end single product page, it filter out those trash post and only display those variable product which post_status is publish.

    2. While wp-invoice plugin is active, filter for trash post is not working. So while displaying a Variable Subscription Product in front end, It gets all variable post with post_status=publish + post_status=trash, so it cause a javascript array index mismatch and display an error message like:
    Sorry, this product is unavailable. Please choose a different combination.

    So my question is, why wp-invoice plugin causing this issue ??

    *If I disable wp-invoice plugin, everything works just fine.

    https://wordpress.org/plugins/wp-invoice/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Anton Korotkoff

    (@anton-korotkoff)

    Hey,

    we know about the issue. It is included into our issues tracker. One of the next releases will have fix.

    Unfortunately, there is no any quick fix for this.

    Thanks.

    Plugin Contributor Anton Korotkoff

    (@anton-korotkoff)

    Hey,

    could you please test this and let us know if issue persists? Make sure you use the latest versions of all products.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug: WP Invoice and WooCommerce Subscription Plugin’ is closed to new replies.