/** * This function runs the wc_DisplayDropMenuUpdate(); * @return void */ function wc_DisplayProductUpdate() { ?> <h1>Update Product</h1> <p>Select Product to Update</p> <?php wc_DisplayDropMenuUpdate(); ?> <?php }
/** * Initialize the Product Admin page. * Starts the Main functions and calls the Display functions. * @return void */ function wc_ProductInitialize() { echo "</div><div id='containerTable'>"; echo "<h1>wc_WPCommerce Product Page"; echo "</div>"; wc_ProductInsert(); wc_ProductDrop(); wc_ProductUpdate(); echo "</div><div id='containerTable'>"; wc_DisplayProductAdd(); echo "</div><div id='containerTable'>"; echo "<h1>Drop Product</h1>"; wc_DisplayProductDrop(); echo "</div><div id='containerTable'>"; echo "<h1>Update Product</h1>"; wc_DisplayDropMenuUpdate(); echo "</div><div id='containerTable'>"; wc_ProductPrintTable(); echo "</div>"; }