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
// Import variables globally | |
@import "_variables_extend"; | |
// Mobile-first / Common styles | |
& when (@media-common = true) { | |
@import "vendor/bootstrap/3.3/bootstrap"; | |
@import "vendor/font-awesome/5.0/fontawesome"; | |
@import "_common/_header"; | |
@import "_common/_footer"; | |
@import "_common/_cms"; |
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
# path/to/your/Post.php | |
<?php | |
class Post extends \Magento\Contact\Controller\Index | |
{ | |
public function execute() | |
{ | |
... | |
->setFrom($this->scopeConfig->getValue(self::XML_PATH_EMAIL_SENDER, $storeScope)) |
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 | |
class Namespace_Module_Model_System_Config_NameOfOption | |
{ | |
const MODE_ONE = 'one'; | |
const MODE_TWO = 'two'; | |
/** | |
* @return array | |
* @author Joseph McDermott <code@josephmcdermott.co.uk> | |
*/ |
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
Increase value of MySQL setting: | |
[mysqld] | |
wait_timeout = 60 |
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
Remove the carrier title from the Magento shipping method description | |
- from: Shipping & Handling (Carrier Title - Method Title) | |
- to: Shipping & Handling (Method Title) |
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 | |
echo "hello world!"; |