Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
<?php | |
umask(0); | |
ini_set('memory_limit','512M'); | |
set_time_limit(0); | |
if(file_exists('app/Mage.php')) require 'app/Mage.php'; | |
else require '../../app/Mage.php'; | |
// Init without cache so we get a fresh version | |
Mage::app('admin','store', array('global_ban_use_cache' => TRUE)); |
### Events during order submit process | |
`core_copy_fieldset_customer_account_to_quote` | |
`core_copy_fieldset_sales_convert_quote_to_order` | |
`sales_convert_quote_to_order` | |
`core_copy_fieldset_sales_convert_quote_address_to_order` | |
`sales_convert_quote_address_to_order` | |
`core_copy_fieldset_sales_convert_quote_address_to_order_address` | |
`sales_convert_quote_address_to_order_address` |
#!/bin/bash | |
function switch_files { | |
mv $1.png $1.tmp.png | |
mv $1-inverse.png $1.png | |
mv $1.tmp.png $1-inverse.png | |
mv [email protected] [email protected] | |
mv [email protected] [email protected] | |
mv [email protected] [email protected] | |
} |
# First, enable SSH in the Administration->System tab. | |
# Then log in to the device. | |
# Verify that https_crt_save is off | |
admin@RT-N66U:/tmp/home/root# nvram get https_crt_save | |
0 | |
# Enable https_crt_save and verify that it was set correctly | |
admin@RT-N66U:/tmp/home/root# nvram set https_crt_save=1 | |
admin@RT-N66U:/tmp/home/root# nvram get https_crt_save |
/** | |
* Abstract rule condition based on properties | |
*/ | |
abstract class EcomDev_Rule_Model_Rule_Condition_Abstract extends Mage_Rule_Model_Condition_Abstract | |
{ | |
protected $_properties = null; | |
/** | |
* Should return a label of the current condition | |
* |
#!/usr/bin/perl | |
use strict; | |
use Proc::Simple; | |
use Proc::Killall; | |
use Time::localtime; | |
use LWP::Simple qw($ua getstore); | |
$ua->agent(""); | |
use Mozilla::CA; |
<?php | |
/** | |
* SupportDesk_FixAcl.php v1.1 | |
* SupportDesk (www.supportdesk.nu) | |
* 10/7/2015 | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* It is available through the world-wide-web at this URL: |