Skip to content

phtml

Auto Added by WPeMatico

Problem when modifying inherited theme

/home/pedromontesi/Documentos/magento/src/vendor/magento/theme-frontend-luma/Magento_Theme/layout/default.xml <?xml version=”1.0″?> <body> <referenceContainer name=”header.panel”> <block class=”MagentoFrameworkViewElementHtmlLinks” name=”header.links” template=”Magento_Theme::html/promo.phtml” before=”-“/> </referenceContainer> <referenceBlock name=”logo”> <arguments> <argument name=”logo_file” xsi:type=”string”>images/my_logo.png</argument> <argument name=”logo_width” xsi:type=”number”>300</argument> <argument name=”logo_height” xsi:type=”number”>300</argument> <argument name=”logo_alt” xsi:type=”string”>Logo name</argument> </arguments> </referenceBlock> </body> /home/pedromontesi/Documentos/magento/src/app/design/frontend/Avanti/innovation/Magento_Theme/templates/html/promo.phtml <div class=”promo-bar”> Ganhe R$10,00 de desconto no seu… Read More »Problem when modifying inherited theme

Tie dynamic fields from custom phtml block to Product Edit Save request

I have created a custom block on my Product Edit admin page by adding this to product_form.xml: <fieldset name=”my_custom_fields”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>My Custom Fields</item> <item name=”sortOrder” xsi:type=”number”>30</item> <item name=”collapsible” xsi:type=”boolean”>true</item> <item name=”opened” xsi:type=”boolean”>false</item>… Read More »Tie dynamic fields from custom phtml block to Product Edit Save request