./mage config-set preferred_state stable
./mage clear-cache
./mage sync
./mage download community Module_Name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Class Extra_Static_Model_Observer | |
| * | |
| * @category Model | |
| * @package Extra_Static | |
| * @author AOE Magento Team <team-magento@aoe.com> | |
| * @license none none | |
| * @link www.aoe.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Generate modman file from Magento Connect 2.0 package.xml | |
| * | |
| * Usage: | |
| * | |
| * php package2modman.php path/to/package.xml > path/to/modman | |
| * | |
| */ | |
| require_once(__DIR__ . "/../www/app/Mage.php"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| set_time_limit(0); | |
| $pathTo = '../../'; | |
| $magentoFilename = $pathTo . 'app/Mage.php'; | |
| require_once $magentoFilename; | |
| umask(0); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| default> | |
| <reference name="root"> | |
| <reference name="head"> | |
| <action method="addCss"><stylesheet>css/custom.css</stylesheet></action> | |
| <block type="core/text" name="google.font.oswald"> | |
| <action method="setText"> | |
| <text><![CDATA[<link href='http://fonts.googleapis.com/css?family=Oswald:400,700,300' rel='stylesheet' type='text/css'>]]></text> | |
| </action> | |
| </block> | |
| </reference> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once 'abstract.php'; | |
| class Mage_Shell_CheckImages extends Mage_Shell_Abstract | |
| { | |
| const CATALOG_PRODUCT = '/catalog/product'; | |
| const CACHE = '/cache/'; | |
| protected function _glob_recursive($pattern, $flags = 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Created by JetBrains PhpStorm. | |
| * User: npreuss | |
| * Date: 3/25/13 | |
| * Time: 12:53 PM | |
| * To change this template use File | Settings | File Templates. | |
| */ | |
| require_once 'app/Mage.php'; | |
| umask( 0 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $this->db_access->write("DB_NAME", "UPDATE `cataloginventory_stock_item` SET `qty` = '".$qty."', `is_in_stock` = '".$is_in_stock."' WHERE `product_id` = '".$product_id."'"); | |
| $this->db_access->write("DB_NAME", "UPDATE `cataloginventory_stock_status` SET `qty` = '".$qty."',`stock_status` = '".$is_in_stock."' WHERE `product_id` = '".$product_id."'"); | |
| get_id_by_sku: $id = $this->db_access->read("DB_NAME", "SELECT `entity_id` FROM `catalog_product_entity` WHERE | |
| `sku` = '".$sku."' LIMIT 1"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "require": { | |
| "connect20/dsdata_nostate": "*", | |
| "therouv/debitpayment": "*", | |
| "connect20/bankpayment": "*", | |
| "connect20/locale_mage_community_de_de": "*", | |
| "magento-hackathon/magento-composer-installer": "*", | |
| "colinmollenhour/cache-backend-redis": "*", | |
| "colinmollenhour/redis-session": "*", | |
| "firegento/germansetup": "*", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL | |
| mysql -u <dbuser> -p | |
| update core_config_data set value = 'http://mydomain/' where path = 'web/unsecure/base_url'; | |
| update core_config_data set value = 'http://mydomain/' where path = 'web/secure/base_url'; |
OlderNewer