web4pro_Abandonedcart - Version 1.1.1

Version Notes

Default values were set for configuration variables.

Download this release

Release Info

Developer Andrii Mutylo
Extension web4pro_Abandonedcart
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.1.0 to 1.1.1

app/code/community/Web4pro/Abandonedcart/sql/web4proabandonedcart_setup/mysql4-upgrade-1.0.0-1.1.0.php CHANGED
@@ -1,14 +1,18 @@
1
- <?php
2
- $installer = $this;
3
- $installer->startSetup();
4
-
5
- $model = Mage::getModel('admin/block');
6
- if(is_object($model)) {
7
- $model->setData(array(
8
- 'block_name' => 'web4pro_abandonedcart/email_order_items',
9
- 'is_allowed' => '1'
10
- ));
11
- $model->save();
12
- }
13
-
14
- $installer->endSetup();
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+
5
+ $model = Mage::getModel('admin/block');
6
+ if(is_object($model)) {
7
+ $collection = $model->getCollection()->addFieldToFilter('block_name','web4pro_abandonedcart/email_order_items');
8
+ if($item = $collection->fetchItem()){
9
+ $model = $item;
10
+ }
11
+ $model->addData(array(
12
+ 'block_name' => 'web4pro_abandonedcart/email_order_items',
13
+ 'is_allowed' => '1'
14
+ ));
15
+ $model->save();
16
+ }
17
+
18
+ $installer->endSetup();
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>web4pro_Abandonedcart</name>
4
- <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/lisenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -28,9 +28,9 @@ Features.&#xD;
28
  - enable/disable register guest as customer.</description>
29
  <notes>Default values were set for configuration variables.</notes>
30
  <authors><author><name>Andrii Mutylo</name><user>amutylo</user><email>amutylo@corp.web4pro.com.ua</email></author></authors>
31
- <date>2017-03-03</date>
32
- <time>14:33:24</time>
33
- <contents><target name="mage"><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="abandonedcart"><file name="abandonedcart.css" hash="5600b07e1969f951733c8fa1bb53bb09"/></dir></dir></dir></dir></dir><dir name="app"><dir name="code"><dir name="community"><dir name="Web4pro"><dir name="Abandonedcart"><dir><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedmails"><file name="Grid.php" hash="62961560704898d27cb737956627c6be"/></dir><file name="Abandonedmails.php" hash="d3cd860bd9626d07bda12a78c74eecde"/><dir name="Abandonedorder"><file name="Grid.php" hash="527a6040d82459b3d714ce81c2ec3949"/></dir><file name="Abandonedorder.php" hash="7017d87883cb33208c8010a2f9c05b1d"/><dir name="System"><dir name="Config"><file name="Date.php" hash="55abe5d0f32368ca7efe9cb6d815b61c"/></dir></dir></dir><dir name="Email"><dir name="Order"><file name="Items.php" hash="47a14e99b2ebf84a52a59051d58f88ad"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="87fbaa40aec0cb9c2910f7ca6e3fea9d"/></dir><dir name="Model"><file name="Config.php" hash="fb2ac0a143066002ba5030e8eaaeda7a"/><file name="Cron.php" hash="db7f41818df61666d17bd72590414a67"/><file name="EventObserver.php" hash="2d8aaf71e171c9099adfa29a315460f8"/><file name="Mailssent.php" hash="7cad9398c6bdfb2601c888d1eec1ab89"/><dir name="Resource"><dir name="Mailssent"><file name="Collection.php" hash="33703237fdc72dbf556fedfaeeb92302"/></dir><file name="Mailssent.php" hash="be136790be64db9bf3b24c920558b4c6"/><dir name="Order"><file name="Collection.php" hash="b0aa5807539359c5847b9bc4fa1883db"/></dir></dir><dir name="System"><dir name="Config"><file name="Automatic.php" hash="16dd36181a3911a39b484ea19bebdd56"/><file name="Cmspage.php" hash="bdf81dffb64b437e86397e6c017a9602"/><file name="Customergroup.php" hash="40391e9c80c319961e10fee09d930572"/><file name="Discounttype.php" hash="5440c2d741f3e060f4773617bb9002cf"/><file name="Maxemails.php" hash="340c3309e5d27923493b6aa302f91892"/><file name="Unit.php" hash="ef40924339691823e7ab2f46f96cc38d"/></dir></dir></dir><dir name="controllers"><file name="AbandonedController.php" hash="ac98cd21ab8194601a3c466dc44a5761"/><dir name="Adminhtml"><file name="AbandonedmailsController.php" hash="f61320c9cd8124a8984a9ed1bfdb5143"/><file name="AbandonedorderController.php" hash="306b71b58c1ea03b3126225925cadb22"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ccf60800cdd20896241ba4d27e79a7b8"/><file name="config.xml" hash="4d1f19acff7c8f542c30228082f50007"/><file name="system.xml" hash="946320cc07ee3dd901fe97e1f148d141"/></dir><dir name="sql"><dir name="web4proabandonedcart_setup"><file name="mysql4-install-1.0.0.php" hash="75ba258d12d31aeea19bab4923b75d5e"/><file name="mysql4-upgrade-1.0.0-1.1.0.php" hash="f501692b8178ca6bc4d63182054faf0b"/></dir></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="abandonedcart.xml" hash="cfa9290d91997af0780d04a0f566884a"/></dir><dir name="template"><dir name="web4pro"><dir name="abandonedcart"><dir><dir name="dashboard"><file name="index.phtml" hash="9fc416c34b284abb9c8299790e05334c"/><file name="salebar.phtml" hash="5dd403fd6a135f9bf1560add4c0b976e"/><file name="totalbar.phtml" hash="34d07b6fa37767da1189be7f06df7a58"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="web4pro_abandonedcart"><dir><dir name="email"><dir name="order"><dir name="items"><dir name="order"><file name="default.phtml" hash="1149bed95dcf383a15732dc9fb69c8ed"/></dir></dir><file name="items.phtml" hash="f2a0a1bfad575dc8b412d46a3d2111d8"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Web4pro_Abandonedcart.xml" hash="c0f5335e2abf6542af9d01ce15fc9afe"/></dir></dir><dir name="locale"><dir name="en_US"><file name="Web4pro_Abandonedcart.csv" hash="1263b2b9b3e15f38da744757e63fb96c"/><dir name="template"><dir name="email"><dir name="web4pro"><dir name="abandonedcart"><file name="cart_mail_1.html" hash="4c1bdeeac991d036804fa45e335a62b4"/><file name="cart_mail_2.html" hash="6e81d97752f13db93100a1ed74d1d95c"/><file name="cart_mail_3.html" hash="5a4961a8d8894127019664608b7e7c1d"/></dir></dir></dir></dir></dir><dir name="ru_RU"><dir name="template"><dir name="email"><dir name="web4pro"><dir name="abandonedcart"><file name="cart_mail_1.html" hash="78414699462aaa66d95c67a78e5565d5"/><file name="cart_mail_2.html" hash="eb06978d985da67af2f94dde115c3585"/><file name="cart_mail_3.html" hash="5a4961a8d8894127019664608b7e7c1d"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
34
  <compatible/>
35
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
36
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>web4pro_Abandonedcart</name>
4
+ <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/lisenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
28
  - enable/disable register guest as customer.</description>
29
  <notes>Default values were set for configuration variables.</notes>
30
  <authors><author><name>Andrii Mutylo</name><user>amutylo</user><email>amutylo@corp.web4pro.com.ua</email></author></authors>
31
+ <date>2017-04-18</date>
32
+ <time>16:20:33</time>
33
+ <contents><target name="mage"><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="abandonedcart"><file name="abandonedcart.css" hash="5600b07e1969f951733c8fa1bb53bb09"/></dir></dir></dir></dir></dir><dir name="app"><dir name="code"><dir name="community"><dir name="Web4pro"><dir name="Abandonedcart"><dir><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedmails"><file name="Grid.php" hash="62961560704898d27cb737956627c6be"/></dir><file name="Abandonedmails.php" hash="d3cd860bd9626d07bda12a78c74eecde"/><dir name="Abandonedorder"><file name="Grid.php" hash="527a6040d82459b3d714ce81c2ec3949"/></dir><file name="Abandonedorder.php" hash="7017d87883cb33208c8010a2f9c05b1d"/><dir name="System"><dir name="Config"><file name="Date.php" hash="55abe5d0f32368ca7efe9cb6d815b61c"/></dir></dir></dir><dir name="Email"><dir name="Order"><file name="Items.php" hash="47a14e99b2ebf84a52a59051d58f88ad"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="87fbaa40aec0cb9c2910f7ca6e3fea9d"/></dir><dir name="Model"><file name="Config.php" hash="fb2ac0a143066002ba5030e8eaaeda7a"/><file name="Cron.php" hash="db7f41818df61666d17bd72590414a67"/><file name="EventObserver.php" hash="2d8aaf71e171c9099adfa29a315460f8"/><file name="Mailssent.php" hash="7cad9398c6bdfb2601c888d1eec1ab89"/><dir name="Resource"><dir name="Mailssent"><file name="Collection.php" hash="33703237fdc72dbf556fedfaeeb92302"/></dir><file name="Mailssent.php" hash="be136790be64db9bf3b24c920558b4c6"/><dir name="Order"><file name="Collection.php" hash="b0aa5807539359c5847b9bc4fa1883db"/></dir></dir><dir name="System"><dir name="Config"><file name="Automatic.php" hash="16dd36181a3911a39b484ea19bebdd56"/><file name="Cmspage.php" hash="bdf81dffb64b437e86397e6c017a9602"/><file name="Customergroup.php" hash="40391e9c80c319961e10fee09d930572"/><file name="Discounttype.php" hash="5440c2d741f3e060f4773617bb9002cf"/><file name="Maxemails.php" hash="340c3309e5d27923493b6aa302f91892"/><file name="Unit.php" hash="ef40924339691823e7ab2f46f96cc38d"/></dir></dir></dir><dir name="controllers"><file name="AbandonedController.php" hash="ac98cd21ab8194601a3c466dc44a5761"/><dir name="Adminhtml"><file name="AbandonedmailsController.php" hash="f61320c9cd8124a8984a9ed1bfdb5143"/><file name="AbandonedorderController.php" hash="306b71b58c1ea03b3126225925cadb22"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ccf60800cdd20896241ba4d27e79a7b8"/><file name="config.xml" hash="4d1f19acff7c8f542c30228082f50007"/><file name="system.xml" hash="946320cc07ee3dd901fe97e1f148d141"/></dir><dir name="sql"><dir name="web4proabandonedcart_setup"><file name="mysql4-install-1.0.0.php" hash="75ba258d12d31aeea19bab4923b75d5e"/><file name="mysql4-upgrade-1.0.0-1.1.0.php" hash="6c98c9459d0fd988d57127e37bcee9d9"/></dir></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="abandonedcart.xml" hash="cfa9290d91997af0780d04a0f566884a"/></dir><dir name="template"><dir name="web4pro"><dir name="abandonedcart"><dir><dir name="dashboard"><file name="index.phtml" hash="9fc416c34b284abb9c8299790e05334c"/><file name="salebar.phtml" hash="5dd403fd6a135f9bf1560add4c0b976e"/><file name="totalbar.phtml" hash="34d07b6fa37767da1189be7f06df7a58"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="web4pro_abandonedcart"><dir><dir name="email"><dir name="order"><dir name="items"><dir name="order"><file name="default.phtml" hash="1149bed95dcf383a15732dc9fb69c8ed"/></dir></dir><file name="items.phtml" hash="f2a0a1bfad575dc8b412d46a3d2111d8"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Web4pro_Abandonedcart.xml" hash="c0f5335e2abf6542af9d01ce15fc9afe"/></dir></dir><dir name="locale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="web4pro"><dir name="abandonedcart"><file name="cart_mail_1.html" hash="4c1bdeeac991d036804fa45e335a62b4"/><file name="cart_mail_2.html" hash="6e81d97752f13db93100a1ed74d1d95c"/><file name="cart_mail_3.html" hash="5a4961a8d8894127019664608b7e7c1d"/></dir></dir></dir></dir><file name="Web4pro_Abandonedcart.csv" hash="1263b2b9b3e15f38da744757e63fb96c"/></dir><dir name="ru_RU"><dir name="template"><dir name="email"><dir name="web4pro"><dir name="abandonedcart"><file name="cart_mail_1.html" hash="78414699462aaa66d95c67a78e5565d5"/><file name="cart_mail_2.html" hash="eb06978d985da67af2f94dde115c3585"/><file name="cart_mail_3.html" hash="5a4961a8d8894127019664608b7e7c1d"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
34
  <compatible/>
35
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
36
  </package>