X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Adding 7 days to orders management searches (https://forum.x-cart.com/showthread.php?t=34437)

expert47 01-14-2008 09:27 PM

Re: Adding 7 days to orders management searches
 
Sportruck,

YOU ROCK..

Thanks!

expert47 02-13-2011 08:22 PM

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

vital 04-18-2012 09:42 PM

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>

JWait 04-23-2012 03:28 PM

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

vital 04-24-2012 01:48 AM

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.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.