./mage config-set preferred_state stable
./mage clear-cache
./mage sync
./mage download community Module_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
<checkout_cart_index> | |
<reference name="breadcrumbs"> | |
<action method="addCrumb"> | |
<crumbName>home</crumbName> | |
<crumbInfo> | |
<label>Home</label> | |
<title>Home</title> | |
<link>/</link> | |
</crumbInfo> | |
</action> |
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 | |
/** | |
* Generates data with ready-to-edit CSV for magento translation | |
* | |
* A handy tool that generates CSV data for magento theme translation | |
* You can set the $mode to: | |
* a) either write that data to translate.csv at path you specify, | |
* b) or just to dump that data in browser for you to copy and use (default). | |
* In the write mode it appends new data to translate.csv thus you dont |
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 | |
/** | |
* Magento version/edition helper for determining the Magento BASE version (regardless of edition) and adds functions to check if Enterprise, Professional or Community are being run. | |
* Adds isMageCommunity(), isMageProfessional() and isMageEnterprise() | |
* | |
* @category TBT | |
* @package TBT_Rewards | |
* @author WDCA Sweet Tooth Team <contact@sweettoothhq.com> | |
*/ | |
class TBT_Rewards_Helper_Version extends Mage_Core_Helper_Abstract { |
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
#!/usr/bin/env ruby | |
# | |
# Magento DB Repair tool using CLI | |
# Uses Ruby's Mechanize gem | |
# | |
# @author Raj KB <magepsycho@gmail.com> | |
# @website http://www.magepsycho.com | |
# | |
# Tested on Mac OS-X 10.X |
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 | |
#@author Raj KB<magepsycho@gmail.com> | |
#ini_set('display_errors',true); | |
#error_reporting(E_ALL | E_STRICT); | |
// You cannot have above because: | |
// Namespace declaration statement has to be the very first statement in the script | |
// How to use namespace? | |
namespace MagePsycho\Easypathhints\Helper; |
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
#!/usr/bin/env bash | |
# | |
# Script to install Magento2 | |
# | |
# @author Raj KB <magepsycho@gmail.com> | |
# @website http://www.magepsycho.com | |
# @version 0.1.0 | |
# UnComment it if bash is lower than 4.x version |
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
<?xml version="1.0"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd"> | |
<acl> | |
<resources> | |
<resource id="Magento_Backend::admin"> | |
</resource> | |
</resources> | |
</acl> | |
</config> |
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 | |
namespace MagePsycho\Demo\Helper; | |
/** | |
* @category MagePsycho | |
* @package MagePsycho_Demo | |
* @author magepsycho@gmail.com | |
* @website http://www.magepsycho.com | |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | |
*/ |
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 | |
// File: app/code/MagePsycho/Helper/Data.php | |
// Usage: MagePsycho\Demo\Helper\Data::log($message) | |
namespace MagePsycho\Demo\Helper; | |
class Data extends \Magento\Framework\App\Helper\AbstractHelper | |
{ | |
/** |
OlderNewer