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
composer create-project magento/community-edition mydir -s dev --prefer-dist |
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
# Website Sitemap | |
Sitemap: http://www.mywebsite.com/sitemap.xml | |
# Crawlers Setup | |
User-agent: * | |
Crawl-delay: 10 | |
# Allowable Index | |
Allow: /*?p= | |
Allow: /index.php/blog/ |
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
update core_config_data set value="http://michelsen-versand.local/" where path like 'web%' AND value like 'http%'; | |
update core_config_data set value="michelsen-versand.local" where path like 'web/cookie/cookie_domain'; | |
update core_config_data set value="[email protected]" where path like 'trans_email%email'; | |
update core_config_data set value="[email protected]" where path like '%recipient_email%'; | |
update core_config_data set value="0" where path like 'google/analytics/active'; | |
update core_config_data set value="" where path like '%_to'; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<layout> | |
<default> | |
<reference name="header"> | |
<action method="unsetChild"> | |
<name>topSearch</name> | |
</action> | |
</reference> | |
</default> | |
</layout> |
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 | |
// http://example.com/ | |
echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); | |
// http://example.com/js/ | |
echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS); | |
// http://example.com/index.php/ | |
echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK); | |
// http://example.com/media/ | |
echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA); | |
// http://example.com/skin/ |
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 | |
$filter = new Mage_Widget_Model_Template_Filter(); | |
$_widget = $filter->filter('{{widget type="homeslider/sliderid" slider_id="1"}}'); | |
echo $_widget; | |
?> |
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 echo $this->__('') ?> |
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
UPDATE | |
customer_entity, | |
newsletter_subscriber | |
SET | |
customer_entity.`group_id` = 5 | |
WHERE | |
customer_entity.`entity_id` = newsletter_subscriber.`customer_id` | |
AND | |
newsletter_subscriber.`subscriber_status` = 1; |
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
Mage::getSingleton('adminhtml/session')->addSuccess('Message'); |
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
Mage::app()->getStore()->getName() |