• Resolved labrecquev

    (@labrecquev)


    On the payment and cart pages, the Total cart discount remains at zero even though a discount is applied to the subtotal. The invoice total is fine, except the Total cart discount line that doesn’t react to the discount.

    Anyone else had that problem?

    • This topic was modified 7 years, 10 months ago by labrecquev.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hermann LAHAMI

    (@mano88)

    That line is only different from zero when an order subtotal based discount is applied, not the discount on individual products.

    Thread Starter labrecquev

    (@labrecquev)

    Oh, I see.

    Then another question comes in:
    I use only the “percentage off product price” option. I thus would like to remove the “Total cart discount” line in my invoice since it will always remain at zero and could cause confusion among customers. Is there a PHP hook for that line that I could use for a remove_action in PHP?

    Thanks

    Plugin Author Hermann LAHAMI

    (@mano88)

    The pro version only shows that line when there is a discount applied. In the free version, that line is controlled in /woo-all-discounts/includes/class-wad-discount.php line 575

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Total cart discount remains at zero’ is closed to new replies.