Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <?php
  2. namespace LearningCustomBlockAdminhtmlProduct;
  3.  
  4. use MagentoCatalogBlockAdminhtmlProductEdit;
  5.  
  6. class ProductEdit extends Edit
  7. {
  8.  
  9. /**
  10. * @var string
  11. */
  12. protected $_template = 'catalog/product/edit.phtml';
  13.  
  14.  
  15. }
  16.  
  17. <?xml version="1.0"?>
  18. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  19.  
  20.  
  21. <!--<preference for="MagentoCatalogBlockAdminhtmlProductEdit" type="VLCSolutionsDynamicsNAVBlockAdminhtmlProductProductEdit"/>-->
  22.  
  23. <type name="MagentoCatalogBlockAdminhtmlProductEdit">
  24. <plugin name="custom_product_edit" type="VLCSolutionsDynamicsNAVBlockAdminhtmlProductProductEdit" />
  25. </type>
  26.  
  27. </config>
  28.  
  29. <h1> Hi I'm extending product edit page</h1>
  30. ....
  31. //below is the product edit.phtml file coding here i'm not posting.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement