Initial commit
This commit is contained in:
commit
ce5a217ed4
10 changed files with 1080 additions and 0 deletions
27
etc/di.xml
Normal file
27
etc/di.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
~ Copyright James Oakley 2025. https://git.oakleys.org/
|
||||
~
|
||||
~ This file is part of Jro_PackagingWeight.
|
||||
~
|
||||
~ Jro_PackagingWeight is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by the
|
||||
~ Free Software Foundation, either version 3 of the License, or (at your
|
||||
~ option) any later version.
|
||||
|
||||
~ Jro_PackagingWeight is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
~ Public License for more details.
|
||||
|
||||
~ You should have received a copy of the GNU General Public License along with
|
||||
~ Jro_PackagingWeight. If not, see https://www.gnu.org/licenses/.
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework/ObjectManager/etc/config.xsd">
|
||||
|
||||
<type name="WebShopApps\MatrixRate\Model\Carrier\Matrixrate">
|
||||
<plugin name="add_packaging_weight_to_matrixrate"
|
||||
type="Jro\PackagingWeight\Plugin\MatrixRatePlugin" />
|
||||
</type>
|
||||
</config>
|
Loading…
Add table
Add a link
Reference in a new issue