开发者 | seanconklin |
---|---|
更新时间 | 2024年10月31日 01:28 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.7-RC2 |
版权: | GPLv2 or later |
Decisions not options! There is no settings page!
Frequently Bought Together and Product Recommendations:
Activating this plugin will insert the Frequently Bought Together section into the single product page via the WooCommerce hook woocommerce_after_single_product_summary
.
If you need to insert the Frequently Bought Together feature via shortcode, such as with a page builder like Elementor, please follow this format: [ccom_fbt cross_sells="no" heading="Frequently purchased together…" heading_tag="h2"]
.
Cross sells feature will give preference to any products linked as cross-sells in the product settings.
Recommendations data can also be used for your Related Products by adding the following into your Code Snippets or child theme functions.php
file:
add_filter( 'woocommerce_related_products', function( $related_posts, $product_id ) {
$product = wc_get_product( $product_id );
$recommendations = (array) $product->get_meta( 'ccom_recommendations', true );
return array_merge( $recommendations, $related_posts );
}, 10, 2 );
Out-of-stock Alternatives:
Up-sell products configured in the WooCommerce product edit screen will be shown on out-of-stock single product pages above the empty add-to-cart form.
Order Bumps on Cart and Checkout:
Order bumps are configured on the Reusable Blocks page located within the Appearance admin menu.
Create one or more reusable blocks containing your order bump design using any WooCommerce Blocks that you wish to, such as the Hand Picked Products block. Name your reusable block "Product Name -and- Product Name -for- Product Name" where the product names represent the product(s) in your design followed by the trigger product.
Your offer will display on the cart and checkout pages when the trigger product is on cart and no other products titled in the reusable block are in the cart.
You may also display the order bump(s) using the shortcode [ccom_order_bump]
. This is useful with the new WooCommerce Cart and Checkout blocks.
This plugin is funded by clients of Coded Commerce, LLC funding feature requests for development. When we develop useful code under GPL licensing we share it on our site as Code Snippets and in some cases package great features like these into free plugins so everybody can benefit, including the originating client via bug fixes and others' funded feature requests. We also welcome donations via the "Donate to this plugin" button towards the bottom of the right sidebar on the WordPress.org plugin page.
To report bugs, please click the Support tab, search for any preexisting report, and add yourself to it by commenting or open a new issue. To request new compatibilities or features, please consider hiring the developer of this plugin or another developer who can provide us with code enhancements for review. Paid premium support is also available for those looking for one-on-one help with their specific WordPress installation. Visit our website in the link above and contact us from there.