Magento 1.9.1
Porto theme
I have added an extra step in the check-out by installing this:
https://github.com/tmhub/suggestpage
This page comes up after the product details page.
I have spent many (many) hours in an effort to display products on there. The idea is to offer up-sell products there (I'm using the word "up-sell" as business jargon here rather than Magento terminology).
Here are my previous posts regarding this very issue. None of the solutions suggested in them worked:
How to add a custom page with cross-sell products
It is so hard for me to believe that it is so very difficult to make products appear on a page within Magento....All I need to do is display a group of products on the extra step of the check-out - I don't really care if these be products from a category, products that have the Featured attribute selected or any other way that will accomplish this.
Here is my IndexController.php file (which dictates what shows up on the extra check-out step page):
class TM_SuggestPage_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
$this->loadLayout()
->_initLayoutMessages('checkout/session')
->_initLayoutMessages('catalog/session');
$block2 = $this->getLayout()->createBlock('checkout/cart_coupon')->setTemplate('checkout/cart/coupon.phtml');
$this->getLayout()->getBlock('content')->append($block2);
$_product = Mage::getModel('catalog/product')->load(100);
$block = $this->getLayout()->createBlock('checkout/cart_crosssell')->setProduct($_product)->setTemplate('checkout/cart/crosssell.phtml'); $this->getLayout()->getBlock('content')->append($block);
$this->renderLayout();
}
}