Get cart total programmatically
-
Hi! I’m using your plugin to do a quantity based discount. I want to pull the cart total, with the discount already applied, to a side script that generates legal documents. How can I go about doint this ? I’ve inspected WC()->cart to try to find the amounts of the discounts, or an already discounted value, but to no avail, and WC()->cart->get_cart_total() gives me the non discounted value.
Is there a function or filter i should run?
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Get cart total programmatically’ is closed to new replies.