$WCproducts = new WC_API_Products($WCAPIServer);
$getProducts = $WCproducts->get_products(null, null, array(), 1);
echo "<pre>";
// 	var_dump($WCproducts);
echo "</pre>";
?>

<div class="wrap">
<?php 
if (isset($no_exists_value['sourcename']) && $no_exists_value['sourcename'] != null && isset($no_exists_value['password']) && $no_exists_value['password'] != null && isset($no_exists_value['siteID']) && $no_exists_value['siteID'] != null) {
    ?>
	<div ng-app="ngappadmin">
		<div ng-controller="ngappcontroller">

			<?php 
    $chknotice = $getadminfunction->checkwoocommerce();
    if ($gethideornot != 1) {
        if ($chknotice == false) {
            ?>
						<div class="error">
					    	<form method="post" action="options.php">
						    	<h1>Plugins</h1>
						    	<p><?php 
            _e('This Plugin is deisgned to work with the following:', 'mindbody-plugin');
            ?>
</p>
						        <h3><?php 
            _e('Woocommerce', 'mindbody-plugin');
            ?>
 </h3>
						        <a class="button-secondary" href="http://www.woothemes.com/woocommerce/" target="_blank"><?php