Skip to content

Instantly share code, notes, and snippets.

@fervous
Created April 18, 2017 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fervous/a36601ba3416173b474ef6dc3ca12679 to your computer and use it in GitHub Desktop.
Save fervous/a36601ba3416173b474ef6dc3ca12679 to your computer and use it in GitHub Desktop.
coupons page fix
// File: public/class-wcvendors-pro-order-controller.php Line: 273 replace with this:
$coupon_amount = ( version_compare( WC_VERSION, '2.7', '<' ) ) ? $the_coupon->coupon_amount : $the_coupon->get_amount();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment