Add WooCommerce product programmatically

WooCommerce gives us a very flexible option to add/modify products/orders/payments. we can…