Magento Expert Forum - Improve your Magento experience
-
All you need to know about Importing – Exporting Bundle Products
Hi ! Magesolution blog readers ! Have you equipped enough knowledge about importing – exporting Bundle Products? Check this article to understand totally about importing – exporting Bundle Products in Magento.
In this article, we will mention two issues:
Export bundle product into CSV file in available formats.
Import CSV file containing product information into Magento database
Create Product bundle Module with the following structures:
app\code\local\MGS\Productbundle\controllers\Admin html\ProductbundleController.php
app\code\local\MGS\Productbundle\etc\config.xml
app\code\local\MGS\Productbundle\Helper\Data.php
app\etc\modules\ MGS_Productbundle.xml
app\design\adminhtml\default\default\layout\ productbundle.xml
app\design\adminhtml\default\default\template\prod uctbundle\ productbundlebackend.phtml
Create MGS_Productbundle.xmlfile to activate the module
MGS_Productbundle.xml
<?xml version="1.0"?>
<config>
<modules>
<MGS_Productbundle>
<active>true</active>
<codePool>local</codePool>
</MGS_Productbundle>
</modules>
</config>
Create Menu forImport and Export in config.xml
config.xml
<?xml version="1.0"?>
<config>
<modules>
<MGS_Productbundle>
<version>0.1.0</version>
</MGS_Productbundle>
</modules>
<admin>
<routers>
<productbundle>
<use>admin</use>
<args>
<module>MGS_Productbundle</module>
<frontName>productbundle</frontName>
</args>
</productbundle>
</routers>
</admin>
<adminhtml>
<menu>
<productbundle module="productbundle">
<title>Product Bundle</title>
<sort_order>71</sort_order>
<children>
<export module="productbundle">
<title>Export to CSV</title>
<sort_order>0</sort_order>
<action>productbundle/adminhtml_productbundle/export</action>
</export>
<import module="productbundle">
<title>Import from CSV</title>
<sort_order>1</sort_order>
<action>productbundle/adminhtml_productbundle/index</action>
</import>
</children>
</productbundle>
</menu>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin>
<children>
<MGS_Productbundle>
<title>Productbundle Module</title>
<sort_order>10</sort_order>
</MGS_Productbundle>
</children>
</admin>
</resources>
</acl>
<layout>
<updates>
<productbundle>
<file>productbundle.xml</file>
</productbundle>
</updates>
</layout>
</adminhtml>
<global>
<helpers>
<productbundle>
<class>MGS_Productbundle_Helper</class>
</productbundle>
</helpers>
</global>
</config>
Create a form to import bundle product from CSV file
Read full lession : http://www.magesolution.com/blog/nee...ndle-products/
View more threads in the same category:
-
-
Custom alternatives, configurable items, level valuing, all work with this procedure Mass Product Import + Export (Magento 1.3.x CE and every past rendition) .Scott went well beyond to enable me to get setup so I could fulfill my 24 hour time constraint. all that you could require, Scott runs well beyond with his help.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks