{"id":218407,"date":"2026-09-23T10:33:18","date_gmt":"2026-09-23T10:33:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/single-item-cart-for-woocommerce\/"},"modified":"2026-09-23T10:32:48","modified_gmt":"2026-09-23T10:32:48","slug":"single-item-cart-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/fa.wordpress.org\/plugins\/single-item-cart-for-woocommerce\/","author":23201887,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.2","requires":"6.7","requires_php":"7.4","requires_plugins":null,"header_name":"Single Item Cart for WooCommerce","header_author":"ZTABS","header_description":"Ensures only one item can be in the cart at a time by removing existing items before adding a new one.","assets_banners_color":"","last_updated":"2026-09-23 10:32:48","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/ztabs.co\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":110,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"itsmeasadali","date":"2026-09-23 10:32:48","revision":3709083}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[3047,3148,245067,66605,286],"plugin_category":[45],"plugin_contributors":[282255],"plugin_business_model":[],"class_list":["post-218407","plugin","type-plugin","status-publish","hentry","plugin_tags-cart","plugin_tags-checkout","plugin_tags-one-product","plugin_tags-single-product","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-itsmeasadali","plugin_committers-itsmeasadali"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/single-item-cart-for-woocommerce.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Single Item Cart for WooCommerce is designed for stores that sell one product at a time, such as single-product checkout funnels, bookings represented by WooCommerce products, or focused campaign stores.<\/p>\n\n<p>When a shopper adds a product, the plugin removes other cart lines and keeps the newly added line. The selected product can still have a quantity greater than one. Product variations and item metadata stay with the selected line. Existing carts with multiple lines are reduced to the last line when loaded.<\/p>\n\n<p>The plugin works with classic WooCommerce carts and the WooCommerce Store API used by Cart and Checkout blocks. It has no settings, external service, tracking, or database table.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate WooCommerce.<\/li>\n<li>Install and activate Single Item Cart for WooCommerce.<\/li>\n<li>Add products to the cart to confirm that the most recently added product replaces the previous product line.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20limit%20quantity%20to%20one%3F\"><h3>Does this limit quantity to one?<\/h3><\/dt>\n<dd><p>No. It limits the cart to one product line. The shopper can buy multiple units of that product if WooCommerce and the product permit it.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20variable%20products%3F\"><h3>Does this work with variable products?<\/h3><\/dt>\n<dd><p>Yes. The newly added variation is kept as the one cart line.<\/p><\/dd>\n<dt id=\"will%20it%20contact%20ztabs%20or%20store%20customer%20information%3F\"><h3>Will it contact ZTABS or store customer information?<\/h3><\/dt>\n<dd><p>No. It processes the cart within WooCommerce and does not send data to ZTABS.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release. Limit classic and Store API carts to one product line.<\/li>\n<\/ul>","raw_excerpt":"Keep one product line in a WooCommerce cart. Adding a different product replaces the previous cart item while preserving the new item&#039;s quantity.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/218407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=218407"}],"author":[{"embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/itsmeasadali"}],"wp:attachment":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=218407"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=218407"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=218407"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=218407"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=218407"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=218407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}