{"id":346334,"date":"2026-08-13T09:33:18","date_gmt":"2026-08-13T09:33:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cross-sell-with-discounts-for-woocommerce\/"},"modified":"2026-08-16T09:31:10","modified_gmt":"2026-08-16T09:31:10","slug":"cross-sell-with-discounts-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cross-sell-with-discounts-for-woocommerce\/","author":14661156,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.13.2","stable_tag":"1.13.2","tested":"7.0.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Cross-Sell with Discounts for WooCommerce","header_author":"SmartPixels","header_description":"Category-based cross-sell suggestions with an optional discount and badge in the mini-cart, cart, and checkout. Theme-neutral, with optional adapters for Flatsome and WooFood.","assets_banners_color":"","last_updated":"2026-08-16 09:31:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/smartpixels.de\/cross-sell-with-discounts-for-woocommerce\/","header_author_uri":"https:\/\/smartpixels.de\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":124,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.12.0":{"tag":"1.12.0","author":"sergej7","date":"2026-08-13 09:33:09"},"1.13.1":{"tag":"1.13.1","author":"sergej7","date":"2026-08-13 10:58:35"},"1.13.2":{"tag":"1.13.2","author":"sergej7","date":"2026-08-16 09:31:10"}},"upgrade_notice":{"1.13.2":"<p>Higher per-category suggestion limit (up to 20) and clearer settings wording.<\/p>","1.13.1":"<p>Refreshed settings screen and new add-on hooks. No configuration changes required.<\/p>","1.12.0":"<p>Initial public release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3645132,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3645132,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"wccs\/suggestions":{"name":"wccs\/suggestions","title":"Wccs Suggestions"}},"tagged_versions":["1.12.0","1.13.1","1.13.2"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Cross-sell suggestions with a discount badge in the mini-cart.","2":"Per-product Cross-Selling settings (discount, priority, trigger categories).","3":"Global display and display-rule settings under WooCommerce \u2192 Cross-Sell.","4":"Status \/ diagnostics tab with the preview simulation."}},"plugin_section":[],"plugin_tags":[3047,13788,331,1311,286],"plugin_category":[45],"plugin_contributors":[275493],"plugin_business_model":[],"class_list":["post-346334","plugin","type-plugin","status-publish","hentry","plugin_tags-cart","plugin_tags-cross-sell","plugin_tags-discount","plugin_tags-upsell","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-sergej7","plugin_committers-sergej7"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cross-sell-with-discounts-for-woocommerce\/assets\/icon-128x128.png?rev=3645132","icon_2x":"https:\/\/ps.w.org\/cross-sell-with-discounts-for-woocommerce\/assets\/icon-256x256.png?rev=3645132","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Cross-Sell with Discounts for WooCommerce<\/strong> shows the right add-on products at the moment customers are ready to buy \u2014 in the mini-cart, on the cart page, and at checkout \u2014 with an optional automatic discount and a savings badge.<\/p>\n\n<p>You decide which products are suggested and which category triggers them. As soon as a customer has a product from a trigger category in the cart, the matching cross-sell products appear as one-click suggestions. The discount applies automatically while a trigger product is in the cart, and disappears when it is removed \u2014 no coupon codes needed.<\/p>\n\n<p>The plugin is <strong>theme-neutral<\/strong>: it uses the standard WooCommerce mini-cart hook and works with Storefront, Astra, Kadence and other common themes. For themes without a matching mini-cart hook (or block themes), a shortcode and a block are provided. Optional adapters keep full compatibility with the <strong>Flatsome<\/strong> theme and the <strong>WooFood<\/strong> plugin.<\/p>\n\n<h4>Key features<\/h4>\n\n<ul>\n<li>Category-based cross-sell suggestions \u2014 configure the trigger category per product.<\/li>\n<li>Optional automatic discount per product (0\u2013100 %), shown with a struck-through original price and a savings badge.<\/li>\n<li>One-click \"add to cart\" without a page reload (AJAX), including in the block checkout (Store API).<\/li>\n<li>Suggestions in the mini-cart, on the cart page, and at checkout \u2014 each location can be toggled on or off individually.<\/li>\n<li>Per-page rule to hide suggestions once a cross-sell product is already in the cart.<\/li>\n<li>A global heading above the suggestions, plus per-product short description, image, and link options.<\/li>\n<li>Works with the classic <strong>and<\/strong> the block-based cart\/checkout.<\/li>\n<li>HPOS (High-Performance Order Storage) compatible.<\/li>\n<li>Query result caching with automatic invalidation for fast mini-cart and checkout on large catalogs.<\/li>\n<li>Diagnostics tab explaining why suggestions do (or do not) appear, with a preview simulation that never touches the live cart.<\/li>\n<\/ul>\n\n<h4>How the discount works<\/h4>\n\n<p>The discount is a price reduction on the cart item, not a WooCommerce coupon, so it combines cleanly with coupons. An active sale price stays the basis: the cross-sell discount is calculated from the lower of the regular and sale price and never undercuts the sale price.<\/p>\n\n<h4>Pro add-on<\/h4>\n\n<p>A separate <strong>Pro<\/strong> add-on adds role-based discounts: give individual user roles an extra discount on cross-sell products, configurable per role (percentage and \"add\" or \"replace\" mode), with optional per-product overrides. The free plugin works fully on its own; the Pro add-on is optional.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>cross-sell-with-discounts-for-woocommerce<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install it through the WordPress Plugins screen.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress. WooCommerce must be installed and active.<\/li>\n<li>Configure suggestions on two levels:\n\n<ul>\n<li><strong>Per product<\/strong> (Cross-Selling tab in the product editor): enable the product as a suggestion, set an optional discount, priority, short description, and the trigger categories.<\/li>\n<li><strong>Per category<\/strong> (category editor): enable the category as a trigger and set how many suggestions it contributes.<\/li>\n<\/ul><\/li>\n<li>Set the global display under <strong>WooCommerce \u2192 Cross-Sell<\/strong>: heading, button label\/icon, display locations (mini-cart \/ cart \/ checkout), and performance\/caching options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20my%20theme%3F\"><h3>Does it work with my theme?<\/h3><\/dt>\n<dd><p>Yes. The plugin uses the standard WooCommerce mini-cart hook and works with common themes such as Storefront, Astra, and Kadence. For themes without a matching mini-cart hook or for block themes, use the <code>[wccs_cross_sell]<\/code> shortcode or the \"Cross-Sell Suggestions\" block. A dedicated adapter keeps full Flatsome compatibility.<\/p><\/dd>\n<dt id=\"does%20it%20support%20the%20block-based%20cart%20and%20checkout%3F\"><h3>Does it support the block-based cart and checkout?<\/h3><\/dt>\n<dd><p>Yes. Suggestions are rendered after the checkout block (hydration-safe), and adding a product refreshes the Store API cart and totals without a page reload.<\/p><\/dd>\n<dt id=\"is%20the%20discount%20a%20coupon%3F\"><h3>Is the discount a coupon?<\/h3><\/dt>\n<dd><p>No. It is a price reduction applied to the cart item, so it combines cleanly with WooCommerce coupons. A trigger product must be in the cart for the discount to apply.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20my%20data%20when%20i%20uninstall%3F\"><h3>What happens to my data when I uninstall?<\/h3><\/dt>\n<dd><p>Deleting the plugin (not just deactivating it) removes all of its data: the settings option, product metas, and category metas \u2014 multisite-wide. There are no custom tables or cron events.<\/p><\/dd>\n<dt id=\"can%20i%20give%20specific%20user%20roles%20an%20extra%20discount%3F\"><h3>Can I give specific user roles an extra discount?<\/h3><\/dt>\n<dd><p>That is provided by the optional Pro add-on (role-based discounts, per role, with per-product overrides). The free plugin does not include role discounts.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.13.2<\/h4>\n\n<ul>\n<li>New: The per-category \"Max. suggestions\" limit can now be set up to 20 (previously capped at 3).<\/li>\n<li>Improved: Clearer settings labels and descriptions (cache suggestions, add-to-cart button, prefetch), with consistent \"Cross-Sell suggestions\" wording.<\/li>\n<\/ul>\n\n<h4>1.13.1<\/h4>\n\n<ul>\n<li>Redesigned the plugin settings screen with a modern, card-based layout that is easier to scan and visually consistent with the Pro add-on. No settings or behaviour changed.<\/li>\n<\/ul>\n\n<h4>1.13.0<\/h4>\n\n<ul>\n<li>Added two extension hooks for add-ons: <code>wccs_after_heading<\/code> (right after the suggestions heading) and <code>wccs_item_badge<\/code> (inside each suggestion card). They are used by the optional Pro add-on's info badge and have no visible effect on their own.<\/li>\n<\/ul>\n\n<h4>1.12.0<\/h4>\n\n<ul>\n<li>Initial public release on WordPress.org.<\/li>\n<li>Category-based cross-sell suggestions with optional per-product discount and savings badge.<\/li>\n<li>Theme-neutral rendering with a shortcode and block; optional Flatsome and WooFood adapters.<\/li>\n<li>Classic and block-based cart\/checkout support; HPOS compatible.<\/li>\n<li>Per-location display toggles (mini-cart \/ cart \/ checkout) and per-page \"limit\" rules.<\/li>\n<li>Global heading, query caching with automatic invalidation, and a diagnostics tab.<\/li>\n<\/ul>","raw_excerpt":"Category-based cross-sell suggestions with an optional discount and badge in the mini-cart, cart, and checkout. Theme-neutral.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/346334","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=346334"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sergej7"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=346334"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=346334"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=346334"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=346334"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=346334"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=346334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}