Skip to content

Instantly share code, notes, and snippets.

@fervous
Created April 18, 2017 16:01
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/4efb6593d9ce2c90b2da02b88002ef89 to your computer and use it in GitHub Desktop.
Save fervous/4efb6593d9ce2c90b2da02b88002ef89 to your computer and use it in GitHub Desktop.
orders page fix
//public/class-wcvendors-pro-order-controller.php Line: 375 Replace with this :
$product_id = ( version_compare( WC_VERSION, '2.7', '<' ) ) ? !empty( $item['variation_id'] ) ? $item['variation_id'] : $item['product_id'] : $item->get_product_id();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment