magento-2-seo
magento-2-seo copied to clipboard
Choice of Main or Short Descripsion
Description (*)
Have schema use either the long or short product description based on user's choice
Expected behavior (*)
Choice to use either description for schema
Benefits
Using links in the main description breaks schema, so using the other description fixes this issue
Additional information
None. If there is a way to make this change, maybe the info could simply be added to the documentation.
Hi, I'm Shox from Mageplaza. Thanks so much for your comment. I will submit this issue to the development team. If you have any suggestions or problems, please feel free to contact us. One more time, thank you very much.
Thanks for the reply @giaphn . I was able to temporarily switch to the short description which is working great.
For those that want to switch descriptions in schema:
- Go to file
magento/vendor/mageplaza/magento-2-seo-extension/Plugin/SeoRender.php
- line 368 description to short
<?= $block->getCurrentCategory()->getShortDescription(); ?>