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
SET FOREIGN_KEY_CHECKS=0; | |
-- Customers | |
TRUNCATE `customer_entity`; | |
TRUNCATE `customer_entity_datetime`; | |
TRUNCATE `customer_entity_decimal`; | |
TRUNCATE `customer_entity_int`; | |
TRUNCATE `customer_entity_text`; | |
TRUNCATE `customer_entity_varchar`; |
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
npm i -g npm-check-updates | |
ncu | |
ncu -u # to upgrade package.json | |
npm install |
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
-- Import dump Windows | |
C:\path\to\mysql.exe -u {username} -p {databasename} < file_name.sql |
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 | |
//Identify the page type | |
$pageIdentifier = Mage::app()->getFrontController()->getAction()->getFullActionName(); | |
echo $pageIdentifier; | |
?> | |
<!-- Do something if on the specific page you need --> | |
<?php if(Mage::getBlockSingleton('page/html_header')->getIsHomePage()): ?> | |
home page | |
<?php elseif(Mage::app()->getRequest()->getRouteName()=='cms'): ?> |
OlderNewer