Hi @ms100
When I remove the code, I do not see any difference on the front end. But I would like to know why some products have that code, while other products do not have that code? By default Woocommerce does not add that (class=”woocommerce-product-details__short-description”) code to the short product description right?
Yes, you are correct here. By default, that code is not being added by WooCommerce when you add a product description.
I tested changing between Storefront and Astra theme, to see if maybe a theme adds that code, but I did not see any theme add the code. If I don’t need the code, than I will remove the code from the products manually. But I do not want to regret later, because the code was needed for anything that I am not aware of at this moment.
For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if the code was removed?
If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.
If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.
If this did not resolve the issue, please share your System Status Report, that will help us further troubleshoot.
You can find it via WooCommerce > Status
. Select Get system report
and then Copy for support
. Once you’ve done that, you can paste it into your reply here.
If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs
.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Let us know how it goes!