Version Notes
Please contact our support desk if you have any problems.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Mage_Codi |
Version | 4.1.4 |
Comparing to | |
See all releases |
Code changes from version 4.1.3 to 4.1.4
app/code/community/Mage/CodiScript/Model/Files.php
CHANGED
@@ -375,7 +375,7 @@ memory_get_usage ".memory_get_usage()." / ".memory_get_usage(TRUE)."
|
|
375 |
$ItemAttributes .= "Special Price To Date=".substr( $SToDate, 0, 10 );
|
376 |
}
|
377 |
}
|
378 |
-
if( $ProdSpecGroupPrices ){
|
379 |
foreach( $ProdSpecGroupPrices as $groupPrice ){
|
380 |
$price = 0.0 + $groupPrice[ 'price' ];
|
381 |
if( $price >= 0 && $this->includetaxes )
|
@@ -672,7 +672,7 @@ memory_get_usage ".memory_get_usage()." / ".memory_get_usage(TRUE)."
|
|
672 |
$ItemAttributes .= "Special Price To Date=".substr( $SToDate, 0, 10 );
|
673 |
}
|
674 |
}
|
675 |
-
if( $SpecGroupPrices ){
|
676 |
foreach( $SpecGroupPrices as $groupID => $price ){
|
677 |
if( $price >= 0 && $this->includetaxes )
|
678 |
$price = $this->taxhelper->getPrice( $UsedProduct, $price, true );
|
@@ -979,7 +979,7 @@ memory_get_usage ".memory_get_usage()." / ".memory_get_usage(TRUE)."
|
|
979 |
$ItemAttributes .= "Special Price To Date=".substr( $ProdSToDate, 0, 10 );
|
980 |
}
|
981 |
}
|
982 |
-
if( $ProdSpecGroupPrices ){
|
983 |
foreach( $ProdSpecGroupPrices as $groupPrice ){
|
984 |
$price = 0.0 + $groupPrice[ 'price' ];
|
985 |
if( $price >= 0 && $this->includetaxes )
|
375 |
$ItemAttributes .= "Special Price To Date=".substr( $SToDate, 0, 10 );
|
376 |
}
|
377 |
}
|
378 |
+
if( $this->getgroupprices && $ProdSpecGroupPrices ){
|
379 |
foreach( $ProdSpecGroupPrices as $groupPrice ){
|
380 |
$price = 0.0 + $groupPrice[ 'price' ];
|
381 |
if( $price >= 0 && $this->includetaxes )
|
672 |
$ItemAttributes .= "Special Price To Date=".substr( $SToDate, 0, 10 );
|
673 |
}
|
674 |
}
|
675 |
+
if( $this->getgroupprices && $SpecGroupPrices ){
|
676 |
foreach( $SpecGroupPrices as $groupID => $price ){
|
677 |
if( $price >= 0 && $this->includetaxes )
|
678 |
$price = $this->taxhelper->getPrice( $UsedProduct, $price, true );
|
979 |
$ItemAttributes .= "Special Price To Date=".substr( $ProdSToDate, 0, 10 );
|
980 |
}
|
981 |
}
|
982 |
+
if( $this->getgroupprices && $ProdSpecGroupPrices ){
|
983 |
foreach( $ProdSpecGroupPrices as $groupPrice ){
|
984 |
$price = 0.0 + $groupPrice[ 'price' ];
|
985 |
if( $price >= 0 && $this->includetaxes )
|
app/code/community/Mage/CodiScript/controllers/IndexController.php
CHANGED
@@ -53,6 +53,7 @@ if( $Class=="DataFile" ){
|
|
53 |
$ignoretopcategory = ( isset($_REQUEST["ignoretopcategory"]) && $_REQUEST["ignoretopcategory"] == "1" );
|
54 |
$includeshortdescription = ( isset($_REQUEST["includeshortdescription"]) && $_REQUEST["includeshortdescription"] == "1" );
|
55 |
$includelongdescription = ( isset($_REQUEST["includelongdescription"]) ? $_REQUEST["includelongdescription"] == "1" : TRUE );
|
|
|
56 |
$publishtieredpricing = ( isset($_REQUEST["publishtieredpricing"]) && $_REQUEST["publishtieredpricing"] == "1" );
|
57 |
$quantitylabel = isset($_REQUEST["quantitylabel"]) ? $_REQUEST["quantitylabel"] : "Quantity";
|
58 |
$pricelabel = isset($_REQUEST["pricelabel"]) ? $_REQUEST["pricelabel"] : "Price";
|
@@ -82,6 +83,7 @@ if( $Class=="DataFile" ){
|
|
82 |
ignoretopcategory=".$ignoretopcategory."
|
83 |
includeshortdescription=".$includeshortdescription."
|
84 |
includelongdescription=".$includelongdescription."
|
|
|
85 |
publishtieredpricing=".$publishtieredpricing."
|
86 |
quantitylabel=".$quantitylabel."
|
87 |
pricelabel=".$pricelabel."
|
@@ -160,6 +162,7 @@ if($Class=="DataFile"){
|
|
160 |
$cfModel->ignoretopcategory = $ignoretopcategory;
|
161 |
$cfModel->includeshortdescription = $includeshortdescription;
|
162 |
$cfModel->includelongdescription = $includelongdescription;
|
|
|
163 |
$cfModel->publishtieredpricing = $publishtieredpricing;
|
164 |
$cfModel->quantitylabel = $quantitylabel;
|
165 |
$cfModel->pricelabel = $pricelabel;
|
53 |
$ignoretopcategory = ( isset($_REQUEST["ignoretopcategory"]) && $_REQUEST["ignoretopcategory"] == "1" );
|
54 |
$includeshortdescription = ( isset($_REQUEST["includeshortdescription"]) && $_REQUEST["includeshortdescription"] == "1" );
|
55 |
$includelongdescription = ( isset($_REQUEST["includelongdescription"]) ? $_REQUEST["includelongdescription"] == "1" : TRUE );
|
56 |
+
$getgroupprices = ( isset($_REQUEST["getgroupprices"]) && $_REQUEST["getgroupprices"] == "1" );
|
57 |
$publishtieredpricing = ( isset($_REQUEST["publishtieredpricing"]) && $_REQUEST["publishtieredpricing"] == "1" );
|
58 |
$quantitylabel = isset($_REQUEST["quantitylabel"]) ? $_REQUEST["quantitylabel"] : "Quantity";
|
59 |
$pricelabel = isset($_REQUEST["pricelabel"]) ? $_REQUEST["pricelabel"] : "Price";
|
83 |
ignoretopcategory=".$ignoretopcategory."
|
84 |
includeshortdescription=".$includeshortdescription."
|
85 |
includelongdescription=".$includelongdescription."
|
86 |
+
getgroupprices=".$getgroupprices."
|
87 |
publishtieredpricing=".$publishtieredpricing."
|
88 |
quantitylabel=".$quantitylabel."
|
89 |
pricelabel=".$pricelabel."
|
162 |
$cfModel->ignoretopcategory = $ignoretopcategory;
|
163 |
$cfModel->includeshortdescription = $includeshortdescription;
|
164 |
$cfModel->includelongdescription = $includelongdescription;
|
165 |
+
$cfModel->getgroupprices = $getgroupprices;
|
166 |
$cfModel->publishtieredpricing = $publishtieredpricing;
|
167 |
$cfModel->quantitylabel = $quantitylabel;
|
168 |
$cfModel->pricelabel = $pricelabel;
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mage_Codi</name>
|
4 |
-
<version>4.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Extension to connect to the Catalog-on-Demand service for making print catalogs, brochures, and flyers.</description>
|
11 |
<notes>Please contact our support desk if you have any problems.</notes>
|
12 |
<authors><author><name>catalogondemand</name><user>auto-converted</user><email>timh@catalog-on-demand.com</email></author></authors>
|
13 |
-
<date>2014-04-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Mage"><dir name="CodiScript"><dir name="Helper"><file name="Data.php" hash="3f99660cb06a9dc09f024b9993d43a3f"/></dir><dir name="Model"><file name="Files.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mage_Codi</name>
|
4 |
+
<version>4.1.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Extension to connect to the Catalog-on-Demand service for making print catalogs, brochures, and flyers.</description>
|
11 |
<notes>Please contact our support desk if you have any problems.</notes>
|
12 |
<authors><author><name>catalogondemand</name><user>auto-converted</user><email>timh@catalog-on-demand.com</email></author></authors>
|
13 |
+
<date>2014-04-14</date>
|
14 |
+
<time>21:54:05</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Mage"><dir name="CodiScript"><dir name="Helper"><file name="Data.php" hash="3f99660cb06a9dc09f024b9993d43a3f"/></dir><dir name="Model"><file name="Files.php" hash="f78c0934848688fd4182292eda9dd2ed"/></dir><dir name="controllers"><file name="IndexController.php" hash="2e93cf805b354d2b2215d8996098dd89"/></dir><dir name="etc"><file name="adminhtml.xml" hash="40ab0bd86928c5ba175988926a9f6aee"/><file name="config.xml" hash="b960e9bd106f0c94559baa2bc5761e18"/><file name="system.xml" hash="1b5e5b18bfdce6b85e304fb4ef877274"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_CodiScript.xml" hash="f0502cac7918fc798b3b02d3d4b7e7fd"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="codiscript.xml" hash="066f99333a6054e11943a75413f65ff0"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="codi"><file name="password_validation.js" hash="7223aeed118bb5774c73f951460ae0b0"/></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Mage_CodiScript.csv" hash="183fc591065ced83f878a4c3e23f854c"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|