{"id":99971,"date":"2019-03-21T23:23:06","date_gmt":"2019-03-21T23:23:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/woocommerce-one-product-per-category\/"},"modified":"2019-03-21T23:37:34","modified_gmt":"2019-03-21T23:37:34","slug":"woo-one-product-per-category","status":"closed","type":"plugin","link":"https:\/\/el.wordpress.org\/plugins\/woo-one-product-per-category\/","author":14531269,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"5.1.22","requires":"4.6","requires_php":"5.2.4","requires_plugins":"","header_name":"Woo One Product per Category","header_author":"MadMonkey","header_description":"Allows only one product per category in the cart. The latest added item stays, the item of the same category that is already in cart is removed.","assets_banners_color":"","last_updated":"2019-03-21 23:37:34","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/madmonkey.works","rating":0,"author_block_rating":0,"active_installs":10,"downloads":992,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[23027,13352,702,1914,286],"plugin_category":[45],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-99971","plugin","type-plugin","status-closed","hentry","plugin_tags-dependencies","plugin_tags-product-category","plugin_tags-products","plugin_tags-restrict","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_committers-bash2day"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/woo-one-product-per-category.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Plugin made for WooCommerce. Allows only one product per category in the cart. The latest added item stays, items of the same category that are already in cart are removed.<\/p>\n\n<p><strong>Important<\/strong>: Requires WooCommerce 3.1+. WooCommerce 3.0+ or higher recommended.<\/p>\n\n<h3>Documentation<\/h3>\n\n<p>The plugin checks the cart when customer attempts to add a product and allows only one product per category in the cart. The latest added item stays, items of the same category that are already in cart are removed.<\/p>\n\n<h3>Setup<\/h3>\n\n<p>To set up:<\/p>\n\n<ul>\n<li>Go to the ** Products &gt; Categories ** <\/li>\n<li>Select a category and go to * Edit category *<\/li>\n<li>Check the \"One Product per Category\" option<\/li>\n<li><strong>Update<\/strong> to save the changes.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin.<\/li>\n<li>Go to your WordPress Dashboard and then click <strong>Plugins &gt; Add New<\/strong>.<\/li>\n<li>Click <strong>Upload Plugin<\/strong> at the top.<\/li>\n<li>Click <strong>Choose File<\/strong> and select the .zip file you downloaded in <strong>Step 1<\/strong>.<\/li>\n<li>Click <strong>Install Now<\/strong> and <strong>Activate<\/strong> the plugin.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Plugin made for WooCommerce. Allows only one product per category in the cart. The latest added item stays, items of the same category that are alread &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/99971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=99971"}],"author":[{"embeddable":true,"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bash2day"}],"wp:attachment":[{"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=99971"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=99971"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=99971"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=99971"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=99971"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/el.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=99971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}