Version Notes
Fix minor bug
Download this release
Release Info
Developer | Manthan Soni |
Extension | Manthan_Advance_Commission_Marketplace |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
app/code/community/Manthan/Advancecommission/etc/config.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<config>
|
2 |
<modules>
|
3 |
<Manthan_Advancecommission>
|
4 |
-
<version>1.0.
|
5 |
</Manthan_Advancecommission>
|
6 |
</modules>
|
7 |
<global>
|
@@ -12,11 +12,6 @@
|
|
12 |
</advancecommission>
|
13 |
<advancecommission_mysql4>
|
14 |
<class>Manthan_Advancecommission_Model_Mysql4</class>
|
15 |
-
<entities>
|
16 |
-
<advancecommission>
|
17 |
-
<table>advancecommission</table>
|
18 |
-
</advancecommission>
|
19 |
-
</entities>
|
20 |
</advancecommission_mysql4>
|
21 |
</models>
|
22 |
<resources>
|
@@ -69,6 +64,23 @@
|
|
69 |
</advancecommission>
|
70 |
</updates>
|
71 |
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
<acl>
|
73 |
<resources>
|
74 |
<admin>
|
@@ -93,7 +105,7 @@
|
|
93 |
<default>
|
94 |
<advancecommission>
|
95 |
<commission>
|
96 |
-
<active>
|
97 |
</commission>
|
98 |
</advancecommission>
|
99 |
</default>
|
1 |
<config>
|
2 |
<modules>
|
3 |
<Manthan_Advancecommission>
|
4 |
+
<version>1.0.1</version>
|
5 |
</Manthan_Advancecommission>
|
6 |
</modules>
|
7 |
<global>
|
12 |
</advancecommission>
|
13 |
<advancecommission_mysql4>
|
14 |
<class>Manthan_Advancecommission_Model_Mysql4</class>
|
|
|
|
|
|
|
|
|
|
|
15 |
</advancecommission_mysql4>
|
16 |
</models>
|
17 |
<resources>
|
64 |
</advancecommission>
|
65 |
</updates>
|
66 |
</layout>
|
67 |
+
<menu>
|
68 |
+
<manthan translate="title" module="adminhtml">
|
69 |
+
<children>
|
70 |
+
<advancecommission>
|
71 |
+
<title>Advance Commission</title>
|
72 |
+
<sort_order>20</sort_order>
|
73 |
+
<children>
|
74 |
+
<configuration>
|
75 |
+
<title>Configuration</title>
|
76 |
+
<sort_order>10</sort_order>
|
77 |
+
<action>adminhtml/system_config/edit/section/advancecommission/</action>
|
78 |
+
</configuration>
|
79 |
+
</children>
|
80 |
+
</advancecommission>
|
81 |
+
</children>
|
82 |
+
</manthan>
|
83 |
+
</menu>
|
84 |
<acl>
|
85 |
<resources>
|
86 |
<admin>
|
105 |
<default>
|
106 |
<advancecommission>
|
107 |
<commission>
|
108 |
+
<active>1</active>
|
109 |
</commission>
|
110 |
</advancecommission>
|
111 |
</default>
|
app/design/adminhtml/default/default/template/advancecommission/catalog/product/edit.phtml
CHANGED
@@ -36,6 +36,8 @@ if($('product_status') != null)
|
|
36 |
document.getElementById("product_status").value= <?php echo $product_status ?>;
|
37 |
<?php endif; ?>
|
38 |
$('product_status').up().up().hide();
|
|
|
|
|
39 |
}
|
40 |
<?php endif; ?>
|
41 |
<?php if(!Mage::getStoreConfig('carriers/marketplaceproductshipping/active') || ($type == 'virtual' || $type == 'downloadable') ): ?>
|
36 |
document.getElementById("product_status").value= <?php echo $product_status ?>;
|
37 |
<?php endif; ?>
|
38 |
$('product_status').up().up().hide();
|
39 |
+
$('admin_product_commission').setStyle({background: 'none',border: 'none'});
|
40 |
+
Form.Element.disable('admin_product_commission');
|
41 |
}
|
42 |
<?php endif; ?>
|
43 |
<?php if(!Mage::getStoreConfig('carriers/marketplaceproductshipping/active') || ($type == 'virtual' || $type == 'downloadable') ): ?>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Manthan_Advance_Commission_Marketplace</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Admin can be set commission on products or categories with the help of this extension.</summary>
|
10 |
-
<description>Admin can be set commission on products or categories with the help of this extension.Highest priority will be product.Both are not set it will get default commission value from seller profile.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Manthan Soni</name><user>Manthan</user><email>sonimanthan0@gmail.com</email></author></authors>
|
13 |
-
<date>2016-02-
|
14 |
-
<time>19:
|
15 |
-
<contents><target name="magecommunity"><dir name="Manthan"><dir name="Advancecommission"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Categorycommission.php" hash="1eaf3fc86c38a3582a44427c8fa3b003"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="cadba54631d1154b51e79814f83a8387"/></dir><dir name="Model"><file name="Observer.php" hash="ce74f3326433a5fbdabec0c88775642a"/></dir><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.4.0</min><max>5.6.0</max></php><package><name>Manthan_Marketplace</name><channel>community</channel><min>1.7</min><max>1.9.2</max></package></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Manthan_Advance_Commission_Marketplace</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Admin can be set commission on products or categories of sellers with the help of this extension.</summary>
|
10 |
+
<description>Admin can be set commission on products or categories with the help of this extension.Commission is in percentage type.Highest priority will be product.Both are not set it will get default commission value from seller profile.</description>
|
11 |
+
<notes>Fix minor bug</notes>
|
12 |
<authors><author><name>Manthan Soni</name><user>Manthan</user><email>sonimanthan0@gmail.com</email></author></authors>
|
13 |
+
<date>2016-02-20</date>
|
14 |
+
<time>19:32:47</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Manthan"><dir name="Advancecommission"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Categorycommission.php" hash="1eaf3fc86c38a3582a44427c8fa3b003"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="cadba54631d1154b51e79814f83a8387"/></dir><dir name="Model"><file name="Observer.php" hash="ce74f3326433a5fbdabec0c88775642a"/></dir><dir name="etc"><file name="config.xml" hash="a43deb992b0c6c626d0cfa65712e4aaa"/><file name="system.xml" hash="69dc2be75e4a72a5cb5d5ec8b2fbd83a"/></dir><dir name="sql"><dir name="advancecommission_setup"><file name="mysql4-install-1.0.0.php" hash="dac8cfea66371b94d72145671c64a7b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="advancecommission"><dir name="catalog"><dir name="product"><file name="categorycommission.phtml" hash="ce068f61d4eac58152fdf1366f8fcdf7"/><file name="edit.phtml" hash="daa37beb1435e04f1a147487fed2849a"/></dir></dir></dir></dir><dir name="layout"><file name="advancecommission.xml" hash="942bd39ba25d1c3f1059e05b54724423"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Manthan_Advancecommission.xml" hash="8088f042681134446a8bb0377d7d843d"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.4.0</min><max>5.6.0</max></php><package><name>Manthan_Marketplace</name><channel>community</channel><min>1.7</min><max>1.9.2</max></package></required></dependencies>
|
18 |
</package>
|