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_Config:etc/system_file.xsd"> | |
<system> | |
<section id="general"> | |
<group id="store_information"> | |
<field id="custom_store_config" translate="label" type="text" sortOrder="65" showInDefault="1" showInWebsite="1" showInStore="1"> | |
<label>Custom Store Config</label> | |
</field> | |
</group> | |
</section> |
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\Blog72\Block; | |
use Magento\Framework\Api\FilterBuilder; | |
use Magento\Framework\Api\SearchCriteriaBuilder; | |
use Magento\Framework\View\Element\Template; | |
use Magento\Framework\View\Element\Template\Context; |
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\Blog71\Setup\Patch\Data; | |
use Magento\Cms\Model\BlockFactory; | |
use Magento\Framework\Setup\ModuleDataSetupInterface; | |
use Magento\Framework\Setup\Patch\DataPatchInterface; | |
use Magento\Framework\Setup\Patch\PatchRevertableInterface; |
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\Blog70\Setup\Patch\Data; | |
use Magento\Cms\Model\PageFactory; | |
use Magento\Framework\Setup\ModuleDataSetupInterface; | |
use Magento\Framework\Setup\Patch\DataPatchInterface; | |
use Magento\Framework\Setup\Patch\PatchRevertableInterface; |
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_account_navigation"> | |
<block class="Magento\Customer\Block\Account\SortLinkInterface" name="customer-account-navigation-custom-link"> | |
<arguments> | |
<argument name="label" xsi:type="string" translate="true">Custom Link Label</argument> | |
<argument name="path" xsi:type="string">module/controller/action</argument> | |
<argument name="sortOrder" xsi:type="number">300</argument> | |
</arguments> | |
</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
<vars module="Magento_ConfigurableProduct"> | |
<var name="gallery_switch_strategy">prepend</var> | |
</vars> |
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\Blog67\Model; | |
use Magento\Framework\Api\AttributeValueFactory; | |
use Magento\Framework\Api\ExtensionAttributesFactory; | |
use Magento\Framework\App\Config\ScopeConfigInterface; | |
use Magento\Framework\Model\Context; | |
use Magento\Framework\Registry; | |
use Magento\Framework\UrlInterface; |
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
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | |
<type name="Magento\Framework\DB\Sequence\SequenceInterface"> | |
<arguments> | |
<argument name="pattern" xsi:type="string">%s%'.05d%s</argument> | |
</arguments> | |
</type> | |
</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\GreekRegions\Setup\Patch\Data; | |
use Magento\Framework\Setup\ModuleDataSetupInterface; | |
use Magento\Framework\Setup\Patch\DataPatchInterface; | |
class AddGreekRegions implements DataPatchInterface |
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; |