CONTROLLER
controller_action_predispatch
controller_action_predispatch_[frontName][class][action]
controller_action_postdispatch
VIEW
CONTROLLER
controller_action_predispatch
controller_action_predispatch_[frontName][class][action]
controller_action_postdispatch
VIEW
#!/bin/bash | |
host_name="magento.test" | |
adminToken=$(curl -sb -X POST "http://${host_name}/rest/V1/integration/admin/token" \ | |
-H "Content-Type:application/json" \ | |
-d '{"username":"admin", "password":"123123q"}') | |
adminToken=$(echo ${adminToken} | sed -e 's/"//g') | |
category_creation_response=$(curl -sb -X POST "http://${host_name}/rest/V1/categories" \ |
<type name="Magento\Framework\View\Element\UiComponent\Argument\Interpreter\ConfigurableObject"> | |
<arguments> | |
<argument name="classWhitelist" xsi:type="array"> | |
<item name="0" xsi:type="string">Magento\Store\Ui\Component\Listing\Column\Store\Options</item> | |
</argument> | |
</arguments> | |
</type> |
<div class="pdf-section-totals1"> | |
<div class="outer-pdf-totals-tbl pdf-totals-container"> | |
<table class="custom-pdf-totals-tbl pdf-totals-tbl"> | |
<tbody> | |
<tr> | |
<td class="pdf-totals-label">Subtotal</td> | |
<td class="pdf-totals-value">{{var order.subtotal}}</td> | |
</tr> | |
<tr> | |
<td class="pdf-totals-label">Tax</td> |
/app/design/frontend/Company/default/Magento_Checkout/js/view/shipping-address/list.js | |
/** | |
* Copyright © Magento, Inc. All rights reserved. | |
* See COPYING.txt for license details. | |
*/ | |
define([ | |
'underscore', | |
'ko', |
<?php | |
$mpdf = $block->getPdf(); | |
?> | |
<?php $config = $block->getConfig(); ?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
#Catalog | |
> Magento\Catalog\Model\Locator\LocatorInterface | |
getProduct getStore getWebsiteIds getBaseCurrencyCode | |
> Magento\Catalog\Api\ProductLinkManagementInterface | |
> Magento\Catalog\Model\ResourceModel\Product\Website\Link | |
#Framework | |
Interface for entities which can be extended with custom attributes. |
$from = $this->collection->getSelect()->getPart('from'); | |
$table = $from['e']['tableName']; |
<?php | |
namespace Vnecoms\PdfPro\Model\ResourceModel\Key; | |
use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection; | |
class Collection extends AbstractCollection | |
{ | |
protected function _construct() | |
{ |
{ | |
"github-oauth": { | |
"github.com": "TOKEN" | |
}, | |
"http-basic": { | |
"packages.vnecoms.com": { | |
"username": "key", | |
"password": "pass" | |
}, | |
"repo.magento.com": { |