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="global_notices"> | |
<action method="setTemplate"> | |
<argument name="template" xsi:type="string">MageVision_Blog83::page/notices.phtml</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 | |
declare(strict_types=1); | |
namespace MageVision\Blog80\Model\Quote\ValidationRule; | |
use Magento\Framework\Validation\ValidationResultFactory; | |
use Magento\Quote\Model\Quote; | |
use Magento\Quote\Model\ValidationRules\QuoteValidationRuleInterface; |
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\Blog64\Console\Command; | |
use Magento\Directory\Model\ResourceModel\Country\CollectionFactory; | |
use Magento\Framework\Console\Cli; | |
use Magento\Framework\Profiler\Driver\Standard\Stat; | |
use Magento\Framework\Profiler\Driver\Standard\StatFactory; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputInterface; |
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"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Catalog:etc/product_types.xsd"> | |
................ | |
<composableTypes> | |
<type name="magevision_new_product_type" /> | |
</composableTypes> | |
</config> |
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 | |
declare(strict_types=1); | |
namespace MageVision\Blog79\Setup\Patch\Data; | |
use Magento\Framework\Setup\ModuleDataSetupInterface; | |
use Magento\Framework\Setup\Patch\DataPatchInterface; | |
use Magento\Config\Model\ResourceModel\Config as ResourceConfig; |
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"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> | |
<default> | |
<payment> | |
<admin_only> | |
<active>1</active> | |
<title>Admin Payment Only</title> | |
<order_status>pending</order_status> | |
<allowspecific>0</allowspecific> | |
<can_use_internal>1</can_use_internal> |
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\Blog77\Plugin\OfflinePayments\Model; | |
use Magento\Backend\Model\Auth\Session; | |
use Magento\OfflinePayments\Model\Checkmo; | |
use Magento\Quote\Api\Data\CartInterface; | |
class CheckmoPlugin | |
{ |
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"?> | |
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
<body> | |
<referenceContainer name="content"> | |
<block class="Magento\Catalog\Block\Widget\RecentlyViewed" name="recently_viewed" | |
template="Magento_Catalog::product/widget/viewed/grid.phtml" after="-"> | |
<arguments> | |
<argument name="uiComponent" xsi:type="string">widget_recently_viewed</argument> | |
<argument name="page_size" xsi:type="number">4</argument> | |
<argument name="show_attributes" xsi:type="string">name,image,price,learn_more</argument> |
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\Blog75\Plugin\Customer\Model; | |
use Magento\Customer\Api\Data\CustomerInterface; | |
use Magento\Customer\Model\EmailNotification; | |
class EmailNotificationPlugin | |
{ | |
/** |
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"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> | |
<event name="sendfriend_product"> | |
<observer name="reports" disabled="true" /> | |
</event> | |
</config> |