naveeed
Forum Replies Created
-
Hi
Any update on this request?
Hi Tarek,
I appreciate your quick reply.
I have tried that option, but still the products show with READ MORE.(checked / unchecked option to see custom code might override settings)
Tried,with below code also.
add_filter( ‘woocommerce_products_widget_query_args’, ‘custom_products_widget_query_arg’, 10, 1 );
function custom_products_widget_query_arg( $query_args ) {
if( ! is_admin() ) {
$query_args[‘meta_query’][] = array(
‘key’ => ‘_stock_status’,
‘value’ => ‘outofstock’,
‘compare’ => ‘!=’
);
}
return $query_args;
}add_filter( ‘woocommerce_products_widget_query_args’, ‘custom_products_widget_query_arg’, 10, 1 );
function custom_products_widget_query_arg( $query_args ) {
if( ! is_admin() ) {
$query_args[‘tax_query’][] = array(
‘taxonomy’ => ‘product_visibility’,
‘field’ => ‘name’,
‘terms’ => array(‘outofstock’),
‘operator’ => ‘NOT IN’
);
}
return $query_args;
}————add_filter( ‘woocommerce_product_query_meta_query’, ‘shop_only_instock_products’, 10, 2 );
function shop_only_instock_products( $meta_query, $query ) {
// Only on shop archive pages
if( is_admin() || is_search() || ! is_shop() ) return $meta_query;
$meta_query[] = array(
‘key’ => ‘_stock_status’,
‘value’ => ‘outofstock’,
‘compare’ => ‘!=’
);
return $meta_query;
}add_filter( ‘woocommerce_product_query_meta_query’, ‘filter_product_query_meta_query’, 10, 2 );
function filter_product_query_meta_query( $meta_query, $query ) {
// On woocommerce home page only
if( is_front_page() ){
// Exclude products “out of stock”
$meta_query[] = array(
‘key’ => ‘_stock_status’,
‘value’ => ‘outofstock’,
‘compare’ => ‘!=’,
);
}
return $meta_query;
}———-PS. product are added as menu tfwooproductgrid
class=”elementor-element elementor-element-8302056 elementor-widget elementor-widget-tfwooproductgrid”
Forum: Plugins
In reply to: [Min and Max Quantity Rule For Woocommerce] Group Manager settings in productHi,
It’s been a week, waiting for any reponse from the support team.
Should I expect the reply, or look for the alternate plugin from other programmer to get our job done.
(We will buy the pro)Hi,
Thanks for the reply.I have products with prices mixed with tax and without tax.
I need to show the tax amount for the product price with including tax, separately in Cart and Checkout.Now for including vat products shows 0 as tax amount, which make big issue for the TAX authorities.
Hello,
I am from Saudi Arabia, and I am getting this error “The DHL plugin is not supported in your store’s “Base Location””, is there any way, I can use it from my location.
Thank you