Asperience_Productextend - Version 0.1.6

Version Notes

If you have ideas for improvements or find bugs, please send them to Jean-Sébastien Hederer at contact@asperience.fr, with Asperience_Productextend as part of the subject line.

Download this release

Release Info

Developer Jean-Sébastien Hederer
Extension Asperience_Productextend
Version 0.1.6
Comparing to
See all releases


Code changes from version 0.1.5 to 0.1.6

app/design/adminhtml/default/default/layout/asperience/productextend.xml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category ASPerience
5
+ * @package Asperience_Productextend
6
+ * @author ASPerience - www.asperience.fr
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ -->
10
+ <layout version="0.1.0">
11
+ <productextend_adminhtml_promotion_index>
12
+ <reference name="content">
13
+ <block type="productextend/adminhtml_promotion" name="promotion" />
14
+ </reference>
15
+ </productextend_adminhtml_promotion_index>
16
+ </layout>
app/design/adminhtml/default/default/template/asperience/productextend/catalog/product/edit/price/promotion.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category ASPerience
4
+ * @package Asperience_Productextend
5
+ * @author ASPerience - www.asperience.fr
6
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
+ */
8
+ ?>
9
+
10
+ <tr>
11
+ <td class="label"><?php echo $this->getElement()->getLabel() ?></td>
12
+
13
+ <?php if($_promotions = $this->loadPromotions()): ?>
14
+ <td colspan="10" class="grid tier">
15
+ <table cellspacing="0" style="border:solid 1px #CBD3D4">
16
+ <tr class="headings">
17
+ <th><?php echo Mage::helper('productextend')->__('User') ?></th>
18
+ <th><?php echo Mage::helper('productextend')->__('Price') ?></th>
19
+ <th><?php echo Mage::helper('productextend')->__('Special Price') ?></th>
20
+ <th><?php echo Mage::helper('productextend')->__('Special Price From Date') ?></th>
21
+ <th><?php echo Mage::helper('productextend')->__('Special Price To Date') ?></th>
22
+ <th><?php echo Mage::helper('productextend')->__('Tier price changes') ?></th>
23
+ <th><?php echo Mage::helper('productextend')->__('Website') ?></th>
24
+ <th><?php echo Mage::helper('productextend')->__('Store') ?></th>
25
+ <th class="last"><?php echo Mage::helper('productextend')->__('Created At') ?></th>
26
+ </tr>
27
+ <?php foreach($_promotions as $_promoId):
28
+ $_promo = $this->getPromotion($_promoId) ?>
29
+ <tr >
30
+ <td><?php echo $_promo->getUser() ?></td>
31
+ <td><?php echo Mage::helper('core')->currency($_promo->getPrice()) ?></td>
32
+ <td><?php echo Mage::helper('core')->currency($_promo->getSpecialPrice()) ?></td>
33
+ <td><?php echo Mage::helper('core')->formatDate($_promo->getSpecialFromDate()) ?></td>
34
+ <td><?php echo Mage::helper('core')->formatDate($_promo->getSpecialToDate()) ?></td>
35
+ <td><?php echo $_promo->getTierPrice() ?></td>
36
+ <td><?php echo Mage::app()->getWebsite($_promo->getWebsiteId())->getName() ?></td>
37
+ <td><?php echo Mage::app()->getStore($_promo->getStoreId())->getName() ?></td>
38
+ <td><?php echo $_promo->getCreatedTime() ?></td>
39
+ </tr>
40
+ <?php endforeach; ?>
41
+ </table>
42
+ </td>
43
+ <?php else: ?>
44
+ <td colspan="10" class="grid tier"><?php echo Mage::helper('productextend')->__('This product is not listed in the promotions history.')?></td>
45
+ <?php endif; ?>
46
+ </tr>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Asperience_Productextend</name>
4
- <version>0.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
@@ -18,9 +18,9 @@ This module is developed by ASPerience, french company. &#xD;
18
  &lt;a target="_blank" url="http://www.asperience.fr"&gt;http://www.asperience.fr&lt;/a&gt;</description>
19
  <notes>If you have ideas for improvements or find bugs, please send them to Jean-S&#xE9;bastien Hederer at contact@asperience.fr, with Asperience_Productextend as part of the subject line.</notes>
20
  <authors><author><name>Jean-S&#xE9;bastien Hederer</name><user>hedererjs</user><email>hedererjs@asperience.fr</email></author></authors>
21
- <date>2012-07-15</date>
22
- <time>19:58:45</time>
23
- <contents><target name="magecommunity"><dir name="Asperience"><dir name="Productextend"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Edit"><dir name="Tab"><dir name="Price"><file name="Promotion.php" hash="8e09f30000d4d70ac05037eb97418fa3"/></dir></dir></dir></dir></dir><dir name="Promotion"><dir name="Grid"><dir name="Renderer"><file name="Products.php" hash="ae59c7cd384c82fda09baa2fb5174913"/></dir></dir><file name="Grid.php" hash="f6b43a7c2c28051752673b302cadeaad"/></dir><file name="Promotion.php" hash="cb8aaa7b745d6a95a416218123e5b603"/></dir></dir><dir name="Helper"><file name="Data.php" hash="7a4ab078a15b8576710888b8323e9c79"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Promotion"><file name="Collection.php" hash="b53b2dd050281bc911f6b6c2038e1219"/></dir><file name="Promotion.php" hash="3ec67dd19cdebf42a97fe857ac8a62d0"/></dir><file name="Observer.php" hash="109be67d5236d6dbb96389dd9e8a3765"/><file name="Promotion.php" hash="bd8eef8fc50b1f9715f135d4d999a2aa"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PromotionController.php" hash="b371ace2eb96bb8a5135aea4032211b9"/></dir></dir><dir name="etc"><file name="config.xml" hash="e5bee60802bb43f60794c397204dceb6"/><file name="system.xml" hash="bf4ebc153a332f1d7d7f3cf5c08a2b6e"/></dir><dir name="sql"><dir name="productextend_setup"><file name="mysql4-install-0.1.0.php" hash="1f4685ed186c53e1530567ce1732bf5c"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="e72704ad932a3a63f134551fadb77d15"/><file name="mysql4-upgrade-0.1.1-0.1.5.php" hash="13e779030fabee51448ce6e58bf107eb"/></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Asperience_Productextend.csv" hash="eebe23a253fa5aff679e36676561280b"/><dir name="template"><dir name="email"><file name="asperience_product_alert.html" hash="7703bd13f66d22b2a46f8308b02a791b"/></dir></dir></dir><dir name="fr_FR"><file name="Asperience_Productextend.csv" hash="f46d2cc7ec43945d442673b6c56e92f3"/><dir name="template"><dir name="email"><file name="asperience_product_alert.html" hash="af405ef11aab0cd5795d0736533007c1"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Asperience_Productextend.xml" hash="607c5850bc72f2c6fc7452a85657f95a"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="productextend.xml" hash=""/></dir></dir></dir></dir></target></contents>
24
  <compatible/>
25
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
26
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Asperience_Productextend</name>
4
+ <version>0.1.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
18
  &lt;a target="_blank" url="http://www.asperience.fr"&gt;http://www.asperience.fr&lt;/a&gt;</description>
19
  <notes>If you have ideas for improvements or find bugs, please send them to Jean-S&#xE9;bastien Hederer at contact@asperience.fr, with Asperience_Productextend as part of the subject line.</notes>
20
  <authors><author><name>Jean-S&#xE9;bastien Hederer</name><user>hedererjs</user><email>hedererjs@asperience.fr</email></author></authors>
21
+ <date>2012-09-26</date>
22
+ <time>07:46:09</time>
23
+ <contents><target name="magecommunity"><dir name="Asperience"><dir name="Productextend"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Edit"><dir name="Tab"><dir name="Price"><file name="Promotion.php" hash="8e09f30000d4d70ac05037eb97418fa3"/></dir></dir></dir></dir></dir><dir name="Promotion"><dir name="Grid"><dir name="Renderer"><file name="Products.php" hash="ae59c7cd384c82fda09baa2fb5174913"/></dir></dir><file name="Grid.php" hash="f6b43a7c2c28051752673b302cadeaad"/></dir><file name="Promotion.php" hash="cb8aaa7b745d6a95a416218123e5b603"/></dir></dir><dir name="Helper"><file name="Data.php" hash="7a4ab078a15b8576710888b8323e9c79"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Promotion"><file name="Collection.php" hash="b53b2dd050281bc911f6b6c2038e1219"/></dir><file name="Promotion.php" hash="3ec67dd19cdebf42a97fe857ac8a62d0"/></dir><file name="Observer.php" hash="109be67d5236d6dbb96389dd9e8a3765"/><file name="Promotion.php" hash="bd8eef8fc50b1f9715f135d4d999a2aa"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PromotionController.php" hash="b371ace2eb96bb8a5135aea4032211b9"/></dir></dir><dir name="etc"><file name="config.xml" hash="e5bee60802bb43f60794c397204dceb6"/><file name="system.xml" hash="bf4ebc153a332f1d7d7f3cf5c08a2b6e"/></dir><dir name="sql"><dir name="productextend_setup"><file name="mysql4-install-0.1.0.php" hash="1f4685ed186c53e1530567ce1732bf5c"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="e72704ad932a3a63f134551fadb77d15"/><file name="mysql4-upgrade-0.1.1-0.1.5.php" hash="13e779030fabee51448ce6e58bf107eb"/></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Asperience_Productextend.csv" hash="eebe23a253fa5aff679e36676561280b"/><dir name="template"><dir name="email"><file name="asperience_product_alert.html" hash="7703bd13f66d22b2a46f8308b02a791b"/></dir></dir></dir><dir name="fr_FR"><file name="Asperience_Productextend.csv" hash="f46d2cc7ec43945d442673b6c56e92f3"/><dir name="template"><dir name="email"><file name="asperience_product_alert.html" hash="af405ef11aab0cd5795d0736533007c1"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Asperience_Productextend.xml" hash="607c5850bc72f2c6fc7452a85657f95a"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="asperience"><file name="productextend.xml" hash="e0a9d36ca38f943ff3946517bc3a9dc0"/></dir></dir><dir name="template"><dir name="asperience"><dir name="productextend"><dir name="catalog"><dir name="product"><dir name="edit"><dir name="price"><file name="promotion.phtml" hash="3d0b3c0e6e33d6be1787b926021e5772"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
24
  <compatible/>
25
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
26
  </package>