I want to be able to modify a part of the page of the details of the products of magento 2

enter image description here

The marked part is the one that I want to be able to edit, add or remove content is that section.

So far I can modify the title, the price and the description below, but how do I manage to manipulate that section? From the admin panel is the content section. I have tried so

public function afterLoad(\Magento\Catalog\Model\Product $subject, $result)
    $subject->setData('content', $subject->getContent() . '- TEST CONTENT');
    return $result;

But it does not work, how can I solve it?

And this is my di.xml file

  <type name="Magento\Catalog\Model\Product">
    <plugin name="change_product" type="Devchannel\HelloWorld\Plugin\Product " sortOrder="1" disabled="false"/>

enter image description here

  • Mentioned section is blank. What do you want to do? Dec 19 '18 at 14:08
  • @SukumarGorai The section is white because that article has it empty, but there are others that have content, what I need is to be able to modify it, in the view of the admin is the content section Dec 19 '18 at 14:09
  • @SukumarGorai Add another photo where there is content in that section Dec 19 '18 at 14:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.