Version Notes
- Fixed misconfiguration in the config file of the extenion
Download this release
Release Info
| Developer | p squared |
| Extension | Psquared_PriceFactor |
| Version | 1.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.0 to 1.0.1
app/code/community/Psquared/PriceFactor/Block/Product/Price.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
|
| 3 |
-
|
| 4 |
-
class Psquared_PriceFactor_Block_Product_Price extends FireGento_GermanSetup_Block_Catalog_Product_Price
|
| 5 |
{
|
| 6 |
public function getDisplayMinimalPrice(){
|
| 7 |
if (Mage::getStoreConfig('catalog/price_factor/show_minimal_price') == 0){
|
| 1 |
<?php
|
| 2 |
|
| 3 |
+
class Psquared_PriceFactor_Block_Product_Price extends Mage_Catalog_Block_Product_Price
|
| 4 |
+
//class Psquared_PriceFactor_Block_Product_Price extends FireGento_GermanSetup_Block_Catalog_Product_Price
|
| 5 |
{
|
| 6 |
public function getDisplayMinimalPrice(){
|
| 7 |
if (Mage::getStoreConfig('catalog/price_factor/show_minimal_price') == 0){
|
app/code/community/Psquared/PriceFactor/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Psquared_PriceFactor>
|
| 5 |
-
<version>1.0.
|
| 6 |
</Psquared_PriceFactor>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Psquared_PriceFactor>
|
| 5 |
+
<version>1.0.1</version>
|
| 6 |
</Psquared_PriceFactor>
|
| 7 |
</modules>
|
| 8 |
<global>
|
app/etc/modules/Psquared_PriceFactor.xml
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
<Psquared_PriceFactor>
|
| 5 |
<active>true</active>
|
| 6 |
<codePool>community</codePool>
|
| 7 |
-
<version>1.0.
|
| 8 |
</Psquared_PriceFactor>
|
| 9 |
</modules>
|
| 10 |
</config>
|
| 4 |
<Psquared_PriceFactor>
|
| 5 |
<active>true</active>
|
| 6 |
<codePool>community</codePool>
|
| 7 |
+
<version>1.0.1</version>
|
| 8 |
</Psquared_PriceFactor>
|
| 9 |
</modules>
|
| 10 |
</config>
|
package.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Psquared_PriceFactor</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
-
<license uri="http://
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Define a price factor in the system configuration which is multiplied with all product prices.</summary>
|
|
@@ -13,15 +13,12 @@ Features:
|
|
| 13 |
- Enable or disable price factor
|
| 14 |
- Define a price factor as integer or decimal. Values between 0 and 1 reduce the price. Values greater than 1 increase the final price.
|
| 15 |
- Disable the default minimal price in frontend for price factors lower than 1.
|
| 16 |
-
- Cart clearing to prevent wrong price factors by adding products and switching to another store view
|
| 17 |
-
|
| 18 |
-
GitHub Repository:
|
| 19 |
-
https://github.com/patrickbaber/Psquared_PriceFactor</description>
|
| 20 |
-
<notes>Initial Release</notes>
|
| 21 |
<authors><author><name>p squared</name><user>p_squared</user><email>realityfforce@yahoo.de</email></author></authors>
|
| 22 |
-
<date>2013-
|
| 23 |
-
<time>
|
| 24 |
-
<contents><target name="magecommunity"><dir name="Psquared"><dir name="PriceFactor"><dir name="Block"><dir name="Product"><file name="Price.php" hash="
|
| 25 |
<compatible/>
|
| 26 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
| 27 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Psquared_PriceFactor</name>
|
| 4 |
+
<version>1.0.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
+
<license uri="http://opensource.org/licenses/gpl-license.php">GPL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Define a price factor in the system configuration which is multiplied with all product prices.</summary>
|
| 13 |
- Enable or disable price factor
|
| 14 |
- Define a price factor as integer or decimal. Values between 0 and 1 reduce the price. Values greater than 1 increase the final price.
|
| 15 |
- Disable the default minimal price in frontend for price factors lower than 1.
|
| 16 |
+
- Cart clearing to prevent wrong price factors by adding products and switching to another store view.</description>
|
| 17 |
+
<notes>- Fixed misconfiguration in the config file of the extenion</notes>
|
|
|
|
|
|
|
|
|
|
| 18 |
<authors><author><name>p squared</name><user>p_squared</user><email>realityfforce@yahoo.de</email></author></authors>
|
| 19 |
+
<date>2013-05-10</date>
|
| 20 |
+
<time>09:55:21</time>
|
| 21 |
+
<contents><target name="magecommunity"><dir name="Psquared"><dir name="PriceFactor"><dir name="Block"><dir name="Product"><file name="Price.php" hash="e44db0da6a54ceb5d18770e6e44642b6"/></dir></dir><dir name="Helper"><file name="Data.php" hash="38561dbde0ffc73d964f8915f2d98c88"/></dir><dir name="Model"><file name="Observer.php" hash="7cf46bb5278223b436647ffdd68b0ca4"/></dir><dir name="etc"><file name="config.xml" hash="5c2fe532ea5000a34847af31b429667e"/><file name="system.xml" hash="d81fefca824a94907d6f0d49c41a5fa9"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Psquared_PriceFactor.xml" hash="248a199e24c7b618cfe0aafa91e3710a"/></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Psquared_PriceFactor.csv" hash="6f857928a8cd7f7f7a7c512116483c64"/></dir></dir></target></contents>
|
| 22 |
<compatible/>
|
| 23 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
| 24 |
</package>
|
