Docly

Sell By Weight for specific categories

Estimated reading: 1 minute 123 views

In this article, we’re going to show you how you can sell your products by Weight for specific categories on WooCommerce price per kg.

We are going to change the price section by using filter hooks. You can use this code in your theme/child theme functions.php file or also use the Code Snippets plugin.

Note: This change will visible in our product table also.

CONTENTS