This topic has 4 replies, 2 voices, and was last updated 1 years, 6 months ago ago by Rose Tyler
Hello,
I’m facing an issue with the website responsiveness on mobile devices as you can see in the screenshot attached the green color cart icon is off and
secondly, when you clicked on the add to cart icon it redirected to the product page and it does not add the product to the cart
Lastly, the spinner is getting to 0 (Zero) which I think should not go below 1
Screenshot
https://postimg.cc/NLKvTcL7
Hello, Manish Singh,
Thank you for getting in touch with us.
1/ You can add the next code in Theme Options > Theme custom CSS > Mobile:
.et-advance-tabs .et-tabs-content>div {
padding: 0px !important;
}
2/ It is the correct behavior for variable products.
3/ “Lastly, the spinner is getting to 0 (Zero) which I think should not go below 1” – please provide a video or screenshot, currently your request is a bit unclear to us.
Thank you for your cooperation and we look forward to hearing from you soon.
Kind Regards,
8theme team
Hello
the spinner is getting to 0 (Zero) as you can see in the screenshot which I think should not go below 1
Screenshot
https://postimg.cc/9rh1N9HJ
Hello, Manish Singh,
Thank you for your response.
Could you please, add next code snippet to your child-theme/functions.php
add_filter('woocommerce_quantity_input_min', function($min_value, $_product) {
$min_purchase_quantity = $_product->get_min_purchase_quantity();
return $min_purchase_quantity > $min_value ? $min_purchase_quantity : $min_value;
}, 10, 2);
It seems WooCommerce sets 0 (zero) value as min quantity by default in it’s function ‘woocommerce_quantity_input’ → https://prnt.sc/9hIdNKyajQBK but for single product quantities they set another param for ‘min_value’ arg → https://prnt.sc/e8bSWnDBsgFq
In case we will get more similar requests we will consider adding such a fix globally included.
Waiting for your feedback!
Kind Regards,
8theme team
Tagged: best selling, help, issues, mobile devices, responsive, themes, woocommerce
You must be logged in to reply to this topic.Log in/Sign up