9 edited tags
| link
8 added 346 characters in body
source | link

 

-----------------------------------------------------------------------------

Edited on January 26th: This has not been resolved! I ended up rewarding the bounty to a person with the longest answer but the products are not showing up on the extra page. I will ask this same thing in another question (this post no longer allows me to start new bounties).


 

-----------------------------------------------------------------------------

Edited on January 26th: This has not been resolved! I ended up rewarding the bounty to a person with the longest answer but the products are not showing up on the extra page. I will ask this same thing in another question (this post no longer allows me to start new bounties).

7 added 1468 characters in body
source | link

-----------------------------------------------------------------------------

Second update on January 23rd, 2018:

As per mskhan's post I:

A. Created a new Static block called upsells with the following code inside:

{{block type="filterproducts/featured_home_list" name="featured_list" product_count="12" column_count="4" template="filterproducts/grid.phtml"}}

B. Then I modified my IndexController.php file to show this:

<?php

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('cms/block')->setBlockId('upsells')->toHtml();

$this->renderLayout();
    }
}

The good news is - it doesn't show any Errors but the bad news is - it doesn't show any Featured/up-sell products either! Any idea what may be wrong with this setup?


-----------------------------------------------------------------------------

Second update on January 23rd, 2018:

As per mskhan's post I:

A. Created a new Static block called upsells with the following code inside:

{{block type="filterproducts/featured_home_list" name="featured_list" product_count="12" column_count="4" template="filterproducts/grid.phtml"}}

B. Then I modified my IndexController.php file to show this:

<?php

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('cms/block')->setBlockId('upsells')->toHtml();

$this->renderLayout();
    }
}

The good news is - it doesn't show any Errors but the bad news is - it doesn't show any Featured/up-sell products either! Any idea what may be wrong with this setup?


6 added 3418 characters in body
source | link
    Notice removed Draw attention by Allysin
    Bounty Ended with Pedram Behroozi's answer chosen by Allysin
    Notice added Draw attention by Allysin
    Bounty Started worth 100 reputation by Allysin
5 added 255 characters in body
source | link
4 added 989 characters in body
source | link
3 edited tags
| link
2 added 128 characters in body
source | link
1
source | link