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
___ ___ | |
_ _/ _ ( _ )___ _ __ __ _ __ _ ___ _ _ _ _ _ _ | |
| ' \_, / _ \___| ' \/ _` / _` / -_) '_| || | ' \ | |
|_||_/_/\___/ |_|_|_\__,_\__, \___|_| \_,_|_||_| | |
|___/ | |
n98-magerun version 1.101.1 by netz98 GmbH | |
Usage: | |
command [options] [arguments] |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<script> | |
for (i = 0; i < 5; i++) { | |
(function() { | |
var j = i; | |
var x = Math.floor(Math.random() * 20000); | |
setTimeout(function () { | |
// Log Result of i (increment) and x (time) |
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
Connect commands available: | |
=========================== | |
channel-add Add a Channel | |
channel-alias Specify an alias to a channel name | |
channel-delete Remove a Channel From the List | |
channel-info Retrieve Information on a Channel | |
channel-login Connects and authenticates to remote channel server | |
channel-logout Logs out from the remote channel server | |
clear-cache Clear Web Services Cache |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<!-- JavaScript and CSS framework independent cookie pop-up notification for legacy websites. --> | |
<div id="privacy-pop-up" style="display:none; position:fixed; z-index:9999; bottom:0; left:0; right:0; background:#dc143c; color:#fff; margin:1em; padding:0.5em; text-align:center; "> | |
<strong>Important information regarding cookies</strong><br> | |
By using this website, you consent to the use of cookies in accordance with our | |
<a href="/privacy-policy" style="text-decoration: underline; color:#fff">Privacy Policy</a>.<br> | |
<a id="exit-popup" style="background:#fff; color:#000; padding:0.25em 0.5em; margin:0.5em; cursor:pointer; font-weight:bold; font-size:90%; "> |
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 | |
require_once 'app/Mage.php'; | |
umask(0); | |
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); | |
$attSet = Mage::getModel('eav/entity_type')->getCollection()->addFieldToFilter('entity_type_code','catalog_product')->getFirstItem(); | |
$attSetCollection = Mage::getModel('eav/entity_type')->load($attSet->getId())->getAttributeSetCollection(); | |
$attributeInfo = Mage::getResourceModel('eav/entity_attribute_collection') | |
->setCodeFilter('**ATTRIBUTE CODE**') | |
->getFirstItem(); |
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 $category = Mage::getModel('catalog/category')->load('188'); | |
if ($category->getIsActive()) { ?> | |
<li><a class="special-price" href="<?php echo $category->getUrl() ; ?>">Sale</a></li> | |
<?php } ?> |
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
# Various IDE & OS files that should never be committed | |
.DS_Store | |
*.swp | |
*.lock | |
__MACOSX | |
.idea | |
/nbproject/* | |
.project | |
.buildpath | |
.thumbs |
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
#---------------------------------------------------------------------# | |
# Magento Default Files # | |
# https://github.com/github/gitignore/blob/master/Magento.gitignore # | |
#---------------------------------------------------------------------# | |
/app/etc/local.xml | |
/media/* | |
!/media/.htaccess |
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
/* | |
* Usage: $calling_codes['GB'] will return "44", the UK's dialing code. | |
*/ | |
$calling_codes = [ | |
'BD' => '880', | |
'BE' => '32', | |
'BF' => '226', | |
'BG' => '359', | |
'BA' => '387', |
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
/* | |
* Usage: $countries['GB'] will return "826", the UK's ISO 3166-1 numeric three-digit code. | |
*/ | |
$countries = [ | |
'AF' => '004', | |
'AX' => '248', | |
'AL' => '008', | |
'DZ' => '012', | |
'AS' => '016', |
OlderNewer