Drupal 7: Addressfield - Change the order of the inner fields
A request that often comes up is to change the order of the Addressfield fields.
Drupal 7 has the ability to run cron automatically, but if there are tasks that really depend on cron, it only makes sense to ensure that cron is running in pre-defined time spans.
To make sure of that, we can configure the drupal cron to run from a server side command. So from the console, In crontab, the following line will trigger Drupal's cron
If you do not want to use i18n_string and i18n_field in order to translate the Order total, Shipping & Billing Information texts, that show up in the cart and on the checkout pages when using Drupal Commerce, the following hacky approach should do the trick.
First, the following funcion can be used in your template.php file:
Code was taken from here.
Alternatively, a print_r should work just fine:
More info: http://php.net/manual/en/function.get-defined-vars.php