質問

親コンテナを参照して他のコンテナ内を移動する新しいコンテナを作成する方法。

を試してみるもの
 <referenceContainer name="content">
        <container name="product.container" as="productContainer" htmlTag="div" htmlClass="product-container">
        </container>
</referenceContainer>
<move name="product.info.main" destination="product.container" />
<move name="product.info.media" destination="product.container" /> 
.

役に立ちましたか?

解決

あなたは移動の中に表示されています、

PLZ試し、

 <move element="product.info.main" destination="product.container"/>
.

移動タグのelementの代わりにnameを使用します。

他のヒント

構文に不一致があります属性を以下のように要素に置き換えて修正してください。

<move element="product.info.main" destination="product.container" />
<move element="product.info.media" destination="product.container" />
.

ライセンス: CC-BY-SA帰属
所属していません magento.stackexchange
scroll top