Quantity Input Field Masked/Hidden - by sunland2

This topic has 7 replies, 2 voices, and was last updated 7 years ago ago by Olga Barlow

  • Avatar: sunland2
    sunland2
    Participant
    October 27, 2017 at 18:25

    We’re using the WooCommerce Wholesale Order Form plugin to present our product catalog as an order form, but the Quantity input field in our forms is not visible. We’ve worked with the plugin author (who claims other XStore them users are using the plugin), but without resolution. When we disable the XStore Core Elements plugin and switch to another theme, the order forms display perfectly. All things point to a conflict with XStore or its core elements plugin.

    I’ve set you up with an administrator user account because you have to be logged in as a customer in order to view the order form at https://preview.sunlandspecialties.com/wholesale-ordering/.

    A screenshot of the order form and ‘hidden’ quantity fields is here – https://www.sunlandspecialties.com/preview/WholesaleOrderForm.png. All the quantity form fields are visible when doing a View Source of the page, of course.

    Thanks for getting to the bottom of this.

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: sunland2
    sunland2
    Participant
    October 28, 2017 at 00:25

    One more thing. We’ve deactivated EVERY plugin except for WooCommerce and WooCommerce Wholesale Order Form, and with the XStore theme activated, quantity input fields are not visible. With WordPress Twenty Seventeen theme activated, the are visible. Either 8Theme or the WholesaleSuite support team needs to provide an explanation and a fix, otherwise merchants like us are going to be forced to walk away from both of your products, reluctantly, and advise other merchants of this issue. Fair enough?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 28, 2017 at 11:43

    Hello,

    I have added custom fix into child theme style.css.
    Check the page now.

    Regards

    Avatar: sunland2
    sunland2
    Participant
    October 28, 2017 at 15:32

    Oh-oh. I didn’t know where you had made you made you changes, and I have to make a CSS style – and erased it. I didn’t realize it was a simple CSS style change you had made. Please post those CSS stylesheet lines here in a reply so I can restore them – or make it again and this time I’ll know where you did your work. Thanks.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 31, 2017 at 10:40

    Hello,

    You have changed username and we can’t login to give you correct code. Please, enable our account.

    Regards

    Avatar: sunland2
    sunland2
    Participant
    October 31, 2017 at 12:30

    Sorry, Olga. The Wholesale Order Forms plugin team provided a more robust solution to resolve the issue. It’s no longer a problem. Here is their functions.php fix:

    // Add quantity buttons back - Wholesale Order Forms fix
    add_filter( 'wwof_filter_product_item_quantity', 'my_wwof_add_quantity_button', 99, 2 );
    function my_wwof_add_quantity_button( $quantity_field , $product ) {
        $quantity_field = str_replace('<div class="quantity">', '<div class="quantity buttons_added"><input type="button" value="-" class="minus">', $quantity_field);
        $quantity_field = str_replace('</div>', '<input type="button" value="+" class="plus"></div>', $quantity_field);
        return $quantity_field;
    }
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 31, 2017 at 12:33

    Ok. We are glad that problem was solved.

    Regards

  • Viewing 7 results - 1 through 7 (of 7 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.