This topic has 12 replies, 2 voices, and was last updated 1 years, 8 months ago ago by Hostelion Digital
Hello 8Theme,
Is there an option to display the Product Status ONLY on the product itself? Like, “In Stock” or “Out of Stock” status should be displayed only on the product, where the description is shown. See the screenshots.
Thank you in advance!
Hello, Hostelion Digital,
Thank you for contacting us and for using XStore.
Here is an example https://prnt.sc/Ckxm7abFwvDA from our demo single product page.
What is login page URL? ../wp-admin/ redirects us to a 404 page.
Please disable all 3rd-party plugins and provide temporary wp-admin access.
Kind Regards,
8theme team
Hello 8theme team,
So you say it is possible to disable the Products Status on the Product Feed and show it Only on the Product Page?
Many Thanks in advance.
Hello, Hostelion Digital,
Yes, it is possible.
Also, we have advanced stock settings (Theme options > WooCommerce > Shop elements), and “out of stock” label (Theme options > WooCommerce > Shop elements > Product badges).
Kind Regards,
8theme team
Hello 8theme team,
Alright, I’ll try that and let you know if that worked.
Many Thanks
Hey there,
I’m back with info on this – so my problem is still not solved with the solution proposed. Please see the video in the private area. The Stock Status Should be ONLY Visible on the Poduct Page, not also on the Product Feed. On the Product Feed this Should Not Be Visible. Is this possible?
Many Thanks in advance.
Hello, Hostelion Digital,
Please add the next code in Theme options > Theme custom CSS > Global:
.woocommerce div.product .out-of-stock {
display: none;
}
Kind Regards,
8theme team
Hello,
It worked, but now the out-of-stock products are not having the status in place, it dissapeared completely also from the Product Page. So I would like to have this dissapear Only on the Product Feed and not on the Product Page.
Many Thanks.
Hello, Hostelion Digital,
Provide URL of the product page where the status is visible and disappears once the code is added.
Kind Regards,
8theme team
Hello, Added the links in the private area. Thanks!
Hello, Hostelion Digital,
Thank you for the response.
Please change the code to:
.woocommerce:not(.single-product) div.product .out-of-stock {
display: none;
}
Kind Regards,
8theme team
Hello, It worked. Thanks a lot!
Tagged: display, json, product status, themes, woocommerce, wordpress
The issue related to '‘Display Product Status only on the Product itself’' has been successfully resolved, and the topic is now closed for further responses