This topic has 7 replies, 2 voices, and was last updated 7 years ago ago by Olga Barlow
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.
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?
Hello,
I have added custom fix into child theme style.css.
Check the page now.
Regards
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.
Hello,
You have changed username and we can’t login to give you correct code. Please, enable our account.
Regards
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;
}
Ok. We are glad that problem was solved.
Regards
You must be logged in to reply to this topic.Log in/Sign up