Span appears next to the stock indicator.
-
Span appears next to the stock indicator
Attached image
Attachments:
You must be
logged in to view attached files.
Within the products it does not appear to
Hello,
Please share the wp logins details in private content under the message area i will check and give you a possible solution.
Best Regards.
Hello,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and let me know I will check and give you a possible solution. Also switch the child to parent theme.
Best Regards.
Hello,
It looks like it was a plugin I use to display the stock.
The usefulness of that plugin is that it shows that there is stock when we have more than 12 units of a product, and shows the remaining units when it is below 12.
Is there any way to do this without that plugin that is giving problems.
Thank you very much.
Hello,
Try to add below PHP code to functions.php file in Child theme.
add_action( 'woocommerce_after_shop_loop_item', 'pkmentor_show_stock_shop', 10 );
function pkmentor_show_stock_shop() {
global $product;
echo wc_get_stock_html( $product );
}
Best Regards.
Thank you,
Until recently it has been working, I don’t know what has happened that now it doesn’t show me the available stock.
Hello,
Try to use a stock progress bar. Go to Theme Settings > Product Archive > Products Styles > Stock progress bar.
https://xtemos.com/docs-topic/products-stock-progress-bar-2/
Best Regards.