Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1413761

    Hi there,

    1. I’m working on a WooCommerce shop, and am specifically using an extension called WooCommerce Composite Products. It appears that the quantity fields for the “Components” are displaying fill-in fields, vs the +/- buttons for the quantity. I messaged the plugin developer and they told me that this was something that was managed by the theme.

    2. The quantity buttons under the “Select: Desk Colors” and “CPU Holder” component aren’t working.

    I have provided credentials to the site below, too.

    #1413767

    Hi vantagepointmg,

    Thanks for giving us admin access.
    It seems WooCommerce Composite Products does not work well with our number buttons, I have added this CSS code to enable the number spinner in the number field:

    #top #wrap_all .quantity input.qty {
        width: 80px;
    }
    
    #top #wrap_all .quantity input.qty::-webkit-outer-spin-button, 
    #top #wrap_all .quantity input.qty::-webkit-inner-spin-button {
        -webkit-appearance: auto;
        appearance: auto;
    }

    Please review your website.

    Best regards,
    Nikko

    #1413783

    Hi Niko,

    Appreciate the quick help! How does that view on mobile? I’m having a hard time seeing it. Is it possible to add the +/- instead?

    ~MacKenzie

    #1413885

    Hi MacKenzie,

    On mobile it shows like an input field, but when the field is focused the keys showing on mobile will just be numbers.
    As for fixing it, the problem is conflict with the WooCommerce Composite Products and Enfold theme which prevents that feature of Enfold from working properly takes to time to identify the cause of the issue, fix and test, so the only workable solution at the moment is to disable the feature and use the original behavior the plugin provides.

    Best regards,
    Nikko

    #1414276

    Hi Nikko,

    I appreciate the additional information, thank you! I think we’ll be able to work with that for now.

    Another quantity-related issue is that we aren’t able to update the quantities on the cart page on mobile (screenshot here: https://ibb.co/pJBFCDh)

    ~MacKenzie

    #1414283

    Hi MacKenzie,

    Changing quantities is hidden in the cart on Enfold by default, but you can add it back by adding this CSS code:

    @media only screen and (max-width:767px) {
        #top .woocommerce-cart-form .shop_table.cart .cart_item {
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        
        #top .woocommerce-cart-form .shop_table.cart .cart_item td:before {
            content: attr(data-title) ": ";
            font-weight: 700;
            float: left;
        }
        
        #top .woocommerce-cart-form thead,
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-remove:before {
            display: none;
        }
        
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-remove, 
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-name, 
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-price, 
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-quantity {
            display: block;
            width: 100%;
            padding: 12px 20px;
        }
        
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-name, 
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-price, 
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-quantity {
            text-align: right;
        }
        
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-name .component-name {
            max-width: 220px;
            margin-left: auto;
            padding-left: 0;
        }
        
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-name .component-name * {
            float: right;
        }
        
        #top .woocommerce-cart-form .shop_table.cart .cart_item .product-quantity .quantity {
            width: 170px;
            margin-right: 0;
        }
    }

    Hope it helps.

    Best regards,
    Nikko

    #1414447

    Thanks, Nikko! Looks like that did the trick!

    Looks like the +\- buttons on the cart page on desktop need a little styling help – can you provide some insight? Here’s a screenshot of what I’m seeing; https://ibb.co/37Lm3pw

    #1414450

    Hi MacKenzie,

    You’re welcome :)
    Please add this CSS code:

    #top .woocommerce-cart-form .shop_table.cart .cart_item .product-quantity .quantity {
        width: 170px;
    }

    Best regards,
    Nikko

    #1414451

    You’re awesome, that worked like a charm :)

    Is there a library anywhere with those shortcodes? I’ve been an Enfold user for a number of years and have always wondered that.

    #1414453

    Hi MacKenzie,

    You’re welcome, I’m happy that I could help.
    Also those are CSS codes, they are not in our documentation because I just made it on the spot when I inspected your website :)
    You can learn those skills by learning CSS:
    https://www.w3schools.com/Css/
    https://developer.mozilla.org/en-US/docs/Web/CSS/Tutorials
    And also learn how to inspect elements:

    I hope you’ll find those resources helpful

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.