Cannot apply discount to a variable subscription product
-
Hi,
we are using the offical Woocommerce extension for subscriptions, if we create a variable subscription and apply a discont to it, we get an error “product not valid” and cannot purchase it.
Is the plugin not compatible with it?
This is the log:
2019-12-23T15:21:40+00:00 CRITICAL Uncaught Exception: Prodotto non valido. in /wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:163
Stack trace:
#0 /wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product))
#1 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(135): WC_Data_Store->read(Object(WC_Product))
#2 /wp-content/plugins/taxonomy-discounts-woocommerce/taxonomy-discounts-woocommerce.php(533): WC_Product->__construct(16189)
#3 /wp-content/plugins/taxonomy-discounts-woocommerce/taxonomy-discounts-woocommerce.php(514): WC_Taxonomy_Discounts_Webdados->on_calculate_totals(Object(WC_Cart))
#4 /wp-includes/class-wp-hook.php(286): WC_Taxonomy_Discounts_Webdados->on_cart_lo in /wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php alla riga 163
- The topic ‘Cannot apply discount to a variable subscription product’ is closed to new replies.