| 开发者 | sergej7 |
|---|---|
| 更新时间 | 2026年9月20日 00:54 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
cross-sell-with-discounts-for-woocommerce folder to /wp-content/plugins/, or install it through the WordPress Plugins screen.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 [wccs_cross_sell] shortcode or the "Cross-Sell Suggestions" block. A dedicated adapter keeps full Flatsome compatibility.
Yes. Under WooCommerce → Cross-Sell → Layout you can choose a stacked list, a horizontal slider (with dots or arrow controls), or a responsive grid. For the grid you set the maximum columns per location (mini-cart, cart, checkout) and an image format (landscape 4:3, square 1:1, or portrait 3:4); card widths are calculated automatically for your theme. You can also set the heading, the add-to-cart button label/icon/colour, and show or hide the quantity selector.
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.
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.
Deleting the plugin (not just deactivating it) removes all of its data: the settings option, product metas, and category metas — multisite-wide. There are no custom tables or cron events.
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.
wccs_is_suggestable filter so add-ons can hide individual suggestions.wccs_after_heading (right after the suggestions heading) and wccs_item_badge (inside each suggestion card). They are used by the optional Pro add-on's info badge and have no visible effect on their own.