Carotechs_Audittrack - Version 0.1.4

Version Notes

Initial Release

Download this release

Release Info

Developer Carotechs
Extension Carotechs_Audittrack
Version 0.1.4
Comparing to
See all releases


Code changes from version 0.1.3 to 0.1.4

app/code/local/Carotechs/Audittrack/controllers/Catalog/ProductController.php CHANGED
@@ -35,6 +35,7 @@ class Carotechs_Audittrack_Catalog_ProductController extends Mage_Adminhtml_Cata
35
  {
36
  //calling parent action.
37
  $this->variables();
 
38
  $productId1 = $this->getRequest()->getParam('id');
39
  $this->_store_id= $this->getRequest()->getParam('store');
40
  //get product details from product id
@@ -46,7 +47,7 @@ class Carotechs_Audittrack_Catalog_ProductController extends Mage_Adminhtml_Cata
46
 
47
  $p_data = $this->getRequest()->getPost();
48
  $current_price=$p_data['product']['price'];
49
-
50
  $pro = Mage::registry('product');
51
  $productId = $pro->getId();
52
 
@@ -83,7 +84,7 @@ class Carotechs_Audittrack_Catalog_ProductController extends Mage_Adminhtml_Cata
83
 
84
  if(Mage::getStoreConfig("Carotechs_Audittrack/AudittrackPriceAlert/Productprice"))
85
  {
86
- if($price!=$current_price)
87
  {
88
  //trans_email_ident_custom1_email
89
  /* Sender Name */
35
  {
36
  //calling parent action.
37
  $this->variables();
38
+ $current_price=0;
39
  $productId1 = $this->getRequest()->getParam('id');
40
  $this->_store_id= $this->getRequest()->getParam('store');
41
  //get product details from product id
47
 
48
  $p_data = $this->getRequest()->getPost();
49
  $current_price=$p_data['product']['price'];
50
+
51
  $pro = Mage::registry('product');
52
  $productId = $pro->getId();
53
 
84
 
85
  if(Mage::getStoreConfig("Carotechs_Audittrack/AudittrackPriceAlert/Productprice"))
86
  {
87
+ if(($price!=$current_price) && ($price!=0) && ($price!=''))
88
  {
89
  //trans_email_ident_custom1_email
90
  /* Sender Name */
app/code/local/Carotechs/Audittrack/etc/config.xml CHANGED
@@ -10,7 +10,7 @@
10
  <config>
11
  <modules>
12
  <Carotechs_Audittrack>
13
- <version>0.1.3</version>
14
  </Carotechs_Audittrack>
15
  </modules>
16
  <frontend>
10
  <config>
11
  <modules>
12
  <Carotechs_Audittrack>
13
+ <version>0.1.4</version>
14
  </Carotechs_Audittrack>
15
  </modules>
16
  <frontend>
app/design/adminhtml/default/default/layout/audittrack.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0"?>
2
- <layout version="0.1.3">
3
  <audittrack_adminhtml_audittrack_index>
4
  <reference name="content">
5
  <block type="audittrack/adminhtml_audittrack" name="audittrack" />
1
  <?xml version="1.0"?>
2
+ <layout version="0.1.4">
3
  <audittrack_adminhtml_audittrack_index>
4
  <reference name="content">
5
  <block type="audittrack/adminhtml_audittrack" name="audittrack" />
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Carotechs_Audittrack</name>
4
- <version>0.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -12,8 +12,8 @@ List of entities logged: Product, Category, Attribute, Attribute Set, Price Rule
12
  <notes>Initial Release</notes>
13
  <authors><author><name>Carotechs</name><user>carotechsinc</user><email>apps@carotechs.com</email></author></authors>
14
  <date>2013-07-18</date>
15
- <time>08:49:17</time>
16
- <contents><target name="magelocal"><dir name="Carotechs"><dir name="Audittrack"><dir name="Block"><file name="Aboutconfig.php" hash="59aef46dfc28403283126fedf6c37b48"/><file name="Aboutprice.php" hash="2326296050f48c8688ba02e8eae3b0da"/><dir name="Adminhtml"><dir name="Audittrack"><file name="Grid.php" hash="89088141bc7e65ed7f9e10cd6411b2df"/></dir><file name="Audittrack.php" hash="e951f4d043132c20fe27b796680ddc12"/></dir><file name="Audittrack.php" hash="9b00af50e8207c1309b2e40b2612a311"/></dir><dir name="Helper"><file name="Data.php" hash="8bda5cc47def24a8b64e7e6dd87ad7de"/></dir><dir name="Model"><file name="Audittrack.php" hash="57cc96db1fd2d1dcd6925da2f454bc35"/><dir name="Mysql4"><dir name="Audittrack"><file name="Collection.php" hash="19a55edf9900150dda6e05ad5e785646"/></dir><file name="Audittrack.php" hash="36b6b2d3c082fa116f6359ee7ae12a57"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AudittrackController.php" hash="fc646ed73c774a280df64c8fb9ad72dc"/></dir><dir name="Catalog"><file name="CategoryController.php" hash="a8488e3d28ab0ffdfa3a34ab00a10532"/><dir name="Product"><file name="AttributeController.php" hash="49aabe7443707ae7a3606a4cf4aec13d"/><file name="SetController.php" hash="c862c562fd686a4377b4723a98c83f98"/></dir><file name="ProductController.php" hash="b3265af6b24ae9bef829ce45a2eedcc7"/></dir><file name="CustomerController.php" hash="f0a322b2bde60283c422da58f25c4ffd"/><dir name="Promo"><file name="CatalogController.php" hash="61e30758870a13b45aa6cc46bedf40dd"/><file name="QuoteController.php" hash="e2aed1ce668a0b47517eb33b4e5084b3"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="5f6b82a7ee69ac288d76482cbaecfbbb"/><file name="config.xml" hash="77e825368e090d4560076c1e0df037e1"/><file name="system.xml" hash="6c451bfa506cd6474c0ae27fb39ae566"/></dir><dir name="sql"><dir name="audittrack_setup"><file name="mysql4-install-0.1.3.php" hash="ed8af37952d290c0632666172892794b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="audittrack.xml" hash="a1a7be360874daa0372cf0ac26d3dbe7"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Carotechs_Audittrack.xml" hash="9f1a85ba90bd65b2bb44127e02b40331"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Carotechs_Audittrack</name>
4
+ <version>0.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
12
  <notes>Initial Release</notes>
13
  <authors><author><name>Carotechs</name><user>carotechsinc</user><email>apps@carotechs.com</email></author></authors>
14
  <date>2013-07-18</date>
15
+ <time>09:13:39</time>
16
+ <contents><target name="magelocal"><dir name="Carotechs"><dir name="Audittrack"><dir name="Block"><file name="Aboutconfig.php" hash="59aef46dfc28403283126fedf6c37b48"/><file name="Aboutprice.php" hash="2326296050f48c8688ba02e8eae3b0da"/><dir name="Adminhtml"><dir name="Audittrack"><file name="Grid.php" hash="89088141bc7e65ed7f9e10cd6411b2df"/></dir><file name="Audittrack.php" hash="e951f4d043132c20fe27b796680ddc12"/></dir><file name="Audittrack.php" hash="9b00af50e8207c1309b2e40b2612a311"/></dir><dir name="Helper"><file name="Data.php" hash="8bda5cc47def24a8b64e7e6dd87ad7de"/></dir><dir name="Model"><file name="Audittrack.php" hash="57cc96db1fd2d1dcd6925da2f454bc35"/><dir name="Mysql4"><dir name="Audittrack"><file name="Collection.php" hash="19a55edf9900150dda6e05ad5e785646"/></dir><file name="Audittrack.php" hash="36b6b2d3c082fa116f6359ee7ae12a57"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AudittrackController.php" hash="fc646ed73c774a280df64c8fb9ad72dc"/></dir><dir name="Catalog"><file name="CategoryController.php" hash="a8488e3d28ab0ffdfa3a34ab00a10532"/><dir name="Product"><file name="AttributeController.php" hash="49aabe7443707ae7a3606a4cf4aec13d"/><file name="SetController.php" hash="c862c562fd686a4377b4723a98c83f98"/></dir><file name="ProductController.php" hash="3d553bee32c74caca045fecc950e45a2"/></dir><file name="CustomerController.php" hash="f0a322b2bde60283c422da58f25c4ffd"/><dir name="Promo"><file name="CatalogController.php" hash="61e30758870a13b45aa6cc46bedf40dd"/><file name="QuoteController.php" hash="e2aed1ce668a0b47517eb33b4e5084b3"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="5f6b82a7ee69ac288d76482cbaecfbbb"/><file name="config.xml" hash="e0d1c55b4b56e4e9bc846d9d24892bc1"/><file name="system.xml" hash="6c451bfa506cd6474c0ae27fb39ae566"/></dir><dir name="sql"><dir name="audittrack_setup"><file name="mysql4-install-0.1.3.php" hash="ed8af37952d290c0632666172892794b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="audittrack.xml" hash="9440ebe6c749748a3fd78c116b0d4fae"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Carotechs_Audittrack.xml" hash="9f1a85ba90bd65b2bb44127e02b40331"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>