Questions tagged «magento-2.1.2»

2
覆盖标题内容和添加块
我已经扩展了LUMA主题,并且想要自定义标题。 我想在徽标之前添加静态块,并将徽标移动到左侧的页面中心。 最终结果将是 [1]静态块[2]徽标(在中间)[3]搜索表格(此位置已经正确)。 请建议如何实现这一目标。

1
Magento2-更改Magento前端上的标准地址格式
我想将Magento的标准地址格式更改为我们在荷兰使用的地址格式。 对于那些不知道地址格式的人,这是我们编写地址的方法。例如,荷兰格式为: Name (Businesspark name etc.) Street + number Postal code + town Country 美国的地址格式是这样(默认为Magento2): Name of address Street number and name Name of town, State abbreviation + ZIP code (typical handwritten format) 您可以在Wikipedia上阅读更多内容。

4
Magento 2:所选类别在编辑表单中不可见
使用ui组件以管理形式添加了类别选择器。类别ID作为逗号分隔的值保存到数据库中。现在,我想在我的编辑表单中显示该类别。 这是我的example_example_edit.xml文件: <?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> <referenceContainer name="content"> <uiComponent name="example_form"/> </referenceContainer> </body> </page> 这是我的example_form.xml <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> <argument name="data" xsi:type="array"> <item name="js_config" xsi:type="array"> <item name="provider" xsi:type="string">example_form.example_form_data_source</item> <item name="deps" xsi:type="string">example_form.example_form_data_source</item> </item> <item name="label" xsi:type="string" translate="true">example Information</item> <item name="config" xsi:type="array"> <item name="dataScope" xsi:type="string">data</item> <item name="namespace" xsi:type="string">example_form</item> </item> …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.