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 Namespace_ProductExport extends Mage_Shell_Abstract | |
{ | |
protected $_io; | |
protected $_folder = 'exports'; | |
protected $_name = 'ProductExport.csv'; | |
protected $_delimiter = ','; |
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
<h1>Ignore fields per table</h1> | |
<form method="post"> | |
<label>Fields</label> | |
<input type="text" name="fields"> | |
<label>Table</label> | |
<input type="text" name="table"> | |
<input type="submit"> | |
</form> | |
<?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
-- this script is to be used on a DB dump from production | |
-- then this db can be dumped again, and used to override | |
-- a sample magento DB to add pepejeans catalog data and | |
-- sample configuration for dev VM | |
-- truncated tables will be truncated in magento db | |
-- dropped tables in this script will leave default magentodb tables | |
-- this script clears indexes, so the final db should be taken after reindexing in magento | |
SET foreign_key_checks = 0; |