magento-2-seo icon indicating copy to clipboard operation
magento-2-seo copied to clipboard

Choice of Main or Short Descripsion

Open themew opened this issue 2 years ago • 2 comments

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.

themew avatar Apr 08 '22 22:04 themew

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.

giaphn avatar Apr 12 '22 02:04 giaphn

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(); ?>

themew avatar Apr 12 '22 15:04 themew