Simple Product Type Only

Description

Woocommerce is a popular plugin nowadays. They provide complete product types to meet your needs. Problems arise if you only want 1 choice in the product type (simple). This plugin is used to fulfill this desire in Woocomerce today

This plugin is suitable for Woocommerce 4.3.0.

Screenshots

Installation

  1. Upload simple-prodoct-type-only.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Finish

FAQ

What does this plugin do?

This plugin only runs something simple but easy.
add_filter( ‘product_type_selector’, ‘simpleproducttypeonly’ );
function simpleproducttypeonly( $product_types ){
unset( $product_types[‘grouped’] );
unset( $product_types[‘external’] );
unset( $product_types[‘variable’] );
unset( $options[ ‘virtual’ ] );
unset( $options[ ‘downloadable’ ] );
return $product_types;
}

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Simple Product Type Only” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • First