WooCommerce Tutorials
How To Get Product Type In WooCommerce

When developing plugins for WooCommerce, sometimes, knowing the product’s type is very important. The funny thing about WooCommerce is if you create a product from the class “WC_Product” and run: The result is always simple. This sounds confusing, doesn’t it? I feel the same way. Get WooCommerce Product Type Using WC_Product_Factory Since version 3.0, there […]

Read More…

WooCommerce Tutorials
How To Set Woocommerce Custom Shipping Cost Per Product

The goal Learn how to set custom shipping cost per product in WooCommerce. The method We are going to use WooCommerce shipping class to set different shipping cost per product. What is a WooCommerce shipping class This is the definition of shipping class on WooCommerce documentation. I think it’s clear enough: Shipping classes can be […]

Read More…