Open laurelfulford opened 4 years ago
I believe this is the relevant part that isn't in our templates: https://github.com/woocommerce/woocommerce/blob/master/templates/checkout/review-order.php#L55-L98
I'm not exactly sure why all of that isn't getting rendered when we fire the woocommerce_checkout_order_review
action, though.
Related: 3428427-zen
@laurelfulford – how does simplified checkout w/ WooCommerce work? How to reproduce the issue?
@adekbadek It's a really old option that was baked into the theme, kind of a first pass at hiding some unneeded elements from the WooCommerce checkout.
The theme option is labelled 'Order Details' - there's a bit more information and screenshots here, but it's basically the ability to hide that order details table in the WooCommerce checkout.
It can be turned on under Customizer > WooCommerce > Order Details:
'Hide' and 'Hide, with ability to toggle open' are the two 'simplified' options.
Forgot the actual steps to reproduce part 🤦♀️
(Note: I don't think a donation is a real use case for a discount -- it'd be more likely to use with Memberships -- but you just need to run anything through the checkout with a coupon to reproduce, and donations are already set up on most test sites, so this is probably quickest!).
(Though the recurring total does not 😕 I need to dig into that a bit more to see if that's expected).
Right now, the simplified checkout strips out standard information to display a simple view for checkout.
Right now, this is stripping out information about coupons, and also causing the total displayed above the billing information to not include discounts added by coupons -- this is very misleading.