Magento 2 - Bundle product
I have extended Bundle product to create new product type. Now, bundle options are getting saved and can be seen in database. But after save, these options are not visible at backend -> Catalog????
Is there any problem with extension_attributes.xml? Following is the code:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCatalogApiDataProductInterface">
<attribute code="bundle_product_options" type="MagentoBundleApiDataOptionInterface" />
</extension_attributes>
<extension_attributes for="MagentoQuoteApiDataProductOptionInterface">
<attribute code="bundle_options" type="MagentoBundleApiDataBundleOptionInterface" />
</extension_attributes>
<extension_attributes for="MagentoCatalogApiDataProductOptionInterface">
<attribute code="bundle_options" type="MagentoBundleApiDataBundleOptionInterface" />
</extension_attributes>
Code of etc/di.xml is following:
<?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="MagentoCatalogBlockProductViewOptionsTypeSelect">
<plugin name="Shawkatsoft_Customproduct::pluginAroundSelect" type="ShawkatsoftCustomproductPluginPluginAroundSelect" sortOrder="1" />
</type>
<type name="MagentoCatalogBlockProductView">
<plugin name="Shawkatsoft_Customproduct::pluginAroundView" type="ShawkatsoftCustomproductPluginPluginAroundView" sortOrder="1" />
</type>
<type name="MagentoBundleUiDataProviderProductFormModifierComposite">
<plugin name="Shawkatsoft_Customproduct::pluginAroundComposite" type="ShawkatsoftCustomproductPluginPluginAroundComposite" sortOrder="1" />
</type>
<type name="MagentoCatalogModelProductAttributeBackendPrice">
<plugin name="Shawkatsoft_Customproduct::pluginAroundBackendPrice" type="ShawkatsoftCustomproductPluginPluginAroundBackendPrice" sortOrder="100" />
</type>
<type name="MagentoSalesModelOrderItem">
<plugin name="Shawkatsoft_Customproduct::pluginAroundItem" type="ShawkatsoftCustomproductPluginPluginAroundItem" sortOrder="100" />
</type>
<type name="MagentoCatalogModelProduct">
<plugin name="Shawkatsoft_Customproduct::pluginAroundProduct" type="ShawkatsoftCustomproductPluginPluginAroundProduct" sortOrder="100" />
</type>
<type name="MagentoQuoteModelQuoteItemToOrderItem">
<plugin name="Shawkatsoft_Customproduct::pluginAroundQuoteItem" type="ShawkatsoftCustomproductPluginPluginAroundQuoteItem"/>
</type>
<type name="MagentoBundleModelOptionManagement">
<plugin name="Shawkatsoft_Customproduct::pluginAroundOptionManagement" type="ShawkatsoftCustomproductPluginPluginAroundOptionManagement"/>
</type>
<type name="MagentoBundleModelOptionRepository">
<plugin name="Shawkatsoft_Customproduct::pluginAroundOptionRepository" type="ShawkatsoftCustomproductPluginPluginAroundOptionRepository"/>
</type>
<type name="MagentoBundleModelLinkManagement">
<plugin name="Shawkatsoft_Customproduct::pluginAroundLinkManagement" type="ShawkatsoftCustomproductPluginPluginAroundLinkManagement"/>
</type>
<type name="MagentoFrameworkEntityManagerOperationExtensionPool">
<arguments>
<argument name="extensionActions" xsi:type="array">
<item name="MagentoCatalogApiDataProductInterface" xsi:type="array">
<item name="create" xsi:type="array">
<item name="create_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductSaveHandler</item>
</item>
<item name="update" xsi:type="array">
<item name="update_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductSaveHandler</item>
</item>
<item name="read" xsi:type="array">
<item name="read_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductReadHandler</item>
</item>
</item>
</argument>
</arguments>
</type>
Code of etc/adminhtml/di.xml is following:
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="MagentoCatalogControllerAdminhtmlProductInitializationHelper">
<plugin name="Shawkatsoft_Customproduct::pluginAroundHelper" type="ShawkatsoftCustomproductPluginPluginAroundHelper" sortOrder="60" />
</type>
<type name="MagentoSalesBlockAdminhtmlOrderCreateSidebarAbstractSidebar">
<plugin name="Shawkatsoft_Customproduct::pluginAroundAbstractSidebar" type="ShawkatsoftCustomproductPluginPluginAroundAbstractSidebar" sortOrder="200"/>
</type>
<type name="MagentoBundleModelResourceModelSelectionCollection">
<plugin name="Shawkatsoft_Customproduct::pluginAroundCollection" type="ShawkatsoftCustomproductPluginPluginAroundCollection" sortOrder="60" />
</type>
<type name="ShawkatsoftCustomproductPluginPluginAroundComposite">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="bundleSku" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleSku</item>
<item name="bundlePrice" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundlePrice</item>
<item name="bundleWeight" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleWeight</item>
<item name="bundleQuantity" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleQuantity</item>
<item name="bundleAdvancedPricing" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleAdvancedPricing</item>
<item name="bundlePanel" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundlePanel</item>
<item name="bundleCustomOptions" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleCustomOptions</item>
</argument>
</arguments>
</type>
di.xml
php database magento-2.1.7 bundled-product
add a comment |
I have extended Bundle product to create new product type. Now, bundle options are getting saved and can be seen in database. But after save, these options are not visible at backend -> Catalog????
Is there any problem with extension_attributes.xml? Following is the code:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCatalogApiDataProductInterface">
<attribute code="bundle_product_options" type="MagentoBundleApiDataOptionInterface" />
</extension_attributes>
<extension_attributes for="MagentoQuoteApiDataProductOptionInterface">
<attribute code="bundle_options" type="MagentoBundleApiDataBundleOptionInterface" />
</extension_attributes>
<extension_attributes for="MagentoCatalogApiDataProductOptionInterface">
<attribute code="bundle_options" type="MagentoBundleApiDataBundleOptionInterface" />
</extension_attributes>
Code of etc/di.xml is following:
<?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="MagentoCatalogBlockProductViewOptionsTypeSelect">
<plugin name="Shawkatsoft_Customproduct::pluginAroundSelect" type="ShawkatsoftCustomproductPluginPluginAroundSelect" sortOrder="1" />
</type>
<type name="MagentoCatalogBlockProductView">
<plugin name="Shawkatsoft_Customproduct::pluginAroundView" type="ShawkatsoftCustomproductPluginPluginAroundView" sortOrder="1" />
</type>
<type name="MagentoBundleUiDataProviderProductFormModifierComposite">
<plugin name="Shawkatsoft_Customproduct::pluginAroundComposite" type="ShawkatsoftCustomproductPluginPluginAroundComposite" sortOrder="1" />
</type>
<type name="MagentoCatalogModelProductAttributeBackendPrice">
<plugin name="Shawkatsoft_Customproduct::pluginAroundBackendPrice" type="ShawkatsoftCustomproductPluginPluginAroundBackendPrice" sortOrder="100" />
</type>
<type name="MagentoSalesModelOrderItem">
<plugin name="Shawkatsoft_Customproduct::pluginAroundItem" type="ShawkatsoftCustomproductPluginPluginAroundItem" sortOrder="100" />
</type>
<type name="MagentoCatalogModelProduct">
<plugin name="Shawkatsoft_Customproduct::pluginAroundProduct" type="ShawkatsoftCustomproductPluginPluginAroundProduct" sortOrder="100" />
</type>
<type name="MagentoQuoteModelQuoteItemToOrderItem">
<plugin name="Shawkatsoft_Customproduct::pluginAroundQuoteItem" type="ShawkatsoftCustomproductPluginPluginAroundQuoteItem"/>
</type>
<type name="MagentoBundleModelOptionManagement">
<plugin name="Shawkatsoft_Customproduct::pluginAroundOptionManagement" type="ShawkatsoftCustomproductPluginPluginAroundOptionManagement"/>
</type>
<type name="MagentoBundleModelOptionRepository">
<plugin name="Shawkatsoft_Customproduct::pluginAroundOptionRepository" type="ShawkatsoftCustomproductPluginPluginAroundOptionRepository"/>
</type>
<type name="MagentoBundleModelLinkManagement">
<plugin name="Shawkatsoft_Customproduct::pluginAroundLinkManagement" type="ShawkatsoftCustomproductPluginPluginAroundLinkManagement"/>
</type>
<type name="MagentoFrameworkEntityManagerOperationExtensionPool">
<arguments>
<argument name="extensionActions" xsi:type="array">
<item name="MagentoCatalogApiDataProductInterface" xsi:type="array">
<item name="create" xsi:type="array">
<item name="create_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductSaveHandler</item>
</item>
<item name="update" xsi:type="array">
<item name="update_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductSaveHandler</item>
</item>
<item name="read" xsi:type="array">
<item name="read_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductReadHandler</item>
</item>
</item>
</argument>
</arguments>
</type>
Code of etc/adminhtml/di.xml is following:
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="MagentoCatalogControllerAdminhtmlProductInitializationHelper">
<plugin name="Shawkatsoft_Customproduct::pluginAroundHelper" type="ShawkatsoftCustomproductPluginPluginAroundHelper" sortOrder="60" />
</type>
<type name="MagentoSalesBlockAdminhtmlOrderCreateSidebarAbstractSidebar">
<plugin name="Shawkatsoft_Customproduct::pluginAroundAbstractSidebar" type="ShawkatsoftCustomproductPluginPluginAroundAbstractSidebar" sortOrder="200"/>
</type>
<type name="MagentoBundleModelResourceModelSelectionCollection">
<plugin name="Shawkatsoft_Customproduct::pluginAroundCollection" type="ShawkatsoftCustomproductPluginPluginAroundCollection" sortOrder="60" />
</type>
<type name="ShawkatsoftCustomproductPluginPluginAroundComposite">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="bundleSku" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleSku</item>
<item name="bundlePrice" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundlePrice</item>
<item name="bundleWeight" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleWeight</item>
<item name="bundleQuantity" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleQuantity</item>
<item name="bundleAdvancedPricing" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleAdvancedPricing</item>
<item name="bundlePanel" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundlePanel</item>
<item name="bundleCustomOptions" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleCustomOptions</item>
</argument>
</arguments>
</type>
di.xml
php database magento-2.1.7 bundled-product
Pl. mention if someone has ever tried to create a new product type?
– Akash lal
Apr 27 '18 at 8:59
add a comment |
I have extended Bundle product to create new product type. Now, bundle options are getting saved and can be seen in database. But after save, these options are not visible at backend -> Catalog????
Is there any problem with extension_attributes.xml? Following is the code:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCatalogApiDataProductInterface">
<attribute code="bundle_product_options" type="MagentoBundleApiDataOptionInterface" />
</extension_attributes>
<extension_attributes for="MagentoQuoteApiDataProductOptionInterface">
<attribute code="bundle_options" type="MagentoBundleApiDataBundleOptionInterface" />
</extension_attributes>
<extension_attributes for="MagentoCatalogApiDataProductOptionInterface">
<attribute code="bundle_options" type="MagentoBundleApiDataBundleOptionInterface" />
</extension_attributes>
Code of etc/di.xml is following:
<?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="MagentoCatalogBlockProductViewOptionsTypeSelect">
<plugin name="Shawkatsoft_Customproduct::pluginAroundSelect" type="ShawkatsoftCustomproductPluginPluginAroundSelect" sortOrder="1" />
</type>
<type name="MagentoCatalogBlockProductView">
<plugin name="Shawkatsoft_Customproduct::pluginAroundView" type="ShawkatsoftCustomproductPluginPluginAroundView" sortOrder="1" />
</type>
<type name="MagentoBundleUiDataProviderProductFormModifierComposite">
<plugin name="Shawkatsoft_Customproduct::pluginAroundComposite" type="ShawkatsoftCustomproductPluginPluginAroundComposite" sortOrder="1" />
</type>
<type name="MagentoCatalogModelProductAttributeBackendPrice">
<plugin name="Shawkatsoft_Customproduct::pluginAroundBackendPrice" type="ShawkatsoftCustomproductPluginPluginAroundBackendPrice" sortOrder="100" />
</type>
<type name="MagentoSalesModelOrderItem">
<plugin name="Shawkatsoft_Customproduct::pluginAroundItem" type="ShawkatsoftCustomproductPluginPluginAroundItem" sortOrder="100" />
</type>
<type name="MagentoCatalogModelProduct">
<plugin name="Shawkatsoft_Customproduct::pluginAroundProduct" type="ShawkatsoftCustomproductPluginPluginAroundProduct" sortOrder="100" />
</type>
<type name="MagentoQuoteModelQuoteItemToOrderItem">
<plugin name="Shawkatsoft_Customproduct::pluginAroundQuoteItem" type="ShawkatsoftCustomproductPluginPluginAroundQuoteItem"/>
</type>
<type name="MagentoBundleModelOptionManagement">
<plugin name="Shawkatsoft_Customproduct::pluginAroundOptionManagement" type="ShawkatsoftCustomproductPluginPluginAroundOptionManagement"/>
</type>
<type name="MagentoBundleModelOptionRepository">
<plugin name="Shawkatsoft_Customproduct::pluginAroundOptionRepository" type="ShawkatsoftCustomproductPluginPluginAroundOptionRepository"/>
</type>
<type name="MagentoBundleModelLinkManagement">
<plugin name="Shawkatsoft_Customproduct::pluginAroundLinkManagement" type="ShawkatsoftCustomproductPluginPluginAroundLinkManagement"/>
</type>
<type name="MagentoFrameworkEntityManagerOperationExtensionPool">
<arguments>
<argument name="extensionActions" xsi:type="array">
<item name="MagentoCatalogApiDataProductInterface" xsi:type="array">
<item name="create" xsi:type="array">
<item name="create_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductSaveHandler</item>
</item>
<item name="update" xsi:type="array">
<item name="update_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductSaveHandler</item>
</item>
<item name="read" xsi:type="array">
<item name="read_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductReadHandler</item>
</item>
</item>
</argument>
</arguments>
</type>
Code of etc/adminhtml/di.xml is following:
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="MagentoCatalogControllerAdminhtmlProductInitializationHelper">
<plugin name="Shawkatsoft_Customproduct::pluginAroundHelper" type="ShawkatsoftCustomproductPluginPluginAroundHelper" sortOrder="60" />
</type>
<type name="MagentoSalesBlockAdminhtmlOrderCreateSidebarAbstractSidebar">
<plugin name="Shawkatsoft_Customproduct::pluginAroundAbstractSidebar" type="ShawkatsoftCustomproductPluginPluginAroundAbstractSidebar" sortOrder="200"/>
</type>
<type name="MagentoBundleModelResourceModelSelectionCollection">
<plugin name="Shawkatsoft_Customproduct::pluginAroundCollection" type="ShawkatsoftCustomproductPluginPluginAroundCollection" sortOrder="60" />
</type>
<type name="ShawkatsoftCustomproductPluginPluginAroundComposite">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="bundleSku" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleSku</item>
<item name="bundlePrice" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundlePrice</item>
<item name="bundleWeight" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleWeight</item>
<item name="bundleQuantity" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleQuantity</item>
<item name="bundleAdvancedPricing" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleAdvancedPricing</item>
<item name="bundlePanel" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundlePanel</item>
<item name="bundleCustomOptions" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleCustomOptions</item>
</argument>
</arguments>
</type>
di.xml
php database magento-2.1.7 bundled-product
I have extended Bundle product to create new product type. Now, bundle options are getting saved and can be seen in database. But after save, these options are not visible at backend -> Catalog????
Is there any problem with extension_attributes.xml? Following is the code:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCatalogApiDataProductInterface">
<attribute code="bundle_product_options" type="MagentoBundleApiDataOptionInterface" />
</extension_attributes>
<extension_attributes for="MagentoQuoteApiDataProductOptionInterface">
<attribute code="bundle_options" type="MagentoBundleApiDataBundleOptionInterface" />
</extension_attributes>
<extension_attributes for="MagentoCatalogApiDataProductOptionInterface">
<attribute code="bundle_options" type="MagentoBundleApiDataBundleOptionInterface" />
</extension_attributes>
Code of etc/di.xml is following:
<?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="MagentoCatalogBlockProductViewOptionsTypeSelect">
<plugin name="Shawkatsoft_Customproduct::pluginAroundSelect" type="ShawkatsoftCustomproductPluginPluginAroundSelect" sortOrder="1" />
</type>
<type name="MagentoCatalogBlockProductView">
<plugin name="Shawkatsoft_Customproduct::pluginAroundView" type="ShawkatsoftCustomproductPluginPluginAroundView" sortOrder="1" />
</type>
<type name="MagentoBundleUiDataProviderProductFormModifierComposite">
<plugin name="Shawkatsoft_Customproduct::pluginAroundComposite" type="ShawkatsoftCustomproductPluginPluginAroundComposite" sortOrder="1" />
</type>
<type name="MagentoCatalogModelProductAttributeBackendPrice">
<plugin name="Shawkatsoft_Customproduct::pluginAroundBackendPrice" type="ShawkatsoftCustomproductPluginPluginAroundBackendPrice" sortOrder="100" />
</type>
<type name="MagentoSalesModelOrderItem">
<plugin name="Shawkatsoft_Customproduct::pluginAroundItem" type="ShawkatsoftCustomproductPluginPluginAroundItem" sortOrder="100" />
</type>
<type name="MagentoCatalogModelProduct">
<plugin name="Shawkatsoft_Customproduct::pluginAroundProduct" type="ShawkatsoftCustomproductPluginPluginAroundProduct" sortOrder="100" />
</type>
<type name="MagentoQuoteModelQuoteItemToOrderItem">
<plugin name="Shawkatsoft_Customproduct::pluginAroundQuoteItem" type="ShawkatsoftCustomproductPluginPluginAroundQuoteItem"/>
</type>
<type name="MagentoBundleModelOptionManagement">
<plugin name="Shawkatsoft_Customproduct::pluginAroundOptionManagement" type="ShawkatsoftCustomproductPluginPluginAroundOptionManagement"/>
</type>
<type name="MagentoBundleModelOptionRepository">
<plugin name="Shawkatsoft_Customproduct::pluginAroundOptionRepository" type="ShawkatsoftCustomproductPluginPluginAroundOptionRepository"/>
</type>
<type name="MagentoBundleModelLinkManagement">
<plugin name="Shawkatsoft_Customproduct::pluginAroundLinkManagement" type="ShawkatsoftCustomproductPluginPluginAroundLinkManagement"/>
</type>
<type name="MagentoFrameworkEntityManagerOperationExtensionPool">
<arguments>
<argument name="extensionActions" xsi:type="array">
<item name="MagentoCatalogApiDataProductInterface" xsi:type="array">
<item name="create" xsi:type="array">
<item name="create_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductSaveHandler</item>
</item>
<item name="update" xsi:type="array">
<item name="update_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductSaveHandler</item>
</item>
<item name="read" xsi:type="array">
<item name="read_bundle_options" xsi:type="string">ShawkatsoftCustomproductModelProductReadHandler</item>
</item>
</item>
</argument>
</arguments>
</type>
Code of etc/adminhtml/di.xml is following:
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="MagentoCatalogControllerAdminhtmlProductInitializationHelper">
<plugin name="Shawkatsoft_Customproduct::pluginAroundHelper" type="ShawkatsoftCustomproductPluginPluginAroundHelper" sortOrder="60" />
</type>
<type name="MagentoSalesBlockAdminhtmlOrderCreateSidebarAbstractSidebar">
<plugin name="Shawkatsoft_Customproduct::pluginAroundAbstractSidebar" type="ShawkatsoftCustomproductPluginPluginAroundAbstractSidebar" sortOrder="200"/>
</type>
<type name="MagentoBundleModelResourceModelSelectionCollection">
<plugin name="Shawkatsoft_Customproduct::pluginAroundCollection" type="ShawkatsoftCustomproductPluginPluginAroundCollection" sortOrder="60" />
</type>
<type name="ShawkatsoftCustomproductPluginPluginAroundComposite">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="bundleSku" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleSku</item>
<item name="bundlePrice" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundlePrice</item>
<item name="bundleWeight" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleWeight</item>
<item name="bundleQuantity" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleQuantity</item>
<item name="bundleAdvancedPricing" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleAdvancedPricing</item>
<item name="bundlePanel" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundlePanel</item>
<item name="bundleCustomOptions" xsi:type="string">MagentoBundleUiDataProviderProductFormModifierBundleCustomOptions</item>
</argument>
</arguments>
</type>
di.xml
php database magento-2.1.7 bundled-product
php database magento-2.1.7 bundled-product
edited 1 hour ago
Muhammad Hasham
2,0141424
2,0141424
asked Apr 24 '18 at 7:20
Akash lalAkash lal
13
13
Pl. mention if someone has ever tried to create a new product type?
– Akash lal
Apr 27 '18 at 8:59
add a comment |
Pl. mention if someone has ever tried to create a new product type?
– Akash lal
Apr 27 '18 at 8:59
Pl. mention if someone has ever tried to create a new product type?
– Akash lal
Apr 27 '18 at 8:59
Pl. mention if someone has ever tried to create a new product type?
– Akash lal
Apr 27 '18 at 8:59
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f223420%2fmagento-2-bundle-product%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f223420%2fmagento-2-bundle-product%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Pl. mention if someone has ever tried to create a new product type?
– Akash lal
Apr 27 '18 at 8:59