View Single Post
  #8  
Old 06-01-2011, 05:54 AM
 
dmpinder dmpinder is offline
 

Advanced Member
  
Join Date: Jun 2009
Posts: 86
 

Default Re: Adding Featured Products to a Static Page

Quote:
But how do I pass the category parameter to the module?

The best way I found to do this method so far is to write conditional if statement in the pages.php file similar to the following:

Code:
if ($pageid == '10') { $cat="103"; }; include './featured_products.php';

Hope this helps

Darren
__________________
Darren

X-Cart Gold 4.3.1
Reply With Quote