23 Nov 2012, 8:27 AM
Zen Follower
- Join Date:
- Apr 2012
- Posts:
- 151
- Plugin Contributions:
- 0
Started by linjuming on 23 Nov 2012, 8:27 AM · Views: 1,645
Zen Follower
Administrator
You could try
$sql_query = "SELECT orders_status_id
FROM " . TABLE_ORDERS_STATUS . "
WHERE orders_status_name = 'Pending'
AND language_id='1'";
$sql_result= $db->Execute($sql_query);
Note that I added the language_id, too, just in case you've got a multilingual store.
Zen Follower
thank you very much
Tell staff why this post should be reviewed.