-
Download PhpLiteAdmin on the official website : https://www.phpliteadmin.org/download/
-
Add dowloaded files in a web/phpLiteAdmin/ folder
-
Create new sqlite.db file in app/
-
Change $directory default value to '../../app/' in phplite.php file
Simply remplace YOUR EMAIL and YOUR NAME. Be carefull, this command will change all head branch commits user.
$ git filter-branch -f --env-filter " GIT_AUTHOR_NAME='YOUR NAME'GIT_AUTHOR_EMAIL='YOUR EMAIL' GIT_COMMITTER_NAME='YOUR NAME' GIT_COMMITTER_EMAIL='YOUR EMAIL' " HEAD
Then, force push $ git push -f
- Install composer : https://getcomposer.org/download/
- Run new symfony project : https://symfony.com/download
composer create-project symfony/framework-standard-edition project_name 3.4
- Fill required informations (infos MySQL even if it's not mandatory)
- Test requirements :
- Install composer : https://getcomposer.org/download/
- Run new symfony project : https://symfony.com/download
composer create-project symfony/framework-standard-edition project_name 3.4
- Fill required informations (infos MySQL even if it's not mandatory)
- Test requirements :
- Go to your project root folder and run the command bellow :
if you want to reindex all data :
$ php shell/indexer.php --reindexall
if you want to reindex specific index :
$ php shell/indexer.php info
to show all index's name
$ php shell/indexer.php --reindex index_name
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 | |
/** @var Mage_Eav_Model_Entity_Setup $installer */ | |
$installer = $this; | |
$setup = new Mage_Eav_Model_Entity_Setup('core_setup'); | |
$installer->startSetup(); | |
// Adding customs attributes | |
$setup->addAttribute(Mage_Catalog_Model_Product::ENTITY, 'attribute_code', [ | |
'input' => 'textarea', | |
'type' => 'text', |
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
-- Reset all products | |
SET FOREIGN_KEY_CHECKS=0; | |
TRUNCATE catalog_product_bundle_option; | |
TRUNCATE catalog_product_bundle_option_value; | |
TRUNCATE catalog_product_bundle_price_index; | |
TRUNCATE catalog_product_bundle_selection; | |
TRUNCATE catalog_product_bundle_selection_price; | |
TRUNCATE catalog_product_bundle_stock_index; | |
TRUNCATE catalog_product_enabled_index; | |
TRUNCATE catalog_product_entity; |
NewerOlder