hi skelaw, i have the same problem…
show shop
@taisho: i hope you can help us?!
best regards and stay healthy in the troubled times 🙂
Thank you Tom
Thread Starter
skelaw
(@skelaw)
Taisho delete this message if you find it offensive.
I find some other way to display quantity field on the shop page. It is not as nice as Taisho’s plugin, but works. Until fix I will use it.
Plugin that works
Works simmilar but with just one field instead of +/- fields.
It looks like this on my shop page.
dear skelaw,
thanks, you are my hero!!!
you gave me an idea
I just installed your linked plugin in parallel and hid Taisho’s in the catergory … and it works 🙂
Taisho will not be enthusiastic …. sorry but maybe he has an approach!
….shop
Greetings Tom
-
This reply was modified 6 years, 1 month ago by
systom.
-
This reply was modified 6 years, 1 month ago by
systom.
Small addendum: To hide the ITIM message, you have to comment out the function in the /wp-content/plugins/quantity-field-on-shop-page-for-woocommerce/quantity-field-shop-page.php:
from line 100
`/** public function woa_confirm_add() {
wc_enqueue_js( ‘
jQuery(document.body).on(“added_to_cart”, function( data ) {
jQuery(“.added_to_cart”).after(“<p class=\’confirm_add\’>Item Added</p>”);
});
‘ );
} */
-
This reply was modified 6 years, 1 month ago by
systom.
Plugin Author
taisho
(@taisho)
Hello,
First of all, I have no objections to posting competitive solutions that help other users solve reported problems, especially that I was inactive for a few weeks.
I’m sorry for the inconvenience, I had a lot on my mind lately and couldn’t test the plugins with WooCommerce 4.0 in a timely manner.
This said I’ll be releasing 2.7.0 update this weekend which among a few things fixes this problem.
For a fast fix – in 2.6.1 version of the plugin, file: qty-increment-buttons-for-woocommerce.php, change line 469 from:
add_to_cart_button.data( "quantity", jQuery( this ).val() );
to:
add_to_cart_button.attr( "data-quantity", jQuery( this ).val() );
Best Regards,
Ryszard