=== Simple Product Type Only ===
Contributors: dickyibrohim
Donate link: https://www.cleova.com/simple-product-type-only/
Tags: producttype
Requires at least: 3.0.1
Tested up to: 5.9
Stable tag: 3.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This plugin is used to remove choices on product types except simple

== 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 - WooCommerce 6.1.1.


== Installation ==


1. Upload `simple-product-type-only` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Finish

== Frequently Asked Questions ==

= 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;
}


== Screenshots ==


== Changelog ==

= 1.0 =
* First

= 2.0 =
* Support WP 5.8.3 and WooCommerce 6.1.1

= 3.0 =
* Support WP 5.9 and WooCommerce 6.1.1