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 | |
namespace IntegerNet\CustomAttributeTest\Console\Command; | |
use Magento\Catalog\Model\Product; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Magento\Catalog\Model\ResourceModel\Product\Collection as ProductCollection; | |
use Magento\Catalog\Model\ResourceModel\Product\CollectionFactory as ProductCollectionFactory; | |
class ProductCollectionCommand extends \Symfony\Component\Console\Command\Command |
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
"firegento/magesetup" | |
"firegento/pdf" | |
"avstudnitz/scopehint" | |
"avstudnitz/admin-notification-advanced" | |
"integer-net/removecustomeraccountlinks" | |
"magento-hackathon/hackathon_magemonitoring" | |
"magento-hackathon/indexer-stats" | |
"aoepeople/aoe_scheduler" |
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
SELECT | |
CONCAT('ALTER TABLE ', u1.table_name, ' ADD CONSTRAINT ', u1.CONSTRAINT_NAME, ' FOREIGN KEY (', u1.column_name, ') REFERENCES ', u1.referenced_table_name, ' (', u1.referenced_column_name, ') ON DELETE CASCADE ON UPDATE CASCADE;') as 'sql_query' | |
FROM information_schema.key_column_usage u1 | |
LEFT JOIN information_schema.key_column_usage u2 | |
ON | |
u1.table_name = u2.table_name | |
AND u1.column_name = u2.column_name | |
AND u2.table_schema = 'magento_dest' | |
AND u2.referenced_table_name IS NOT NULL | |
WHERE |
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 | |
class MyCompany_MyModule_Model_Type_Onepage extends Mage_Checkout_Model_Type_Onepage | |
{ | |
/** | |
* Save billing address information to quote | |
* This method is called by One Page Checkout JS (AJAX) while saving the billing information. | |
* | |
* @param array $data | |
* @param int $customerAddressId | |
* @return Mage_Checkout_Model_Type_Onepage |