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
<?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> | |
<referenceBlock name="checkout.cart.shipping"> | |
<action method="setTemplate"> | |
<argument name="template" xsi:type="string">MageVision_Blog22::cart/shipping.phtml</argument> | |
</action> | |
<arguments> | |
<argument name="jsLayout" xsi:type="array"> | |
<item name="components" xsi:type="array"> |
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 | |
namespace MageVision\Blog23\Helper; | |
use Magento\Framework\App\Helper\AbstractHelper; | |
use Magento\Framework\Encryption\EncryptorInterface; | |
class Data extends AbstractHelper | |
{ | |
const XML_PATH_PASSWORD = 'blog/post23/password'; |
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 | |
namespace MageVision\Blog24\Controller\Post; | |
use Magento\Framework\App\RequestInterface; | |
use Magento\Framework\App\Action\Action; | |
use Magento\Framework\App\Action\Context; | |
use Magento\Framework\View\Result\PageFactory; | |
use Magento\Customer\Model\Session; | |
class Index extends Action |
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
<?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> | |
<tab id="magevision" translate="label" sortOrder="1000"> | |
<label>MageVision Blog Posts</label> | |
</tab> | |
<section id="blog25" translate="label" type="text" sortOrder="1012" showInDefault="1" showInWebsite="1" showInStore="1"> | |
<label>Blog Post 25</label> | |
<tab>magevision</tab> |
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
<?xml version="1.0"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Catalog:etc/catalog_attributes.xsd"> | |
<group name="quote_item"> | |
<attribute name="manufacturer"/> | |
</group> | |
</config> |
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 | |
namespace MageVision\Blog15\Block; | |
class CustomContent extends \Magento\Cms\Block\Page | |
{ | |
/** | |
* Prepare HTML content | |
* | |
* @return string | |
*/ |
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
<form class="form contact" | |
action="<?php /* @escapeNotVerified */ echo $block->getFormAction(); ?>" | |
id="contact-form" | |
method="post" | |
data-hasrequired="<?php /* @escapeNotVerified */ echo __('* Required Fields') ?>" | |
data-mage-init='{"validation":{}}'> | |
<fieldset class="fieldset"> | |
<legend class="legend"><span><?php /* @escapeNotVerified */ echo __('Write Us') ?></span></legend><br /> | |
<div class="field note no-label"><?php /* @escapeNotVerified */ echo __('Jot us a note and we’ll get back to you as quickly as possible.') ?></div> | |
<div class="field name required"> |
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 | |
namespace MageVision\Blog16\Plugin\Checkout\Model; | |
use Magento\Checkout\Model\Session as CheckoutSession; | |
class DefaultConfigProvider | |
{ | |
/** | |
* @var CheckoutSession | |
*/ |
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
<div class="field gender<?php if ($block->isRequired()) echo ' required' ?>"> | |
<label class="label" for="<?php /* @escapeNotVerified */ echo $block->getFieldId('gender')?>"> | |
<span><?php /* @escapeNotVerified */ echo __('Gender') ?></span> | |
</label> | |
<div class="control"> | |
<?php $options = $block->getGenderOptions(); ?> | |
<?php $value = $block->getGender(); ?> | |
<?php foreach ($options as $option): ?> | |
<?php if(!$option->getValue()) continue; ?> | |
<div class="field choice"> |
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 | |
namespace MageVision\Blog4\Model\Config\Backend; | |
class Image extends \Magento\Config\Model\Config\Backend\Image | |
{ | |
/** | |
* The tail part of directory path for uploading | |
*/ | |
const UPLOAD_DIR = 'blog/post4'; |
OlderNewer