Sourav_QuantityDropdown - Version 3.0.0

Version Notes

This is 3.0.0 version with bug fixes.

Download this release

Release Info

Developer Keshav
Extension Sourav_QuantityDropdown
Version 3.0.0
Comparing to
See all releases


Code changes from version 2.0.1 to 3.0.0

app/code/local/Sourav/QuantityDropdown/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Sourav_QuantityDropdown>
5
- <version>2.0.1</version>
6
  </Sourav_QuantityDropdown>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Sourav_QuantityDropdown>
5
+ <version>3.0.0</version>
6
  </Sourav_QuantityDropdown>
7
  </modules>
8
  <global>
app/code/local/Sourav/QuantityDropdown/sql/sourav_quantitydropdown_setup/mysql4-install-1.0.0.php CHANGED
@@ -26,7 +26,7 @@ $enableOption=array(
26
 
27
  );
28
 
29
- $installer->addAttribute('catalog_product','dreamgnto_quantity_enable',$enableOption);
30
 
31
 
32
 
@@ -57,7 +57,7 @@ $data=array(
57
 
58
  );
59
 
60
- $installer->addAttribute('catalog_product','dreamgnto_quantity_option',$data);
61
 
62
 
63
 
26
 
27
  );
28
 
29
+ $installer->addAttribute('catalog_product','dream_quantity_enable',$enableOption);
30
 
31
 
32
 
57
 
58
  );
59
 
60
+ $installer->addAttribute('catalog_product','dream_quantity_option',$data);
61
 
62
 
63
 
app/code/local/Sourav/QuantityDropdown/sql/sourav_quantitydropdown_setup/upgrade-1.0.0-2.0.0.php CHANGED
@@ -27,7 +27,7 @@ $enableOption=array(
27
 
28
  );
29
 
30
- $installer->addAttribute('catalog_product','dreamgnto_quantity_enable',$enableOption);
31
 
32
 
33
 
@@ -58,7 +58,7 @@ $data=array(
58
 
59
  );
60
 
61
- $installer->addAttribute('catalog_product','dreamgnto_quantity_option',$data);
62
 
63
 
64
 
27
 
28
  );
29
 
30
+ $installer->addAttribute('catalog_product','dream_quantity_enable',$enableOption);
31
 
32
 
33
 
58
 
59
  );
60
 
61
+ $installer->addAttribute('catalog_product','dream_quantity_option',$data);
62
 
63
 
64
 
app/code/local/Sourav/QuantityDropdown/sql/sourav_quantitydropdown_setup/upgrade-2.0.1-3.0.0.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+
8
+ //$installer->removeAttribute('catalog_product','simple_quantity_enable');
9
+ //$installer->removeAttribute('catalog_product','simple_quantity');
10
+
11
+
12
+ $enableOption=array(
13
+ 'group' => 'Product Quantity DropDown',
14
+ 'type' => 'int',
15
+ 'label' => 'Enable Dropdown Quantity Option',
16
+ 'input' => 'boolean',
17
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
18
+ 'visible' => true,
19
+ 'source' => 'eav/entity_attribute_source_boolean',
20
+ 'required' => false,
21
+ 'searchable' => false,
22
+ 'filterable' => false,
23
+ 'comparable' => false,
24
+ 'visible_on_front' =>true,
25
+ 'unique' => false,
26
+ 'apply_to' => '',
27
+
28
+ );
29
+
30
+ $installer->addAttribute('catalog_product','dream_quantity_enable',$enableOption);
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+ $data=array(
39
+ 'group' => 'Product Quantity DropDown',
40
+ 'type' => 'varchar',
41
+ 'label' => 'Product Quantity Options',
42
+ 'input' => 'text',
43
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
44
+ 'visible' => true,
45
+ 'required' => false,
46
+ 'searchable' => false,
47
+ 'filterable' => false,
48
+ 'comparable' => false,
49
+ 'visible_on_front' =>true,
50
+ 'unique' => false,
51
+ 'apply_to' => '',
52
+ );
53
+
54
+ $installer->addAttribute('catalog_product','dream_quantity_option',$data);
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+ $installer->endSetup();
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Sourav_QuantityDropdown</name>
4
- <version>2.0.1</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension allow to restrict the quantity of product. This extension enable you restrict the quantity at product page.Frontend user will choose the quantity from dropdown options.</summary>
10
  <description>This extension allow to restrict the quantity of product. This extension enable you restrict the quantity at product page.Frontend user will choose the quantity from dropdown options.</description>
11
- <notes>This is 2.0.1 version with quantity dropdown for all product types.</notes>
12
  <authors><author><name>Keshav</name><user>Keshav</user><email>keshavmage@gmail.com</email></author></authors>
13
- <date>2015-10-08</date>
14
- <time>14:38:59</time>
15
- <contents><target name="magelocal"><dir name="Sourav"><dir name="QuantityDropdown"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="About.php" hash="42847779b6d8bfda865492d0bb877acc"/></dir></dir></dir></dir></dir><file name="View.php" hash="504f1b54f2843ed2c7d44c12b165a037"/></dir><dir name="Helper"><file name="Data.php" hash="b676d718da302772d0af10e9340f5a07"/></dir><dir name="Model"><file name="Observer.php" hash="45c826b34a1fc546f8ae1d2e32a20875"/></dir><dir name="controllers"><file name="IndexController.php" hash="a0257c8f1fe492aa71b65299ce808979"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e88a9180a7ae0d982bbd6104606323c4"/><file name="config.xml" hash="a05225768b73f7e551d122524212cab1"/><file name="system.xml" hash="c3064b71f11f2c140367313394a2947a"/></dir><dir name="sql"><dir name="sourav_quantitydropdown_setup"><file name="mysql4-install-1.0.0.php" hash="19f149a14a9d76c5c085147ef40f57ab"/><file name="upgrade-1.0.0-2.0.0.php" hash="6a4ad7929d9b171246d3774379356445"/><file name="upgrade-2.0.0-2.0.1.php" hash="27081e72846affa341d95c2bd168ebce"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sourav_QuantityDropdown.xml" hash="932766620320cbac7ae50f10ef1f4bec"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="sourav_quantitydropdown.xml" hash="e6436c7ba61bfc954a24b927ff1036ee"/></dir><dir name="template"><dir name="sourav_quantitydropdown"><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="b1e1cdc1c36ec02f5cca4a5e3c988759"/></dir></dir></dir><file name="product_view_addtocart.phtml" hash="eda28054630a3aa25f6e1c0f95e774fc"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="sourav_quantitydropdown.xml" hash="98ed78d65fd75d28f74b6821989a9310"/></dir><dir name="template"><dir name="sourav_quantitydropdown"><file name="about.phtml" hash="c97c1933368e5121a5d5517e2f7386b6"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="sourav_quantitydropdown"><file name="style.css" hash="8187baa9523186f94251b33b1da23fb3"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="sourav_quantitydropdown"><dir name="css"><file name="style.css" hash="30190908d2faedbf6faa31e763fde94c"/></dir><dir name="images"><file name="kinex_logo.png" hash="2c162e43a8781a725ec74b51c8375596"/><file name="logo.jpg" hash="5868d1cd6c21ce6f4c23eccbd3d8682f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Sourav_QuantityDropdown</name>
4
+ <version>3.0.0</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension allow to restrict the quantity of product. This extension enable you restrict the quantity at product page.Frontend user will choose the quantity from dropdown options.</summary>
10
  <description>This extension allow to restrict the quantity of product. This extension enable you restrict the quantity at product page.Frontend user will choose the quantity from dropdown options.</description>
11
+ <notes>This is 3.0.0 version with bug fixes.</notes>
12
  <authors><author><name>Keshav</name><user>Keshav</user><email>keshavmage@gmail.com</email></author></authors>
13
+ <date>2015-10-09</date>
14
+ <time>17:54:41</time>
15
+ <contents><target name="magelocal"><dir name="Sourav"><dir name="QuantityDropdown"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="About.php" hash="42847779b6d8bfda865492d0bb877acc"/></dir></dir></dir></dir></dir><file name="View.php" hash="504f1b54f2843ed2c7d44c12b165a037"/></dir><dir name="Helper"><file name="Data.php" hash="b676d718da302772d0af10e9340f5a07"/></dir><dir name="Model"><file name="Observer.php" hash="45c826b34a1fc546f8ae1d2e32a20875"/></dir><dir name="controllers"><file name="IndexController.php" hash="a0257c8f1fe492aa71b65299ce808979"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e88a9180a7ae0d982bbd6104606323c4"/><file name="config.xml" hash="ba28f1053f542142a17d20d051386afc"/><file name="system.xml" hash="c3064b71f11f2c140367313394a2947a"/></dir><dir name="sql"><dir name="sourav_quantitydropdown_setup"><file name="mysql4-install-1.0.0.php" hash="427b6a498df71672324f574a5306ab27"/><file name="upgrade-1.0.0-2.0.0.php" hash="84e5f75d86a1088ab63b348000696289"/><file name="upgrade-2.0.0-2.0.1.php" hash="27081e72846affa341d95c2bd168ebce"/><file name="upgrade-2.0.1-3.0.0.php" hash="27081e72846affa341d95c2bd168ebce"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sourav_QuantityDropdown.xml" hash="932766620320cbac7ae50f10ef1f4bec"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="sourav_quantitydropdown.xml" hash="e6436c7ba61bfc954a24b927ff1036ee"/></dir><dir name="template"><dir name="sourav_quantitydropdown"><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="b1e1cdc1c36ec02f5cca4a5e3c988759"/></dir></dir></dir><file name="product_view_addtocart.phtml" hash="eda28054630a3aa25f6e1c0f95e774fc"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="sourav_quantitydropdown.xml" hash="98ed78d65fd75d28f74b6821989a9310"/></dir><dir name="template"><dir name="sourav_quantitydropdown"><file name="about.phtml" hash="c97c1933368e5121a5d5517e2f7386b6"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="sourav_quantitydropdown"><file name="style.css" hash="8187baa9523186f94251b33b1da23fb3"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="sourav_quantitydropdown"><dir name="css"><file name="style.css" hash="30190908d2faedbf6faa31e763fde94c"/></dir><dir name="images"><file name="kinex_logo.png" hash="2c162e43a8781a725ec74b51c8375596"/><file name="logo.jpg" hash="5868d1cd6c21ce6f4c23eccbd3d8682f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>