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"?> | |
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> | |
<listingToolbar name="listing_top"> | |
<massaction name="listing_massaction"> | |
<action name="mass_email_customer"> | |
<argument name="data" xsi:type="array"> | |
<item name="config" xsi:type="array"> | |
<item name="type" xsi:type="string">mass_email_customer</item> | |
<item name="label" xsi:type="string" translate="true">Email to Customers</item> | |
<item name="url" xsi:type="url" path="massemailcustomers/email/massSend"/> |
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 | |
namespace MageVision\Blog27\Plugin\Sales\Block\Adminhtml\Order; | |
use Magento\Sales\Block\Adminhtml\Order\View as OrderView; | |
class View | |
{ | |
public function beforeSetLayout(OrderView $subject) | |
{ | |
$subject->addButton( |
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 | |
/** | |
* MageVision Blog29 | |
* | |
* @category MageVision | |
* @package MageVision_Blog29 | |
* @author MageVision Team | |
* @copyright Copyright (c) 2018 MageVision (https://www.magevision.com) | |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | |
*/ |
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 | |
namespace MageVision\Blog30\Observer; | |
use Magento\Framework\Event\ObserverInterface; | |
use Magento\Framework\Event\Observer; | |
use Magento\Framework\Currency; | |
class CurrencySymbolChangePositionObserver implements ObserverInterface | |
{ | |
/** |
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 | |
namespace MageVision\Blog31\Observer; | |
use Magento\Framework\Event\ObserverInterface; | |
use Magento\Framework\Event\Observer; | |
class RemoveBlockOnConditionObserver implements ObserverInterface | |
{ | |
/** | |
* Remove block block |
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 | |
namespace MageVision\Blog32\Observer; | |
use Magento\Framework\Event\ObserverInterface; | |
use Magento\Checkout\Model\Cart as CustomerCart; | |
use Magento\Framework\Message\ManagerInterface; | |
use Magento\Framework\App\Response\RedirectInterface; | |
use Magento\Framework\Event\Observer; | |
class ValidateCartObserver implements ObserverInterface |
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 | |
namespace MageVision\Blog33\Plugin\Checkout\Block; | |
class LayoutProcessor { | |
/** | |
* Position the telephone field after address fields | |
* | |
* @param \Magento\Checkout\Block\Checkout\LayoutProcessor $subject |
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
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
<body> | |
<referenceBlock name="customer_form_register"> | |
<action method="setShowAddressFields"> | |
<argument name="show.address.fields" xsi:type="boolean">true</argument> | |
</action> | |
</referenceBlock> | |
</body> | |
</page> |
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 | |
namespace MageVision\Blog37\Plugin\Catalog\Helper\Product; | |
use Magento\Catalog\Model\Product; | |
use Magento\Framework\View\Result\Page as ResultPage; | |
class View | |
{ | |
public function beforeInitProductLayout( | |
\Magento\Catalog\Helper\Product\View $subject, |
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 | |
namespace MageVision\Blog38\Plugin\Catalog\Model\Category\Attribute\Source; | |
class Mode | |
{ | |
/** | |
* @param \Magento\Catalog\Model\Category\Attribute\Source\Mode $subject | |
* @param $result | |
* @return array | |
*/ |