As my website updates to 1.5.4 automatically, I’ve added the following snippet as a workaround for the time being;
add_action( 'woocommerce_after_shop_loop_item_title', 'custom_show_stock_shop', 10 );
function custom_show_stock_shop() {
global $product;
echo wc_get_stock_html( $product );
}
Leaving as unresolved awaiting your reply, if this will be fixed in the next version, or if the custom snippet needs to remain?
Hi, https://sagedecor.com/product-category/foliage-greenery/leaves/
Here you can see the ‘Out of Stock’ and ‘936 in Stock’ for the first two items.
On 1.5.4, no stock status is shown, it just shows the minimum order quantity, followed by the more info/add to cart button.
Iv’e tried installing SEO engine and cannot find where to grab a description and short description for products. Would you be kind enough to supply the prompt for the description and short description that was used in the old version? Thanks.