You need to copy related.php file (xstore/woocommerce/single-product folder) to xstore-child/woocommerce/single-product folder and add this code
'meta_query' => array( array ( 'key' => '_stock_status', 'value' => 'instock', 'compare' => '=' ))
Also, edit xstore-child/woocommerce/single-product/up-sells.php file https://prnt.sc/jhpb65 > https://prnt.sc/jhpc25
$meta_query = array( array ( 'key' => '_stock_status', 'value' => 'instock', 'compare' => '=' ));
Let us know result.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty