How to Group WooCommerce Products on Shopping Cart

WooCommerce provides you many useful hooks (actions/filters) to perform different functionalities on content manipulation and display setup. In this article, we will describe the method of grouping WooCommerce products of the same author/vendor on a WordPress website.

The products on shipping calculator will be grouped using woocommerce_cart_shipping_packages filter. You just need to insert the following code in your Theme’s functions.php file or custom plugin:

User Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Get in Touch