I am working on Admin Actions Log Extension. For the reference i am using link below


I want to get old and new data of products while we save product data in admin.

I've tried to make plugin for product, but it's not calling.


<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
      <type name="Magento\Catalog\Api\ProductRepositoryInterface">
            <plugin name="catalog_product_around_save" type="
            [vendorname]\[modulename]\Plugin\ProductSave" sortOrder="1"/>    

if anyone has a solution please let me know.

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.