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

Adding 7 days to orders management searches

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 01-14-2008, 09:27 PM
 
expert47 expert47 is offline
 

Senior Member
  
Join Date: Feb 2006
Posts: 101
 

Default Re: Adding 7 days to orders management searches

Sportruck,

YOU ROCK..

Thanks!
__________________
Expert47
(Marty)
X-cart ver 4.0.17 retired
X-Cart ver 4.1.8 Moved to new server! Operating Mucho Better
X-AOM (Love it!!)
X-cart 4.4.3 finally in test ..! Help!
Reply With Quote
  #12  
Old 02-13-2011, 08:22 PM
 
expert47 expert47 is offline
 

Senior Member
  
Join Date: Feb 2006
Posts: 101
 

Default Re: Adding 7 days to orders management searches

Hey Gang..

Well, i finally bit the bullet and installed 4.4.3..!

Looks like a lot of new stuff to tinker with.. But oddly, as handy as this mod was several years ago, xcart never added it to the new versions!

So, my question is will the same code work or is it totally different? The admin interface is a lot different,so im guessing it's different.

But I use last 7 every day.. would love to get it recoded to the new stuff! Anyone able to do this?

Ex
__________________
Expert47
(Marty)
X-cart ver 4.0.17 retired
X-Cart ver 4.1.8 Moved to new server! Operating Mucho Better
X-AOM (Love it!!)
X-cart 4.4.3 finally in test ..! Help!
Reply With Quote
  #13  
Old 04-18-2012, 09:42 PM
 
vital vital is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 3
 

Default Re: Adding 7 days to orders management searches

Implemented and working fine in 4.2.2. Thanks to the original owner.

I also added in a last 30 day option, with the following in order.tpl:

Quote:
<td width="5"><input type="radio" id="date_period_30" name="posted_data[date_period]" value="30"{if $search_prefilled.date_period eq "30"} checked="checked"{/if} onclick="javascript:managedate('date',true)" /></td>
<td class="OptionLabel"><label for="date_period_30">Last Thirty (30) Days</label></td>
Reply With Quote
  #14  
Old 04-23-2012, 03:28 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Adding 7 days to orders management searches

Quote:
Originally Posted by vital
Implemented and working fine in 4.2.2. Thanks to the original owner.

I also added in a last 30 day option, with the following in order.tpl:

We use this mod, much easier.
http://forum.x-cart.com/showthread.php?t=45343
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #15  
Old 04-24-2012, 01:48 AM
 
vital vital is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 3
 

Default Re: Adding 7 days to orders management searches

Thanks JWait but my option of 3 lines of code as opposed to the number of editing you suggest is far easier.
__________________
X-Cart Gold 4.2
AOM
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 02:20 AM.

   

 
X-Cart forums © 2001-2020