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
<style> | |
.header-regular li.nav-item.level0.level-top.nav-item--parent.mega.parent:nth-child(9) { order: 100;} | |
.header-regular li.nav-item.level0.level-top.nav-item--parent.mega.parent:nth-of-type(9) a, | |
.header-mobile li.nav-item.level0.level-top.nav-item--parent.mega.parent:nth-child(6) a {color: #d62727} | |
.bottom-proceed li:nth-of-type(2) {display: none;} | |
.method-clearpay_onetouch { display: block; clear: both; text-align: right; padding-top: 10px;} | |
.method-clearpay_onetouch h3 {display: none;} | |
.method-clearpay_onetouch .button img { width: auto; height: 30px;} | |
.method-clearpay_onetouch .button { display: none; background: none; padding: 0; } | |
.method-clearpay_onetouch .button:hover { background: none !important } |
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 | |
use Magento\Framework\App\Bootstrap; | |
/** | |
* Reindexes Algolia products that have been modified since a specific date | |
*/ | |
require __DIR__ . '/../app/bootstrap.php'; | |
$bootstrap = Bootstrap::create(BP, $_SERVER); | |
$objectManager = $bootstrap->getObjectManager(); | |
$state = $objectManager->get('\Magento\Framework\App\State'); |
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 | |
ini_set('max_execution_time', 0); | |
ini_set('display_errors', 1); | |
require __DIR__ . '/../app/bootstrap.php'; | |
use \Magento\Framework\App\Bootstrap; | |
$bootstrap = Bootstrap::create(BP, $_SERVER); | |
$objectManager = $bootstrap->getObjectManager(); | |
$state = $objectManager->get('\Magento\Framework\App\State'); |
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 | |
use Magento\Framework\App\Bootstrap; | |
require __DIR__ . '/app/bootstrap.php'; | |
$bootstrap = Bootstrap::create(BP, $_SERVER); | |
$objectManager = $bootstrap->getObjectManager(); | |
$state = $objectManager->get('\Magento\Framework\App\State'); | |
$state->setAreaCode('adminhtml'); |
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
/*************************************************************************************/ | |
/** Updates EAV tables for all products, inserting or updating specific store values **/ | |
/*************************************************************************************/ | |
/**** Update Vars ****/ | |
$attribute_id = 129; | |
$store_ids = [0,1,2]; | |
$value = 0; | |
$attribute_table = 'catalog_product_entity_int'; | |
$checkExistingValues = true; |
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
grep 'user\|dbname\|pass' local.xml | tr -d '\n' | sed 's/<username><\!\[CDATA\[\(.*\)\]\]><\/username>.*<password><\!\[CDATA\[\(.*\)\]\]><\/password>.*<dbname><\!\[CDATA\[\(.*\)\]\]><\/dbname>/ mysqldump -u\1 -p\2 \3 > \3.sql/g' | sh |