Tabs 添加选项卡以编辑magento 2中的产品页面
我正在开发magento 2.0的扩展。我无法在后端添加“添加”选项卡以编辑产品页。我尝试使用事件核心、块、抽象、准备、布局,但没有成功。你能帮我怎么做吗Tabs 添加选项卡以编辑magento 2中的产品页面,tabs,add,backend,product,magento2,Tabs,Add,Backend,Product,Magento2,我正在开发magento 2.0的扩展。我无法在后端添加“添加”选项卡以编辑产品页。我尝试使用事件核心、块、抽象、准备、布局,但没有成功。你能帮我怎么做吗 谢谢要在产品管理页面中添加新选项卡,您需要在view->adminhtml中添加新的“块”。布局必须命名为catalog_product_new.xml。这是我文件的内容(来自我的个人模块) 试验 1. AJAX 先进的 产品instagram 产品测试 要在产品管理页面中添加新选项卡,您需要在view->adminhtml中添加新的“
谢谢要在产品管理页面中添加新选项卡,您需要在view->adminhtml中添加新的“块”。布局必须命名为catalog_product_new.xml。这是我文件的内容(来自我的个人模块)
试验
1.
AJAX
先进的
产品instagram
产品测试
要在产品管理页面中添加新选项卡,您需要在view->adminhtml中添加新的“块”。布局必须命名为catalog_product_new.xml。这是我文件的内容(来自我的个人模块)
试验
1.
AJAX
先进的
产品instagram
产品测试
您可以同时添加Product\Edit\Tab.php文件的代码吗?您可以同时添加Product\Edit\Tab.php文件的代码吗?扩展名已经存在扩展名已经存在
<?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="product_tabs">
<block class="Okalm\Igram\Block\Adminhtml\Product\Edit\Tab" name="product.test">
<arguments>
<argument name="label" xsi:type="string" translate="true">Test</argument>
<argument name="url" xsi:type="url" path="test/moderate/index">
<param name="_current">1</param>
</argument>
<argument name="class" xsi:type="string">ajax</argument>
<argument name="group_code" xsi:type="string">advanced</argument>
</arguments>
</block>
<action method="addTab">
<argument name="name" xsi:type="string">product-instagram</argument>
<argument name="block" xsi:type="string">product.test</argument>
</action>
</referenceBlock>