Descripción
The goal of this plugin is to show the “stock quantity” under each product in the shop, category and archive pages (wherever there is a loop). The code is based on this tutorial: https://businessbloomer.com/woocommerce-add-stock-quantity-on-shop-page/
Instalación
- Upload the folder
woo-show-stock
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- That’s it!
Reseñas
12 de abril de 2021
It works
5 de abril de 2021
G2G! (Good to Go!)
4 de marzo de 2021
Not working on shop page with Woocommerce 5.0.0, WP 5.6.2 and Uncode theme…
3 de marzo de 2021
And thanks to @thedigitalintern for his solution !!! it worked.
Waiting for an update of the plugin.
29 de septiembre de 2020
After enabling, the following error appears where it's supposed to display stock:
Warning: _() expects exactly 1 parameter, 2 given in /home/customer/www/sitename/public_html/wp-content/plugins/woo-show-stock/main.php on line 32
16 de noviembre de 2019
Although to plugin page says to simply install it and do nothing else, this is wrong. I'll try to save you the 30 min I wasted.
Make sure to go to woocommerce/settings/products/inventory and check at bottom "always show available stock.
Colaboradores y desarrolladores
«Show Stock for WooCommerce» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «Show Stock for WooCommerce» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.1 – 10 Mar 2021
- Fixed : ‘printf’ variable error.
1.0 – 9 Mar 2021
- Update : .pot file
- Update : Code refactor
- Fixed: PHP fatal error
- Fixed: ‘Out of stock’ message not showing.
- Fixed: ‘Low stock’ message not showing.
- Fixed: html div element not wrrap the stock message.
- Fixed: WC 5.0 version compability