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

Magento 2.2.xバージョンに関する一般的な質問


5
Magento 2.3.0「サーバーの技術的な問題によりエラーが発生しました。」ロゴ画像をアップロードするとき
私はUbuntu osでMagento 2.3.0とphp 7.2バージョンを使用しています。すべてが正常に動作しているように見えますが、Magentoバックエンド、コンテンツ-デザイン/構成-ヘッダーに移動しようとし、ロゴ画像をアップロードしようとすると、次のようになります。 A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later. 私はすでにユーザーパスワードを変更し、index.phpでエコーコードを確認し、アップグレード、コンパイル、デプロイ、再インデックス、キャッシュのクリーンアップも試みましたが、何も起こらず、このエラーが発生します。

2
Magento 2 UiComponentを使用してタイムピッカーを表示する
私が見せたいTimepickerを UIコンポーネントのフォームで。以下のコードを使用して時間フィールドを追加できましたが、値を保存できませんでした。誰でも手伝ってくれる? <field name="start_time"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="dataType" xsi:type="string">text</item> <item name="label" xsi:type="string" translate="true">Start Time</item> <item name="formElement" xsi:type="string">date</item> <item name="source" xsi:type="string">prmrule</item> <item name="dataScope" xsi:type="string">start_time</item> <item name="options" xsi:type="array"> <item name="controlType" xsi:type="string">select</item> <item name="timeOnlyTitle" xsi:type="string">Select Start Time</item> <item name="showsTime" xsi:type="boolean">true</item> <item name="timeOnly" xsi:type="boolean">true</item> </item> </item> </argument> </field> で選択した時間を取得できませんui_form。MagentoではデフォルトでUTC形式の日付を取得しています。で選択した時間だけを取得したいui_form。

4
magento2でカスタムAPIを使用して顧客の住所を更新する方法
customer idまたはアドレスID を使用して顧客の住所を更新するカスタムAPIを作成しました。 以下に、実装に使用したコードを示します。 [ベンダー] / [モジュール] /etc/webapi.xml <route url="/V1/address/createUpdate" method="POST"> <service class="[Vendor]\[Module]\Api\CustomAddressInterface" method="addressUpdate"/> <resources> <resource ref="anonymous"/> </resources> </route> [ベンダー] / [モジュール] /Api/CustomAddressInterface.php <?php namespace [Vendor]\[Module]\Api; interface CustomAddressInterface { /** * Returns greeting message to user * * @api * @param string $name Users name. * @return string Greeting message …

1
Magentoで特定の製品の購入を(一部)の最大数に制限する
これを処理できる優れたモジュールはありますか?または、これは記述する必要があるカスタムイベント/オブザーバーでしょうか? 以下は、私が探しているものを具体的に示した非magentoサイトの画像です。 Magento 2.2.3 EE これはMagento commerce b2bモジュールで動作する必要があります。したがって、グループ/会社の全員が制限されます。グループに4人いましたが、1人が最大額を購入した場合、他の3人は何も購入できません。これにより、ロジックはますます複雑で困難になります。

2
Magento 2フォームフィールド切り替えタイプ
次のように、magento 2で入力切り替えオプションを作成します。 フィールドの種類がわからないので、現在は次のような選択ドロップダウンを使用しています。 $fieldset->addField( 'featured', 'select', [ 'label' => __('Featured'), 'title' => __('Featured'), 'required' => true, 'options' => ['1' => __('Yes'), '0' => __('No')], 'value' => $partner['featured'] ] );

4
Magento 2:2.0のサポートはいつ終了しますか?
現在、MagentoチームはMagentoの6つの異なるバージョンをサポートしています。 1.9.3.0 CE 1.14.3.0 EE 2.0.10 CE 2.0.10 EE 2.1.2 CE 2.1.2 EE 対処するのは大変な作業だと思います。次に2.2がリリースされます。だから私の質問は: Magento 2.0のサポートは2.2がリリースされると停止しますか? そうでない場合、2.0サポートはいつ停止しますか?

6
Magento 2で通貨形式を変更するにはどうすればよいですか?
現在の価格は$ 2.999,00です 価格をロケールes_MX(スペイン語、メキシコ)の$ 2,999.00のように製品ページで表示したい。 私はすべてのソリューションをstackexchangeで試しましたが、誰も動作しません。 ファイルapp / code / Jsp / Currency / etc / di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Magento\Framework\Locale\Format" type="Jsp\Currency\Model\Format"/> </config> ファイルapp / code / Jsp / Currency / Model / Format.php <?php namespace Jsp\Currency\Model; use Magento\Framework\Locale\Bundle\DataBundle; class Format extends \Magento\Framework\Locale\Format { private static $defaultNumberSet = 'latn'; public …
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.