When using the {woo_product_excerpt} dynamic tag, if a product does not have a short description set, the tag falls back to displaying the full product description. This results in unintended long content being shown where only a short summary is expected.
Steps to Reproduce:
Create or edit a WooCommerce product.
Leave the “Short Description” field empty.
Add {woo_product_excerpt} to a template or product display.
View the product on the front end.
Expected Behaviour:
If the short description is empty, {woo_product_excerpt} should return blank (or nothing) instead of pulling in the full product description.
Actual Behaviour:
If the short description is empty, {woo_product_excerpt} displays the entire product description, leading to layout and content duplication issues.
I’ll mark this one as a no bug, because this is how WooCommerce works. If there is no excerpt, it will take a content, and in the case of the product, this will be full description. Now, by default I think it’s also limited to 55 words, but you can use it like this: {woo_product_excerpt:20} and it will limit it to 20 words max.
There is no built-in modifier for {woo_product_excerpt} that disables the WooCommerce/WordPress excerpt fallback. The current tag follows the normal excerpt behavior: if the product short description is empty, the excerpt is generated from the product content.
For short-description-only output, use a custom function and call it via an Echo Function dynamic tag. (Not tested, but it should work):