I’m facing issue with the website responsiveness on the mobile devices

This topic has 4 replies, 2 voices, and was last updated 1 years, 6 months ago ago by Rose Tyler

  • Avatar: Manish Singh
    Manish Singh
    Participant
    May 1, 2023 at 11:44

    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

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 1, 2023 at 14:19

    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

    Avatar: Manish Singh
    Manish Singh
    Participant
    May 1, 2023 at 15:01

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 2, 2023 at 08:35

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.