Initial commit of individual extension
This commit is contained in:
0
app/code/Shopkeeper/PDFingPO/etc/.gitkeep
Normal file
0
app/code/Shopkeeper/PDFingPO/etc/.gitkeep
Normal file
17
app/code/Shopkeeper/PDFingPO/etc/di.xml
Normal file
17
app/code/Shopkeeper/PDFingPO/etc/di.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
|
||||
<!-- Plugin for the main Template model -->
|
||||
<type name="Amasty\PDFCustom\Model\Template">
|
||||
<plugin name="shopkeeper_pdf_cost_template"
|
||||
type="Shopkeeper\PDFingPO\Plugin\Amasty\TemplatePlugin"/>
|
||||
</type>
|
||||
|
||||
<!-- Plugin for the Filter if it exists -->
|
||||
<type name="Magento\Email\Model\Template\Filter">
|
||||
<plugin name="shopkeeper_pdf_cost_filter"
|
||||
type="Shopkeeper\PDFingPO\Plugin\Amasty\FilterPlugin"/>
|
||||
</type>
|
||||
|
||||
</config>
|
||||
10
app/code/Shopkeeper/PDFingPO/etc/module.xml
Normal file
10
app/code/Shopkeeper/PDFingPO/etc/module.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
|
||||
<module name="Shopkeeper_PDFingPO" setup_version="1.0.0">
|
||||
<sequence>
|
||||
<module name="Magento_Sales"/>
|
||||
<module name="Magento_Catalog"/>
|
||||
</sequence>
|
||||
</module>
|
||||
</config>
|
||||
Reference in New Issue
Block a user