Version Notes
Tested in Magento 1.5 - 1.7.0.2
Download this release
Release Info
Developer | James Harrison |
Extension | Bliss_Crosssellcategory |
Version | 1.0.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0.0 to 1.0.0.1
app/code/community/Bliss/Crosssellcategory/Block/Cart/Crosssell.php
CHANGED
@@ -50,7 +50,7 @@ class Bliss_Crosssellcategory_Block_Cart_Crosssell extends Mage_Checkout_Block_C
|
|
50 |
if (count($items) < $this->_maxItemCount) {
|
51 |
$filterProductIds = array_merge($this->_getCartProductIds(), $this->_getCartProductIdsRel());
|
52 |
$collection = $this->_getOverrideCollection()
|
53 |
-
->addIdFilter($
|
54 |
->setPageSize($this->_maxItemCount-count($items))
|
55 |
->load();
|
56 |
foreach ($collection as $item) {
|
50 |
if (count($items) < $this->_maxItemCount) {
|
51 |
$filterProductIds = array_merge($this->_getCartProductIds(), $this->_getCartProductIdsRel());
|
52 |
$collection = $this->_getOverrideCollection()
|
53 |
+
->addIdFilter($filterProductIds,true)
|
54 |
->setPageSize($this->_maxItemCount-count($items))
|
55 |
->load();
|
56 |
foreach ($collection as $item) {
|
app/code/community/Bliss/Crosssellcategory/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Bliss_Crosssellcategory>
|
5 |
-
<version>1.0.0.
|
6 |
</Bliss_Crosssellcategory>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Bliss_Crosssellcategory>
|
5 |
+
<version>1.0.0.1</version>
|
6 |
</Bliss_Crosssellcategory>
|
7 |
</modules>
|
8 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Bliss_Crosssellcategory</name>
|
4 |
-
<version>1.0.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -10,10 +10,10 @@
|
|
10 |
</summary>
|
11 |
<description>Manually assigning crosssell products in your catalog can be time consuming - this extension lets you use products from a designated category instead.</description>
|
12 |
<notes>Tested in Magento 1.5 - 1.7.0.2</notes>
|
13 |
-
<authors><author><name>James Harrison</name><user>jharrisonau</user><email>jharrison.au@gmail.com</email></author></authors>
|
14 |
<date>2013-02-11</date>
|
15 |
-
<time>
|
16 |
-
<contents><target name="magecommunity"><dir name="Bliss"><dir name="Crosssellcategory"><dir name="Block"><dir name="Cart"><file name="Crosssell.php" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Checkout</name><channel>community</channel><min></min><max></max></package></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Bliss_Crosssellcategory</name>
|
4 |
+
<version>1.0.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
10 |
</summary>
|
11 |
<description>Manually assigning crosssell products in your catalog can be time consuming - this extension lets you use products from a designated category instead.</description>
|
12 |
<notes>Tested in Magento 1.5 - 1.7.0.2</notes>
|
13 |
+
<authors><author><name>James Harrison</name><user>jharrisonau</user><email>jharrison.au@gmail.com</email></author><author><name>Bliss Media</name><user>phonho</user><email>phong@blissmedia.com.au</email></author></authors>
|
14 |
<date>2013-02-11</date>
|
15 |
+
<time>05:29:13</time>
|
16 |
+
<contents><target name="magecommunity"><dir name="Bliss"><dir name="Crosssellcategory"><dir name="Block"><dir name="Cart"><file name="Crosssell.php" hash="7081184aa7c8f7346f7938426fad78c0"/></dir><file name=".DS_Store" hash="14afb1a1943dbda5e10352e586a0761b"/></dir><dir name="etc"><file name="config.xml" hash="990118e837292b894e347683a8f6642a"/><file name="system.xml" hash="499322e216b75d37f8a737e31269afe8"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Bliss_Crosssellcategory.xml" hash="34e1fc59aa8fd2b5b00846d9feeb4ad6"/></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Checkout</name><channel>community</channel><min></min><max></max></package></required></dependencies>
|
19 |
</package>
|