Skip to main content
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
Source Link

I was able to gain the functionality that was missing by incorporating part of another stackexchange question (Cross-sell product is not showing in the product detail pageCross-sell product is not showing in the product detail page) to the original solution I used (Add Cross sell block on product pageAdd Cross sell block on product page).

Specifically, edit this file as follows: app\code\community\Rkt\CrossSell\Block\Catalog\Product\View\Crosssell.php

getData('items'); if (is_null($items)) { $items = $this->getProduct()->getCrossSellProductCollection() ->addAttributeToSelect(Mage::getSingleton('catalog/config')->getProductAttributes()) ->setPositionOrder() ->addStoreFilter(); $this->setData('items', $items); } return $items; } Hope this helps anyone who runs into the same problem I had.

I was able to gain the functionality that was missing by incorporating part of another stackexchange question (Cross-sell product is not showing in the product detail page) to the original solution I used (Add Cross sell block on product page).

Specifically, edit this file as follows: app\code\community\Rkt\CrossSell\Block\Catalog\Product\View\Crosssell.php

getData('items'); if (is_null($items)) { $items = $this->getProduct()->getCrossSellProductCollection() ->addAttributeToSelect(Mage::getSingleton('catalog/config')->getProductAttributes()) ->setPositionOrder() ->addStoreFilter(); $this->setData('items', $items); } return $items; } Hope this helps anyone who runs into the same problem I had.

I was able to gain the functionality that was missing by incorporating part of another stackexchange question (Cross-sell product is not showing in the product detail page) to the original solution I used (Add Cross sell block on product page).

Specifically, edit this file as follows: app\code\community\Rkt\CrossSell\Block\Catalog\Product\View\Crosssell.php

getData('items'); if (is_null($items)) { $items = $this->getProduct()->getCrossSellProductCollection() ->addAttributeToSelect(Mage::getSingleton('catalog/config')->getProductAttributes()) ->setPositionOrder() ->addStoreFilter(); $this->setData('items', $items); } return $items; } Hope this helps anyone who runs into the same problem I had.
Source Link

I was able to gain the functionality that was missing by incorporating part of another stackexchange question (Cross-sell product is not showing in the product detail page) to the original solution I used (Add Cross sell block on product page).

Specifically, edit this file as follows: app\code\community\Rkt\CrossSell\Block\Catalog\Product\View\Crosssell.php

getData('items'); if (is_null($items)) { $items = $this->getProduct()->getCrossSellProductCollection() ->addAttributeToSelect(Mage::getSingleton('catalog/config')->getProductAttributes()) ->setPositionOrder() ->addStoreFilter(); $this->setData('items', $items); } return $items; } Hope this helps anyone who runs into the same problem I had.