Have you ever create a really good looking interactive map using HTML5 and jQuery? MigrationsMap.net allows you to see for every country X in the world either the top ten providing countries of lifetime migrants to X or the top ten receiving countries of lifetime migrants from X. On top of that, when you let … Continue Reading
Monthly Archives
November 2011
How to List Orders by Order Status using Magento API
Magento Core API allows us to retrieve the Orders Placed in a Magento Store. In this example we will be filtering the orders based on its status. Magento Webservices allows us to use Both Soap and XMLRPC for accessing the Core API, for this example i have used both in the below code snippet.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<?php $soapclient = new SoapClient('http://example.com/api/soap/?wsdl'); $sessionId = $soapclient->login('YourAPIUser', 'YourAPIKey'); //Webservice User and API Key // Getting Order listing by Order Status // Example Usage: array('eq' => 'canceled') , array('eq' => 'processing'),array('eq' => 'complete') try { $orders = $soapclient->call($sessionId, 'sales_order.list', array(array('status' => array('eq' => 'pending')))); foreach ($orders as $order) { echo "OrderId:" . $order['order_id'] . " "; } } catch (Exception $fault) { echo $fault->getMessage(); } ?> |
Live typing text ticker with jQuery
jTicker takes an elements’ children and displays them one by one, in sequence, writing their text ‘ticker tape’ style. It is smart enough to ticker text from an element heirarchy, inserting elements back into the DOM tree as it needs them. That means almost any content can be ‘tickered’. jTicker handles any number of alternating … Continue Reading
Good Image Boxes Grid with jQuery plugin
Would you like to create a template with a fullscreen grid of images and content areas? The idea is to have a Draggable Image Boxes Grid that shows boxes of thumbnails and menu like items. Once clicked, the thumbnail will expand to the full size image and the menu item box will expand to a … Continue Reading