Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Limit Date range of New Products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-11-2010, 10:08 AM
 
glooper glooper is offline
 

Newbie
  
Join Date: Oct 2009
Posts: 8
 

Default Limit Date range of New Products

Hello,

I'm trying to figure out how to limit the date range of items showing in the New Products section on the home page.

Right now it shows all of the products, not just the latest additions to the store.

Here is the code from the welcome.tpl dealing with the New Products section.

PHP Code:
{capture name=dialog}
{include 
file="customer/main/products.tpl"}
{/
capture}
{include 
file="customer/dialog.tpl" title="New Products" content=`$smarty.capture.dialogproducts_sort_url="home.php?cat=`$cat`&"

I would like to be able to limit it to the last month of products added to the store.

My site is: http://store.gingerscraps.net

Thanks in advance for any help or suggestions that you may give.
__________________
X-Cart Classic Pro 4.6.1
Reply With Quote
  #2  
Old 01-15-2010, 10:21 AM
 
glooper glooper is offline
 

Newbie
  
Join Date: Oct 2009
Posts: 8
 

Default Re: Limit Date range of New Products

Can anyone help me with this?
__________________
X-Cart Classic Pro 4.6.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:26 AM.

   

 
X-Cart forums © 2001-2020