{"id":349416,"date":"2026-08-08T10:33:18","date_gmt":"2026-08-08T10:33:18","guid":{"rendered":"https:\/\/fa.wordpress.org\/plugins\/kabook-rebuy-discount\/"},"modified":"2026-08-08T10:32:43","modified_gmt":"2026-08-08T10:32:43","slug":"kabook-rebuy-discount","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/kabook-rebuy-discount\/","author":23394557,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.3","requires":"6.0","requires_php":"8.0","requires_plugins":null,"header_name":"Kabook Rebuy Discount","header_author":"Saeid Afshari","header_description":"Automatically applies smart discounts for customers who rebuy downloadable products they have already purchased.","assets_banners_color":"171625","last_updated":"2026-08-08 10:32:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/saeidafshari\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":31,"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":"saeidafshari","date":"2026-08-08 10:32:43"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3638608,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon-512x512.png":{"filename":"icon-512x512.png","revision":3638608,"resolution":"512x512","location":"assets","locale":"","width":512,"height":512}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3638608,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3638608,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3638608,"resolution":"1","location":"assets","locale":"","width":1280,"height":960},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3638608,"resolution":"2","location":"assets","locale":"","width":1280,"height":960}},"screenshots":{"1":"Admin Settings Panel","2":"RTL Order Details View"}},"plugin_section":[],"plugin_tags":[5472,331,10139,274850,286],"plugin_category":[45],"plugin_contributors":[251792],"plugin_business_model":[],"class_list":["post-349416","plugin","type-plugin","status-publish","hentry","plugin_tags-digital-products","plugin_tags-discount","plugin_tags-downloadable","plugin_tags-rebuy","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-saeidafshari","plugin_committers-saeidafshari"],"banners":{"banner":"https:\/\/ps.w.org\/kabook-rebuy-discount\/assets\/banner-772x250.jpg?rev=3638608","banner_2x":"https:\/\/ps.w.org\/kabook-rebuy-discount\/assets\/banner-1544x500.jpg?rev=3638608","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/kabook-rebuy-discount\/assets\/icon-256x256.png?rev=3638608","icon_2x":"https:\/\/ps.w.org\/kabook-rebuy-discount\/assets\/icon-256x256.png?rev=3638608","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/kabook-rebuy-discount\/assets\/screenshot-1.png?rev=3638608","caption":"Admin Settings Panel"},{"src":"https:\/\/ps.w.org\/kabook-rebuy-discount\/assets\/screenshot-2.png?rev=3638608","caption":"RTL Order Details View"}],"raw_content":"<!--section=description-->\n<p><strong>Kabook Rebuy Discount<\/strong> rewards loyal customers automatically. If someone already purchased a downloadable product from your store and comes back for it again \u2014 to refresh a license, grab an updated file, or simply support you a second time \u2014 this plugin quietly applies a discount for them, no coupon codes, no manual work.<\/p>\n\n<p>It was built with one goal: <strong>simplicity<\/strong>. Set a discount percentage once, and the plugin handles the rest \u2014 detecting the rebuy, adjusting the price in the cart, and keeping a clear record for you on the order.<\/p>\n\n<h4>Why store owners like it<\/h4>\n\n<ul>\n<li><strong>Zero customer friction<\/strong> \u2014 no codes to remember or enter, the discount just appears.<\/li>\n<li><strong>One setting, no configuration maze<\/strong> \u2014 a single percentage is all that's required to go live.<\/li>\n<li><strong>Full visibility for you<\/strong> \u2014 every rebuy discount is logged as an Order Note and shown in a dedicated details box on the order screen, so you always know exactly what was discounted and why.<\/li>\n<li><strong>Plays nicely with your store<\/strong> \u2014 built on WooCommerce's standard CRUD API, compatible with High-Performance Order Storage (HPOS), and safe to run alongside invoice, PDF, and reporting plugins.<\/li>\n<li><strong>Ready to speak your language<\/strong> \u2014 fully translatable, and ready to receive community translations via translate.wordpress.org.<\/li>\n<\/ul>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Set a global percentage discount for rebuys.<\/li>\n<li>Option to exclude items that are already on sale, so discounts never stack unintentionally.<\/li>\n<li>Clear visual notice in the Cart showing the original and discounted price.<\/li>\n<li>A dedicated \"Rebuy Discount Details\" box on the WooCommerce order screen, plus a matching summary on the customer's order-received\/view-order page.<\/li>\n<li>An automatic Order Note recording exactly which products were discounted, by how much, and for what total \u2014 perfect for support and bookkeeping.<\/li>\n<li>Fully integrated into WooCommerce Settings \u2192 Products, no separate admin page to hunt for.<\/li>\n<li>Compatible with WooCommerce High-Performance Order Storage (HPOS).<\/li>\n<\/ul>\n\n<p>This plugin requires <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\">WooCommerce<\/a> to be installed and active.<\/p>\n\n<h4>What's next<\/h4>\n\n<p>Version 1.0.0 focuses on downloadable products, where a \"rebuy\" is the clearest and safest case to automate. If this approach proves useful to the community, upcoming versions are planned to bring the same effortless experience to <strong>physical products<\/strong> as well, with extra settings to fine-tune eligibility (order count thresholds, product categories, time-based rules, and more) \u2014 all while keeping the same \"one setting and it just works\" philosophy at its core.<\/p>\n\n<p>Your feedback shapes what gets built next, so if there's something you'd love to see, a support thread or a review is the best way to let me know.<\/p>\n\n<h4>Enjoying the plugin?<\/h4>\n\n<p>If Kabook Rebuy Discount is saving you time, a <a href=\"https:\/\/wordpress.org\/support\/plugin\/kabook-rebuy-discount\/reviews\/#new-post\">review<\/a> would mean a lot \u2014 it's the main way small plugins like this get noticed, and it directly motivates the roadmap above. Ratings, feedback, and feature requests are always welcome.<\/p>\n\n<p>You're also welcome to check out my <a href=\"https:\/\/profiles.wordpress.org\/saeidafshari\/\">other plugins<\/a> on WordPress.org.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/kabook-rebuy-discount<\/code> directory, or install the plugin through the WordPress plugins screen.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Go to WooCommerce \u2192 Settings \u2192 Products \u2192 Rebuy Discount to set your discount percentage and you're done.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20work%20for%20physical%20products%3F\"><h3>Does this work for physical products?<\/h3><\/dt>\n<dd><p>Not in this version \u2014 it currently targets downloadable products only, using <code>is_downloadable()<\/code> to ensure it targets digital goods. Support for physical products is on the roadmap for a future release; see \"What's next\" above.<\/p><\/dd>\n<dt id=\"is%20this%20compatible%20with%20woocommerce%20high-performance%20order%20storage%20%28hpos%29%3F\"><h3>Is this compatible with WooCommerce High-Performance Order Storage (HPOS)?<\/h3><\/dt>\n<dd><p>Yes, the plugin declares compatibility and stores all order data through the WooCommerce CRUD API.<\/p><\/dd>\n<dt id=\"will%20this%20show%20up%20correctly%20in%20invoice%2Fpdf%20plugins%3F\"><h3>Will this show up correctly in invoice\/PDF plugins?<\/h3><\/dt>\n<dd><p>Yes. Rebuy discount data is kept at the order level (not as raw item meta), so it won't leak untranslated internal fields into third-party invoice or packing-slip templates. A full summary is also recorded as a standard Order Note.<\/p><\/dd>\n<dt id=\"does%20the%20discount%20stack%20with%20sale%20prices%3F\"><h3>Does the discount stack with sale prices?<\/h3><\/dt>\n<dd><p>That's up to you \u2014 there's a setting to exclude products that are already on sale, so you stay in control of your margins.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Give customers an automatic discount when they rebuy a digital product they already own. Zero setup complexity, just one percentage to configure.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/349416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=349416"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/saeidafshari"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=349416"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=349416"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=349416"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=349416"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=349416"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=349416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}