<?php
require_once '../app/Mage.php';
Varien_Profiler::enable();
This file contains 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
<!-- Add to the package layout (via local.xml or however you prefer) --> | |
<!-- Also, best to remove before deployment, as some users report --> | |
<!-- it makes IE 7 crash --> | |
<default> | |
<reference name="content"> | |
<block type="core/text" name="fix.console" as="fix.console"> | |
<action method="setText"> | |
<text><![CDATA[<script type="text/javascript"> | |
iframe = document.createElement('iframe'); | |
iframe.style.display = 'none'; |
URL: http://alanstorm.com/magento_attribute_migration_generator
#/usr/bin/env php
<?php
This file contains 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 | |
define( 'USERNAME', 'new.user' ); | |
define( 'PASSWORD', 'password' ); | |
define( 'FIRSTNAME', 'Excited' ); | |
define( 'LASTNAME', 'Croc' ); | |
define( 'EMAIL', '[email protected]' ); | |
include_once( 'app/Mage.php' ); | |
Mage::app( 'admin' ); | |
try { |
This file contains 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
SET FOREIGN_KEY_CHECKS = 0; | |
TRUNCATE TABLE catalog_product_bundle_option; | |
TRUNCATE TABLE catalog_product_bundle_option_value; | |
TRUNCATE TABLE catalog_product_bundle_price_index; | |
TRUNCATE TABLE catalog_product_bundle_selection; | |
TRUNCATE TABLE catalog_product_bundle_selection_price; | |
TRUNCATE TABLE catalog_product_bundle_stock_index; | |
TRUNCATE TABLE catalog_product_enabled_index; | |
TRUNCATE TABLE catalog_product_entity; |
OlderNewer