Hi @handmadehome ,
We have tested the latest version 1.5.8 on our local site using the “Storefront” theme, but we were unable to replicate the issue. There were no major changes made in this version, and it should not affect the shortcodes.
Please ensure that the shortcode is being used correctly by checking its format and syntax against the plugin’s documentation.
If you have any caching plugins, try deactivating them to see if that resolves the issue. Additionally, review your log files for any errors that might have occurred.
If the issue persists, kindly send us your WordPress system report by following these steps:
- Log in to your WordPress dashboard.
- Go to WooCommerce > Status.
- Click the Get system report button.
- Click the Download for support button to download the system status information.
Alternatively, Please setup the staging site and enable the version 1.5.8 to check the issue.
Thanks
Hi,
Just to add, I am also having this issue. 1.5.8 not displaying stock qty in shortcode on posts.
Example – create a new post, use shortcode [products skus=”Code1,Code2,” columns=”3″]
As a separate note, stock status display is indented/unaligned in version 1.5.7
Hi I’ve tested on staging website. The issue still persists
@handmadehome
Please send your staging website link to check.
Thanks
Sure! Please let me know how I can send you a link
@handmadehome
You can send staging website home page link here.
Don’t post any login details here.
Thanks
I’ve added this for now:
add_action( 'woocommerce_after_shop_loop_item', 'bbloomer_show_stock_shop', 1 );
function bbloomer_show_stock_shop() {
if (is_singular('post')) {
global $product;
echo wc_get_stock_html( $product );
}
}
@davidburrows
Please comment the above code and check the issue in latest version 1.5.9.
Thanks
@handmadehome
We have fixed the issue in the version 1.5.9, Please update the plugin and let us know your feedback.
Thanks
Works great! Thank you so much for your support!