Learn how to install and use the Londom OOS Alternatives plugin.
woocommerce_single_product_summary hook.londom_oos_notice_text — banner message shown above the block.londom_alternatives_title — section title.londom_view_all_text — “View all” button label.londom_alternatives_count — number of items (default: 4).londom_load_inline_styles — return false to disable inline CSS and enqueue your own.londom_alternative_products_query_args — filter WooCommerce args for the fallback query.londom_vip_relax_queries — return true to avoid exclude/meta_key/tax_query (VIP-friendly).// Change banner text
add_filter('londom_oos_notice_text', function($t){ return 'This product is sold out — here are some alternatives 👇'; });
// Show 6 items
add_filter('londom_alternatives_count', function(){ return 6; });
// Disable inline styles (to enqueue your CSS)
add_filter('londom_load_inline_styles', '__return_false');
If the alternatives block does not appear: