User Login
Latest Technology Articles
- PCinvent Studio Programming Solutions
- Fedora Core 12 YumEx Problem
- VMware Guest Wide Screen Resolution Problem
- DD-WRT Router Firmware
- OpenVPN AS Client Installation Problem Fix
- Redhat Yum problem
- File Server Solution
- Old C++ Project of ATM Machine
- My Research and Project of the Reversed Array List (Reversed Index Array List)
- My Research of Linear Data Structure
| Virtuemart E-commerce Report Status Enhancement |
|
|
| Monday, 04 February 2008 | |
|
This week I helped http://www.kroeshaar.com to enhancement its virtuemart backend to have the report filter by the order status. Also I did a modification that will pop up a alert when the order status or notify customer by e-mail has been changed. Here is the code that I wrote......
Virtuemart Report Status Enhancement Open the php file
around lin22, under $interval = mosGetParam( $_REQUEST, "interval", "byMonth" ); add this
around line 174, under $end_date = mktime(23,59,59,date("n")+1,0,date("Y")); $interval = "byMonth"; add this
around line203, under $query_between_line = "WHERE cdate BETWEEN '" . $start_date . "' AND '" . $end_date . "' "; add this
around line, under
add this table row
Now, you will see the exactly result shown in the screenshot below.
Comments (9)
![]() written by Mori, February 06, 2008
Thanks for your sharing. This is the one I am looking for.
written by mark, December 15, 2008
Great idea! Thanks for the code.
A small tweak will get it working --- CHANGE: written by mark, December 15, 2008
change:
written by mark, December 15, 2008
Sorry about the double post - I was figuring the HTML would have been converted to entities. Here's the correction need to get the code working....
change: >input type="radio" id="orderCanceleld" name="order_status" value="orderCanceleld" >?php if($order_status=="orderCanceleld") echo "checked='checked'" ?< /< to: >input type="radio" id="orderCancelled" name="order_status" value="orderCancelled" >?php if($order_status=="orderCancelled") echo "checked=´checked´" ?< /< written by mark, December 15, 2008
oops, of course change the > and < around
written by J`eff, April 05, 2009
I can't program, but this is just what I was thinking,
I am in taiwan, and thanks for the code. Write comment
Tags: Virtuemart Report Status Enhancement Virtuemart Report kroeshaar.com E-commerce Report Status Virtuemart |
|
| Last Updated ( Monday, 24 March 2008 ) |
| < Prev | Next > |
|---|







