Disable estimate delivery for products with backorder enabled
-
Hey, is there a way to disable estimate delivery for products with backorder or backorder, but notify client enabled?
Im using custom layout created with elementor. Thanks, love your theme.
Hello,
Add the code below to the child theme, then recheck how it works.
add_filter(
'woodmart_est_del_ignore',
function ( $ignore, $product ) {
if ( $product && $product->is_on_backorder() ) {
return true;
}
return $ignore;
},
10,
2
);
Kind Regards
Works perfectly. Thank you.
Hello,
Thank you for confirming that the solution worked perfectly for you. We are glad to hear that you are satisfied with the theme and our support. If you have any more questions or need further assistance, feel free to reach out.
Kind regards
The topic ‘Disable estimate delivery for products with backorder enabled’ is closed to new replies.