Home › Forums › WC Vendors Pro Support › Internal Server Error › Reply To: Internal Server Error
May 1, 2017 at 5:27 pm
#63891
Participant
This code on line 450 resolved the Internal Server problem that I encountered with the Pro version
$product_id = ( version_compare( WC_VERSION, ‘2.7’, ‘<‘ ) ) ? !empty( $product[ ‘variation_id’ ] ) ? $product[ ‘variation_id’ ] : $product[ ‘product_id’ ] : $product->get_id();