How you doing?
It’s a rainy Wednesday here in Sicily – and officially our 23rd day of #stayhome quarantine here in Italy. Numbers are improving, so it seems the drastic measures are working. We’ll spend Easter without our families, and for Italy this is a big deal – but thankfully that’s not as important as coming out of this difficult situation!
Anyway, welcome back to our WooCommerce Weekly appointment – here comes a series of WooCommerce tutorials put together by yours truly so that you can learn something new.
New WooCommerce Tips
WooCommerce: Sync Product Quantities @ Cart
This snippet will help you synchronize all your cart items’ quantities with a given product ID quantity. When you add a second product to cart, therefore, it will get the same quantity of your product ID. Also, if you update the quantity of product ID, the other cart item quantities will automatically update accordingly. Applications are quite niche, but it’s great to learn how to programmatically set the quantity of a cart item. Enjoy: https://businessbloomer.com/woocommerce-sync-product-quantities-cart/









