above extension add extra page after cart and that page you will add these code and you will get cross-sell product data
change your indexController indexAction as below
public function indexAction()
{
$this->loadLayout()
->_initLayoutMessages('checkout/session')
->_initLayoutMessages('catalog/session');
$_product = Mage::getModel('catalog/product')->load(1); //here 1 is product Id
$block = $this->getLayout()->createBlock('checkout/cart_crosssell')->setProduct($_product)->setTemplate('checkout/cart/crosssell.phtml');
$this->getLayout()->getBlock('content')->append($block);
$this->renderLayout();
}
and for your 4 product issue please check in your app/design/frontend/YourPackge/YourTheme/checkout/cart/crosssell.phtml file any condition who breaks for loop after four product then change it.
to increase limit for cross-sell product follow this quick step
1) copy app/code/core/Mage/Checkout/Block/Cart/Crosssell.php file to app/code/local/Mage/Checkout/Block/Cart/Crosssell.php
2) find this line and increase limit as per your need protected $_maxItemCount = 4;
Best Answer
Try this module:
File :
app\etc\modules\Rkt_CrossSell.xml
File :
app\code\community\Rkt\CrossSell\etc\config.xml
File :
app\code\community\Rkt\CrossSell\Block\Catalog\Product\View\Crosssell.php
File :
app\code\community\Rkt\CrossSell\Helper\Data.php
File :
app\design\frontend\base\default\layout\rkt_crossell.xml
Now in your
view.phtml
add this code in the appropriate positionNow clear your cache. Double check evey file name and file paths are correct. Then you are good to go.