Version Notes
- Fix white product page
Download this release
Release Info
Developer | alditalia |
Extension | AntonioLoiaconoDesign_CalculateDiscount |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
app/code/community/AntonioLoiaconoDesign/CalculateDiscount/etc/config.xml
CHANGED
@@ -1,19 +1,12 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<config>
|
3 |
-
|
4 |
<AntonioLoiaconoDesign_CalculateDiscount>
|
5 |
-
<version>1.3.
|
6 |
</AntonioLoiaconoDesign_CalculateDiscount>
|
7 |
</modules>
|
8 |
<global>
|
9 |
-
|
10 |
-
<!-- This is how and where we rewrite Mage_Catalog_Product_View -->
|
11 |
-
<catalog>
|
12 |
-
<rewrite>
|
13 |
-
<product_view>AntonioLoiaconoDesign_CalculateDiscount_Block_Catalog_Product_View</product_view>
|
14 |
-
</rewrite>
|
15 |
-
</catalog>
|
16 |
-
|
17 |
<calculatediscount>
|
18 |
<class>AntonioLoiaconoDesign_CalculateDiscount_Block</class>
|
19 |
</calculatediscount>
|
@@ -23,61 +16,53 @@
|
|
23 |
<class>AntonioLoiaconoDesign_CalculateDiscount_Model</class>
|
24 |
</calculatediscount>
|
25 |
</models>
|
26 |
-
|
27 |
<calculatediscount>
|
28 |
<class>AntonioLoiaconoDesign_CalculateDiscount_Helper</class>
|
29 |
</calculatediscount>
|
30 |
-
</helpers>
|
31 |
-
|
32 |
</global>
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
<
|
46 |
-
|
47 |
-
<
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
<suite>
|
78 |
-
<modules>
|
79 |
-
<AntonioLoiaconoDesign_CalculateDiscount/>
|
80 |
-
</modules>
|
81 |
-
</suite>
|
82 |
-
</phpunit>
|
83 |
-
</config>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<config>
|
3 |
+
<modules>
|
4 |
<AntonioLoiaconoDesign_CalculateDiscount>
|
5 |
+
<version>1.3.1</version>
|
6 |
</AntonioLoiaconoDesign_CalculateDiscount>
|
7 |
</modules>
|
8 |
<global>
|
9 |
+
<blocks>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
<calculatediscount>
|
11 |
<class>AntonioLoiaconoDesign_CalculateDiscount_Block</class>
|
12 |
</calculatediscount>
|
16 |
<class>AntonioLoiaconoDesign_CalculateDiscount_Model</class>
|
17 |
</calculatediscount>
|
18 |
</models>
|
19 |
+
<helpers>
|
20 |
<calculatediscount>
|
21 |
<class>AntonioLoiaconoDesign_CalculateDiscount_Helper</class>
|
22 |
</calculatediscount>
|
23 |
+
</helpers>
|
|
|
24 |
</global>
|
25 |
+
<admin>
|
26 |
+
<routers>
|
27 |
+
<adminhtml>
|
28 |
+
<args>
|
29 |
+
<modules>
|
30 |
+
<AntonioLoiaconoDesign_CalculateDiscount before="Mage_Adminhtml">AntonioLoiaconoDesign_CalculateDiscount_Adminhtml</AntonioLoiaconoDesign_CalculateDiscount>
|
31 |
+
</modules>
|
32 |
+
</args>
|
33 |
+
</adminhtml>
|
34 |
+
</routers>
|
35 |
+
</admin>
|
36 |
+
<adminhtml>
|
37 |
+
<events>
|
38 |
+
<!-- event triggered after the original massaction items are added -->
|
39 |
+
<adminhtml_catalog_product_grid_prepare_massaction>
|
40 |
+
<observers>
|
41 |
+
<antonioloiaconodesign_calculatediscount_add>
|
42 |
+
<type>singleton</type>
|
43 |
+
<class>calculatediscount/observer</class>
|
44 |
+
<method>addMassCalculate</method>
|
45 |
+
</antonioloiaconodesign_calculatediscount_add>
|
46 |
+
</observers>
|
47 |
+
</adminhtml_catalog_product_grid_prepare_massaction>
|
48 |
+
|
49 |
+
<catalog_product_save_after>
|
50 |
+
<observers>
|
51 |
+
<calculatediscount>
|
52 |
+
<type>singleton</type>
|
53 |
+
<class>calculatediscount/observer</class>
|
54 |
+
<method>calculateDiscountAfterProductSave</method>
|
55 |
+
</calculatediscount>
|
56 |
+
</observers>
|
57 |
+
</catalog_product_save_after>
|
58 |
+
|
59 |
+
</events>
|
60 |
+
</adminhtml>
|
61 |
+
<phpunit>
|
62 |
+
<suite>
|
63 |
+
<modules>
|
64 |
+
<AntonioLoiaconoDesign_CalculateDiscount/>
|
65 |
+
</modules>
|
66 |
+
</suite>
|
67 |
+
</phpunit>
|
68 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,20 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AntonioLoiaconoDesign_CalculateDiscount</name>
|
4 |
-
<version>1.3.
|
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>The extension of the calculation discount will be useful to the one who will want to obtain a filter based on the percentage of discount in the frontend.</summary>
|
10 |
<description>The extension of the calculation discount lets choose an attribute used for the discount. For each option dropdown of the attribute it is possible to associate a range of percentages that will be visible in frontend if the attribute makes itself filterable with results.</description>
|
11 |
-
<notes>-
|
12 |
-
- Add "Include product tax class for calculating discount" button
|
13 |
-
- Fix minor bugs for mass action</notes>
|
14 |
<authors><author><name>alditalia</name><user>alditalia</user><email>a.loiacono@live.it</email></author></authors>
|
15 |
<date>2016-06-08</date>
|
16 |
-
<time>
|
17 |
-
<contents><target name="magecommunity"><dir name="AntonioLoiaconoDesign"><dir name="CalculateDiscount"><dir name="Block"><dir name="Config"><file name="DiscountConditions.php" hash="ea2c2594c7623d440d51daf3a3d3e210"/><dir name="Adminhtml"><dir name="Form"><dir name="Field"><file name="Discount.php" hash="04fdf4b428de3f987c282a1dde99f9d5"/></dir></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Appinfo.php" hash="f7da318f9068a772715abc5854693c63"/></dir></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CalculatediscountController.php" hash="420ea9421d2acfd076326dc7ef6b7c21"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="4034f1c2ab351864c50c09ae97dca679"/><file name="config.xml" hash="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AntonioLoiaconoDesign_CalculateDiscount</name>
|
4 |
+
<version>1.3.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>The extension of the calculation discount will be useful to the one who will want to obtain a filter based on the percentage of discount in the frontend.</summary>
|
10 |
<description>The extension of the calculation discount lets choose an attribute used for the discount. For each option dropdown of the attribute it is possible to associate a range of percentages that will be visible in frontend if the attribute makes itself filterable with results.</description>
|
11 |
+
<notes>- Fix white product page</notes>
|
|
|
|
|
12 |
<authors><author><name>alditalia</name><user>alditalia</user><email>a.loiacono@live.it</email></author></authors>
|
13 |
<date>2016-06-08</date>
|
14 |
+
<time>11:20:05</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="AntonioLoiaconoDesign"><dir name="CalculateDiscount"><dir name="Block"><dir name="Config"><file name="DiscountConditions.php" hash="ea2c2594c7623d440d51daf3a3d3e210"/><dir name="Adminhtml"><dir name="Form"><dir name="Field"><file name="Discount.php" hash="04fdf4b428de3f987c282a1dde99f9d5"/></dir></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Appinfo.php" hash="f7da318f9068a772715abc5854693c63"/></dir></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CalculatediscountController.php" hash="420ea9421d2acfd076326dc7ef6b7c21"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="4034f1c2ab351864c50c09ae97dca679"/><file name="config.xml" hash="a8c9d807a3c6b6f39defec8a898481c6"/><file name="system.xml" hash="4c304868f1e47c98f176cd62c84d3978"/></dir><dir name="Helper"><file name="Data.php" hash="d013701eb0402200a0d9bf391234a6b5"/></dir><dir name="Model"><file name="Observer.php" hash="be16617966b257992eb465f3de7e42a6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="AntonioLoiaconoDesign_CalculateDiscount.xml" hash="31047778a163b19ed5c8b2bfeea2d337"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="calculatediscount"><dir name="system"><dir name="config"><dir name="fieldset"><file name="appinfo.phtml" hash="74776ccb496a96d7c9cdd4d2e2712dfa"/></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|