ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" ?>
|
||||
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
|
||||
<table name="quote">
|
||||
<column name="other_ref_num" nullable="true" xsi:type="varchar" comment="Customer PO Number" />
|
||||
</table>
|
||||
</schema>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
<preference for="Magento\Checkout\Api\ShippingInformationManagementInterface" type="Lts\Checkout\Model\ShippingInformationManagement" />
|
||||
</config>
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" ?>
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
|
||||
|
||||
<event name="checkout_cart_product_add_before">
|
||||
<observer name="check_customer" instance="Lts\Checkout\Observer\CheckCustomer"/>
|
||||
</event>
|
||||
</config>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
<type name="Magento\Checkout\Block\Checkout\LayoutProcessor">
|
||||
<plugin name="lts_checkout_layoutprocessor" type="Lts\Checkout\Plugin\Checkout\LayoutProcessor"/>
|
||||
</type>
|
||||
|
||||
<type name="Magento\Checkout\Model\CompositeConfigProvider">
|
||||
<arguments>
|
||||
<argument name="configProviders" xsi:type="array">
|
||||
<item name="checkout_other_ref_num_config_provider" xsi:type="object">Lts\Checkout\Model\Checkout\OtherRefNumConfigProvider</item>
|
||||
</argument>
|
||||
</arguments>
|
||||
</type>
|
||||
</config>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<config xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<router id="standard">
|
||||
<route id="Lts_Checkout" frontName="lts_checkout">
|
||||
<module name="Lts_Checkout"/>
|
||||
</route>
|
||||
</router>
|
||||
</config>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="Lts_Checkout">
|
||||
<sequence>
|
||||
<module name="Magento_Checkout" />
|
||||
</sequence>
|
||||
</module>
|
||||
</config>
|
||||
Reference in New Issue
Block a user