WooCommerce Tutorials

How to Install/Setup WooCommerce Shop in WordPress (Step by Step)

WooCommerce is a free plugin to expand your WordPress blog to a full-fledged e-shop. It is a very customizable and extensible framework and does not require coding or technical expertise for you to get started with a simple e-shop. Products are added through the same interface you use to add blog posts; the base installation […]

How to Install/Setup WooCommerce Shop in WordPress (Step by Step) Read More »

How to get WooCommerce products grouped by their categories?

In this tutorial we’ll learn how to get all woocommerce products grouped by their categories. Here is the lines of code which can achieve that: <?php $args = array( ‘number’ => $number, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’, ‘hide_empty’ => $hide_empty, ‘include’ => $ids ); $product_categories = get_terms( ‘product_cat’, $args ); $count = count($product_categories); if

How to get WooCommerce products grouped by their categories? Read More »