How to change WooCommerce product ownership?

WooCommerce is an open-source e-commerce plugin for WordPress. WooCommerce is the best e-commerce system at this time. It is designed for small to large-sized online merchants using WordPress. Launched on September 27, 2011, the plugin quickly became popular for its simplicity to install and customize and free base product.

WooCommerce has no option for changing the product ownership. If you create a product by your user ID, you can’t change the author.

So, I have created a plugin or you can follow this instructions.

Here is the solution.

Add this code to your theme functions.php file

add_action('init', 'function_to_add_author_woocommerce', 999 );

function function_to_add_author_woocommerce() {
  add_post_type_support( 'product', 'author' );

If you don’t want to add any code to your theme or you are not well about WordPress theme modifications, you can install Change WooCommerce Product Author plugin. Just install and active.


Cashier theme functions.php
Cashier theme functions.php

Leave a Reply