View Single Post
  #3  
Old 01-29-2007, 12:36 PM
 
skipmartin skipmartin is offline
 

Advanced Member
  
Join Date: Oct 2003
Posts: 30
 

Default Re: Adding Featured Products to a Static Page

Here is a quick way to do it

Modify pages.php:
Code:
require "./auth.php"; require $xcart_dir."/include/categories.php"; include "./featured_products.php"; // ADD THIS LINE x_load('files');

and then in your static page, insert:
Code:
{include file="customer/main/featured.tpl" f_products=$f_products}

and be sure you have "Parse Smarty tags in the content of embedded pages" checked in the admin site.
__________________
Andy Melichar, Tech Director - REBEL INTERACTIVE -
andy@rebel-interactive.com - X-Cart version 4.1.3
Reply With Quote