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\Blog92\Console\Command; | |
use Exception; | |
use Magento\Customer\Api\CustomerRepositoryInterface; | |
use Magento\Framework\Api\SearchCriteriaBuilder; | |
use Magento\Framework\App\Area; |
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> | |
<general> | |
<store_information> | |
<support_email_address>[email protected]</support_email_address> | |
</store_information> | |
</general> | |
</default> |
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\Blog90\Setup\Patch\Data; | |
use Magento\Framework\Setup\ModuleDataSetupInterface; | |
use Magento\Framework\Setup\Patch\DataPatchInterface; | |
use Magento\Framework\Setup\Patch\PatchRevertableInterface; | |
use Magento\Tax\Api\Data\TaxClassKeyInterface; |
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\Blog89\Cron; | |
use Magento\Framework\App\Config\ScopeConfigInterface; | |
use Magento\Store\Model\ScopeInterface; | |
class Post |
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\Blog88\Setup\Patch\Data; | |
use Magento\Framework\Setup\ModuleDataSetupInterface; | |
use Magento\Framework\Setup\Patch\DataPatchInterface; | |
use Magento\Sales\Model\Order; |
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\Blog87\Setup\Patch\Data; | |
use Magento\Framework\Api\DataObjectHelper; | |
use Magento\Framework\Setup\ModuleDataSetupInterface as ModuleDataSetupInterfaceAlias; | |
use Magento\Framework\Setup\Patch\DataPatchInterface; | |
use Magento\InventoryApi\Api\Data\SourceInterface; |
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\Blog86\Model; | |
use Magento\CatalogInventory\Api\StockRegistryInterface; | |
use Magento\Framework\Exception\NoSuchEntityException; | |
class StockManagement | |
{ | |
private StockRegistryInterface $stockRegistry; |
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\Blog85\Model; | |
use Magento\Framework\Exception\CouldNotSaveException; | |
use Magento\Framework\Exception\InputException; | |
use Magento\Framework\Exception\NoSuchEntityException; | |
use Magento\Framework\Validation\ValidationException; | |
use Magento\InventoryApi\Api\Data\SourceItemInterface; | |
use Magento\InventoryApi\Api\GetSourceItemsBySkuInterface; |
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" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
<body> | |
<referenceContainer name="product.info.type"> | |
............................... | |
</referenceContainer> | |
</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
<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> |
NewerOlder