Repository Forums Support WooCommerce Extended Coupon Features PRO Free products not showing in cart

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17129
    Barry Brown
    Participant

    We are getting this error and having issues with our coupons lagging on changes made and not showing up in cart. Below is a error recieved while WPE was debugging

    Division by zero in /nas/content/staging/ccdiy1956/wp-content/plugins/woocommerce-auto-added-coupons-pro-3.2.5/templates/coupon-select-free-product.php on line 51

    #17130
    Soft79
    Keymaster

    This is probably because none of the free products of the coupon can be purchased. The products must be in stock, must be public (although it can be ‘hidden’) and have a price.

    The division by zero notice is a result of this, but can be ignored. I will add a zero-check in the next release of the plugin.

    #17131
    Barry Brown
    Participant

    You were correct it was the $0 price. Thank you!

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