Version Notes
Enterprise Editions.
Download this release
Release Info
Developer | Magento Core Team |
Extension | SKU_Auto_Generator |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
app/code/local/Neev/Skuautogenerate/Block/Skuautogenerate.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Neev_Skuautogenerate_Block_Skuautogenerate extends Mage_Core_Block_Template
|
3 |
+
{
|
4 |
+
public function _prepareLayout()
|
5 |
+
{
|
6 |
+
return parent::_prepareLayout();
|
7 |
+
}
|
8 |
+
|
9 |
+
public function getSkuautogenerate()
|
10 |
+
{
|
11 |
+
if (!$this->hasData('skuautogenerate')) {
|
12 |
+
$this->setData('skuautogenerate', Mage::registry('skuautogenerate'));
|
13 |
+
}
|
14 |
+
return $this->getData('skuautogenerate');
|
15 |
+
|
16 |
+
}
|
17 |
+
}
|
app/code/local/Neev/Skuautogenerate/sql/skuautogenerate_setup/432432535.php
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
$installer = $this;
|
4 |
-
|
5 |
-
$installer->startSetup();
|
6 |
-
|
7 |
-
$installer->run("
|
8 |
-
|
9 |
-
-- DROP TABLE IF EXISTS {$this->getTable('skuautogenerate')};
|
10 |
-
CREATE TABLE {$this->getTable('skuautogenerate')} (
|
11 |
-
`skuautogenerate_id` int(11) unsigned NOT NULL auto_increment,
|
12 |
-
`appendstring` varchar(5) NOT NULL default '',
|
13 |
-
`min_length` varchar(5) NOT NULL default '',
|
14 |
-
`product_type` varchar(255) NOT NULL default '',
|
15 |
-
`status` smallint(6) NOT NULL default '0',
|
16 |
-
`created_time` datetime NULL,
|
17 |
-
`update_time` datetime NULL,
|
18 |
-
PRIMARY KEY (`skuautogenerate_id`)
|
19 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
20 |
-
|
21 |
-
");
|
22 |
-
/*$installer->run("INSERT INTO `dataflow_profile` (`profile_id`, `name`,`actions_xml`, `gui_data`, `direction`, `entity_type`, `store_id`, `data_transfer`) VALUES
|
23 |
-
(111, 'Skuautogenerate Import Csv',
|
24 |
-
'<action type=\"dataflow/convert_parser_csv\" method=\"parse\">\r\n <var name=\"delimiter\"><\![CDATA[\,]]></var>\r\n <var name=\"enclose\"><\![CDATA[\"]]></var>\r\n <var name=\"fieldnames\">true</var>\r\n <var name=\"store\"><![CDATA[0]]></var>\r\n <var name=\"number_of_records\">1</var>\r\n <var name=\"root_catalog_id\"><\![CDATA[2]]></var>\r\n <var name=\"reimport_images\"><\![CDATA[true]]></var>\r\n <var name=\"deleteall_andreimport_images\"><\![CDATA[true]]></var>\r\n <var name=\"exclude_images\"><\![CDATA[false]]></var>\r\n <var name=\"exclude_gallery_images\"><\![CDATA[false]]></var>\r\n <var name=\"decimal_separator\"><\![CDATA[\.]]></var>\r\n<var name=\"adapter\">customimport/convert_adapter_productimport</var>\r\n <var name=\"method\">parse</var>\r\n</action>',
|
25 |
-
'a:7:{s:6:\"export\";a:1:{s:13:\"add_url_field\";s:1:\"0\";}s:6:\"import\";a:2:{s:17:\"number_of_records\";s:1:\"1\";s:17:\"decimal_separator\";s:1:\".\";}s:4:\"file\";a:8:{s:4:\"type\";s:4:\"file\";s:8:\"filename\";s:18:\"export_product.csv\";s:4:\"path\";s:10:\"var/export\";s:4:\"host\";s:0:\"\";s:4:\"user\";s:0:\"\";s:8:\"password\";s:0:\"\";s:9:\"file_mode\";s:1:\"2\";s:7:\"passive\";s:0:\"\";}s:5:\"parse\";a:5:{s:4:\"type\";s:3:\"csv\";s:12:\"single_sheet\";s:0:\"\";s:9:\"delimiter\";s:1:\",\";s:7:\"enclose\";s:1:\"\"\";s:10:\"fieldnames\";s:4:\"true\";}s:3:\"map\";a:3:{s:14:\"only_specified\";s:0:\"\";s:7:\"product\";a:2:{s:2:\"db\";a:0:{}s:4:\"file\";a:0:{}}s:8:\"customer\";a:2:{s:2:\"db\";a:0:{}s:4:\"file\";a:0:{}}}s:7:\"product\";a:1:{s:6:\"filter\";a:8:{s:4:\"name\";s:0:\"\";s:3:\"sku\";s:0:\"\";s:4:\"type\";s:1:\"0\";s:13:\"attribute_set\";s:0:\"\";s:5:\"price\";a:2:{s:4:\"from\";s:0:\"\";s:2:\"to\";s:0:\"\";}s:3:\"qty\";a:2:{s:4:\"from\";s:0:\"\";s:2:\"to\";s:0:\"\";}s:10:\"visibility\";s:1:\"0\";s:6:\"status\";s:1:\"0\";}}s:8:\"customer\";a:1:{s:6:\"filter\";a:10:{s:9:\"firstname\";s:0:\"\";s:8:\"lastname\";s:0:\"\";s:5:\"email\";s:0:\"\";s:5:\"group\";s:1:\"0\";s:10:\"adressType\";s:15:\"default_billing\";s:9:\"telephone\";s:0:\"\";s:8:\"postcode\";s:0:\"\";s:7:\"country\";s:0:\"\";s:6:\"region\";s:0:\"\";s:10:\"created_at\";a:2:{s:4:\"from\";s:0:\"\";s:2:\"to\";s:0:\"\";}}}}',
|
26 |
-
'import', 'product', 0, 'interactive')");*/
|
27 |
-
|
28 |
-
$installer->endSetup();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>SKU_Auto_Generator</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
@@ -9,14 +9,11 @@
|
|
9 |
<summary>The Auto Generate Sku Module Magento extension provides the best solution to manage your sites products sku.</summary>
|
10 |
<description>The Auto Generate Sku Module Magento extension provides the best solution to manage your sites product-skus.You no need to take care of you product-skus this extension would auto create product-sku when you create the product from admin.The best part is it also auto create product-skus while importing products through admin.
|
11 |
This extension provides you the admin setting for sku's for different product type.</description>
|
12 |
-
<notes>
|
13 |
-
2)Above setting would create for different product types allowed in magento
|
14 |
-
3)Manage length of auto create sku.
|
15 |
-
4)You can enable or disable above setting.</notes>
|
16 |
<authors><author><name>Saurabh Chandra</name><user>auto-converted</user><email>pshilps@neevtech.com</email></author></authors>
|
17 |
<date>2013-01-09</date>
|
18 |
-
<time>
|
19 |
-
<contents><target name="mage"><dir name="app"><dir name="
|
20 |
<compatible/>
|
21 |
<dependencies/>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>SKU_Auto_Generator</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
9 |
<summary>The Auto Generate Sku Module Magento extension provides the best solution to manage your sites products sku.</summary>
|
10 |
<description>The Auto Generate Sku Module Magento extension provides the best solution to manage your sites product-skus.You no need to take care of you product-skus this extension would auto create product-sku when you create the product from admin.The best part is it also auto create product-skus while importing products through admin.
|
11 |
This extension provides you the admin setting for sku's for different product type.</description>
|
12 |
+
<notes>Enterprise Editions.</notes>
|
|
|
|
|
|
|
13 |
<authors><author><name>Saurabh Chandra</name><user>auto-converted</user><email>pshilps@neevtech.com</email></author></authors>
|
14 |
<date>2013-01-09</date>
|
15 |
+
<time>12:31:45</time>
|
16 |
+
<contents><target name="mage"><dir name="app"><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="skuautogenerate.xml" hash="daaef43e86f6b7da79c2d48cd5d1ca15"/></dir><dir name="template"><dir name="skuautogenerate"><dir name="catalog"><dir name="product"><file name="edit.phtml" hash="e957cae12769c867689bb00ddae8b539"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Neev_Skuautogenerate.xml" hash="bcbd229d7ef67308e8b8802233d96da2"/></dir></dir><dir name="code"><dir name="local"><dir name="Mage"><dir name="Catalog"><dir name="Model"><dir name="Convert"><dir name="Adapter"><file name="Product.php" hash="c91f219c27977e614885dc3bb876b67f"/></dir></dir></dir></dir></dir><dir name="Neev"><dir name="Skuautogenerate"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Edit.php" hash="e79f8c757117e336b5c2bf3426b9c463"/></dir></dir><dir name="Skuautogenerate"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="b395242561f3880f45fac6b534ba0457"/></dir><file name="Form.php" hash="6d3cea1cb156ab627f78be0809ef69f1"/><file name="Tabs.php" hash="7e3677bb77a034f28742cbd8cebafac4"/></dir><file name="Edit.php" hash="5630983d8c038d4772e996b5bbf5868c"/><file name="Grid.php" hash="927513b143d1ec99532fa5a71903f967"/></dir><file name="Skuautogenerate.php" hash="dd8e6d26cba313240428e8cc7f5a9fc3"/></dir><file name="Skuautogenerate.php" hash="5c4fa69402f87f9ac3a0aa15ca790b58"/></dir><dir name="Helper"><file name="Data.php" hash="4e9fb6d3fa6104bbf645815831615bf7"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Skuautogenerate"><file name="Collection.php" hash="cd83d79930f6141b72f4eb885d648522"/></dir><file name="Skuautogenerate.php" hash="b2fc3235c1dfc0c7592354597fff696e"/></dir><file name="Skuautogenerate.php" hash="1b3d1452e9152f0225d0055205edb5f0"/><file name="Status.php" hash="044ca08797c2ac7643e14c65d1e7cbc6"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SkuautogenerateController.php" hash="741da95b0774e7835958d4984f08c402"/></dir><file name="IndexController.php" hash="14a0aa7d2586c277fbe896dc379f2bce"/></dir><dir name="etc"><file name="config.xml" hash="fecc9aa2b9129bfb86a8a30ae23f8a7f"/></dir><dir name="sql"><dir name="skuautogenerate_setup"><file name="mysql4-install-0.1.0.php" hash="255a1f9c7199d43b88a216f0b3db2514"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies/>
|
19 |
</package>
|