タグ付けされた質問 「magento2.1.5」

3
Magento 2製品の編集/管理フォームのカスタムセクションの追加
UIコンポーネントを学習しています。 製品編集/バックエンドフォームにカスタムセクションを追加したいので、 以下のファイルを作成しました。 vendor / module / view / adminhtml / ui_component / product_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"> <fieldset name="mobile"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="label" xsi:type="string" translate="true">Time</item> <item name="provider" xsi:type="string">product</item> <item name="dataScope" xsi:type="string">data.product</item> <item name="sortOrder" xsi:type="number">2</item> <item name="collapsible" xsi:type="boolean">true</item> <item name="opened" xsi:type="boolean">false</item> <item name="ns" xsi:type="string">product_form</item> …

1
Magento 2コアのバグはすべての2.1.x、2.2で見つかりました
再現する手順 レポートに移動->顧客別 検索ボックスに顧客名を入力してください 検索をクリックしてください 表示されます 致命的なエラー:列が見つかりません:1054不明な列 'customer_name'( 'where句')、クエリは次のとおりです:SELECT COUNT(DISTINCT detail.customer_id)FROM review AS main_table すべてのMagento 2.1.xでこのバグを発見しました。そして問題をgithubに投稿しました https://github.com/magento/magento2/issues/10301 これについて誰か知っていますか? 編集: この問題はMagento 2.1.8、2.2、および2.2 EEでも引き続き発生します

3
Magento 2:コレクションクエリからフィールドを選択
以下のクエリがあります。すべてではなく、テーブルから1つのフィールドのみを選択します。 $collection = $this->_collectionFactory->addFieldToFilter('status', 0)->load(); //$collection->getSelect()->column('id'); //$collection->getSelect()->from(['main_table' => $this->getMainTable()], array('main_table.id')); echo $collectionBallotSelect->getSelect()->__toString(); exit; idテーブルからフィールドのみを選択したい。
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.