ET_CurrencyManager - Version 1.2.6

Version Notes

stable release

Download this release

Release Info

Developer Magento Core Team
Extension ET_CurrencyManager
Version 1.2.6
Comparing to
See all releases


Code changes from version 1.2.5 to 1.2.6

app/code/community/ET/CurrencyManager/etc/config.xml CHANGED
@@ -22,7 +22,7 @@
22
  <modules>
23
  <ET_CurrencyManager>
24
  <name>ET Currency Manager</name>
25
- <version>1.2.5</version>
26
  <descr>
27
  <ru_RU><![CDATA[Модуль позволяет владельцу магазина просто и удобно управлять отображением цены: указывать свой символ валюты, количество знаков после запятой, позицию символа и др.]]>
28
  </ru_RU>
22
  <modules>
23
  <ET_CurrencyManager>
24
  <name>ET Currency Manager</name>
25
+ <version>1.2.6</version>
26
  <descr>
27
  <ru_RU><![CDATA[Модуль позволяет владельцу магазина просто и удобно управлять отображением цены: указывать свой символ валюты, количество знаков после запятой, позицию символа и др.]]>
28
  </ru_RU>
js/et/currencymanager/et_currencymanager_round.js CHANGED
@@ -54,7 +54,7 @@ function extendProductConfigformatPrice() {
54
  testPrecision < precision; testPrecision++) {
55
  //abs for 0.00199999999 or 1.1000000000001 fix
56
  if (Math.abs(Math.round(price * Math.pow(10, testPrecision))
57
- - price * Math.pow(10, testPrecision))<0.0000001) {
58
  precision = testPrecision;
59
  break;
60
  }
@@ -108,7 +108,11 @@ function extendProductConfigformatPrice() {
108
  }
109
  }
110
 
111
- extendProductConfigformatPrice();
 
 
 
 
112
 
113
  try {
114
 
@@ -162,7 +166,7 @@ try {
162
  testPrecision < format.precision; testPrecision++) {
163
  //abs for 0.00199999999 or 1.1000000000001 fix
164
  if (Math.abs(Math.round(price * Math.pow(10, testPrecision))
165
- - price * Math.pow(10, testPrecision))<0.0000001) {
166
  format.precision = testPrecision;
167
  format.requiredPrecision = testPrecision;
168
  break;
@@ -234,8 +238,6 @@ try {
234
  }
235
 
236
 
237
-
238
-
239
  }
240
  catch (e) {
241
  //do nothing
54
  testPrecision < precision; testPrecision++) {
55
  //abs for 0.00199999999 or 1.1000000000001 fix
56
  if (Math.abs(Math.round(price * Math.pow(10, testPrecision))
57
+ - price * Math.pow(10, testPrecision)) < 0.0000001) {
58
  precision = testPrecision;
59
  break;
60
  }
108
  }
109
  }
110
 
111
+ try {
112
+ extendProductConfigformatPrice();
113
+ } catch (e) {
114
+ extendProductConfigformatPriceTrigged = false;
115
+ }
116
 
117
  try {
118
 
166
  testPrecision < format.precision; testPrecision++) {
167
  //abs for 0.00199999999 or 1.1000000000001 fix
168
  if (Math.abs(Math.round(price * Math.pow(10, testPrecision))
169
+ - price * Math.pow(10, testPrecision)) < 0.0000001) {
170
  format.precision = testPrecision;
171
  format.requiredPrecision = testPrecision;
172
  break;
238
  }
239
 
240
 
 
 
241
  }
242
  catch (e) {
243
  //do nothing
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ET_CurrencyManager</name>
4
- <version>1.2.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://shop.etwebsolutions.com/eng/etws-license-free-v1">ETWS Free License (EFL1)</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>_Currency Manager lets shop owner manage price display in an easy and convenient way: show custom currency symbol, change its position, change number of decimals and etc._</description>
11
  <notes>stable release</notes>
12
  <authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
13
- <date>2015-05-13</date>
14
- <time>07:01:31</time>
15
- <contents><target name="magecommunity"><dir name="ET"><dir name="CurrencyManager"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Edit"><dir name="Tab"><dir name="Options"><file name="Option.php" hash="3c8ebb1d4539a0cad43a247336c2ed2b"/></dir></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Linktooptions.php" hash="254eef26e1ae0edecc76a31541b244ae"/></dir></dir></dir></dir><file name="Formprice.php" hash="787bb8c6466fd5b58edff9119aeca6f0"/><file name="Heading.php" hash="0282201202dfbe3c2a9a7f0e3016bbd4"/><file name="Support.php" hash="990d30043688b410cf545cfeb3bcebd1"/><file name="Symbolreplace.php" hash="7d27f592da6f550c4c06b582600e54b9"/></dir><file name="Js.php" hash="086a2b3e70400c840615fd499ab5883e"/></dir><dir name="Helper"><file name="Data.php" hash="fe8b786351a7f27fec7b11eac0ef4eb3"/><file name="Tax.php" hash="c3515cfc58e77804da9764a3a7c45e46"/><file name="Tax1810.php" hash="b0aaa6fbe2f3ee324b2a7fd3702f8200"/><file name="Url.php" hash="c955b5c25a971c10042d7d027ac92973"/></dir><dir name="Model"><file name="Currency.php" hash="362d5636797c5645e8080474de67d816"/><file name="Locale.php" hash="5f4d8d523f8d7a351f5afc952cdc9dd5"/><file name="Observer.php" hash="425ba0e028c55beca2e881280af01b63"/><file name="Store.php" hash="c3a70572e760588338f94e7300d1b2cf"/><file name="Typeposition.php" hash="9132477fac1f0bc56be36e18613ff23c"/><file name="Typesymboluse.php" hash="50b7bdd60eb040007f1b8f5bd9486b19"/></dir><dir name="controllers"><file name="CurrencyController.php" hash="854266bb77f94e5265ada83073a60cd1"/></dir><dir name="etc"><file name="config.xml" hash="41d553cdd0ea0a9cdea92a8566daf852"/><file name="system.xml" hash="65fec8f8c28b4e870c217af16a5775ce"/></dir></dir></dir></target><target name="magelocale"><dir name="ru_RU"><file name="ET_Currencymanager.csv" hash="fd3d8ccd11ff2e65f03120e468e22a0a"/></dir><dir name="en_US"><file name="ET_Currencymanager.csv" hash="551008a104f6f1090500cdb05c90acd2"/></dir><dir name="fr_FR"><file name="ET_Currencymanager.csv" hash="ade2537df9d7dad795a62449434d022a"/></dir></target><target name="mageetc"><dir name="modules"><file name="ET_CurrencyManager.xml" hash="58495e7d1f538b0c987fd13fe75e56b5"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="et_currencymanager.xml" hash="162b9d35532260a71a90978800f19537"/></dir><dir name="template"><dir name="et_currencymanager"><file name="js.phtml" hash="573fd947d24f4d29fb25f7206da409c5"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="et"><dir name="currencymanager"><file name="et_currencymanager_round.js" hash="a150e2e52215b8d4c9630806bbed47bb"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ET_CurrencyManager</name>
4
+ <version>1.2.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://shop.etwebsolutions.com/eng/etws-license-free-v1">ETWS Free License (EFL1)</license>
7
  <channel>community</channel>
10
  <description>_Currency Manager lets shop owner manage price display in an easy and convenient way: show custom currency symbol, change its position, change number of decimals and etc._</description>
11
  <notes>stable release</notes>
12
  <authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
13
+ <date>2015-08-18</date>
14
+ <time>08:51:59</time>
15
+ <contents><target name="magecommunity"><dir name="ET"><dir name="CurrencyManager"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Edit"><dir name="Tab"><dir name="Options"><file name="Option.php" hash="3c8ebb1d4539a0cad43a247336c2ed2b"/></dir></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Linktooptions.php" hash="254eef26e1ae0edecc76a31541b244ae"/></dir></dir></dir></dir><file name="Formprice.php" hash="787bb8c6466fd5b58edff9119aeca6f0"/><file name="Heading.php" hash="0282201202dfbe3c2a9a7f0e3016bbd4"/><file name="Support.php" hash="990d30043688b410cf545cfeb3bcebd1"/><file name="Symbolreplace.php" hash="7d27f592da6f550c4c06b582600e54b9"/></dir><file name="Js.php" hash="086a2b3e70400c840615fd499ab5883e"/></dir><dir name="Helper"><file name="Data.php" hash="fe8b786351a7f27fec7b11eac0ef4eb3"/><file name="Tax.php" hash="c3515cfc58e77804da9764a3a7c45e46"/><file name="Tax1810.php" hash="b0aaa6fbe2f3ee324b2a7fd3702f8200"/><file name="Url.php" hash="c955b5c25a971c10042d7d027ac92973"/></dir><dir name="Model"><file name="Currency.php" hash="362d5636797c5645e8080474de67d816"/><file name="Locale.php" hash="5f4d8d523f8d7a351f5afc952cdc9dd5"/><file name="Observer.php" hash="425ba0e028c55beca2e881280af01b63"/><file name="Store.php" hash="c3a70572e760588338f94e7300d1b2cf"/><file name="Typeposition.php" hash="9132477fac1f0bc56be36e18613ff23c"/><file name="Typesymboluse.php" hash="50b7bdd60eb040007f1b8f5bd9486b19"/></dir><dir name="controllers"><file name="CurrencyController.php" hash="854266bb77f94e5265ada83073a60cd1"/></dir><dir name="etc"><file name="config.xml" hash="da9b64f995a9c3cf23f16603563a1c8a"/><file name="system.xml" hash="65fec8f8c28b4e870c217af16a5775ce"/></dir></dir></dir></target><target name="magelocale"><dir name="ru_RU"><file name="ET_Currencymanager.csv" hash="fd3d8ccd11ff2e65f03120e468e22a0a"/></dir><dir name="en_US"><file name="ET_Currencymanager.csv" hash="551008a104f6f1090500cdb05c90acd2"/></dir><dir name="fr_FR"><file name="ET_Currencymanager.csv" hash="ade2537df9d7dad795a62449434d022a"/></dir></target><target name="mageetc"><dir name="modules"><file name="ET_CurrencyManager.xml" hash="58495e7d1f538b0c987fd13fe75e56b5"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="et_currencymanager.xml" hash="162b9d35532260a71a90978800f19537"/></dir><dir name="template"><dir name="et_currencymanager"><file name="js.phtml" hash="573fd947d24f4d29fb25f7206da409c5"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="et"><dir name="currencymanager"><file name="et_currencymanager_round.js" hash="6fe6ffcc053bde093fc312ea8a9423bd"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>