i would like to create a banner on product view page and move this banner AFTER the short description and before the tab content.
I user this code under catalog_product_view.xml
<move element="product.info.banner" destination="content" after="product.info.description" />
but it's not working and i cannot resolve my problem. Can someone help me solving this problem? Best regards
The results should be the same in this picture
TEST1:
EDIT2: My xml
<?xml version="1.0"?>
<referenceBlock name="product.info.review" remove="true"/>
<referenceContainer name="content">
<container name="product.info.banner" htmlTag="div" htmlClass="product banner permuta">
<block class="Magento\Catalog\Block\Product\View" name="product.banner_tradein" template="Magento_Catalog::banner_tradein.phtml">
<arguments>
<argument translate="true" name="title" xsi:type="string">BannerTradin</argument>
</arguments>
</block>
</container>
</referenceContainer>
<referenceBlock name="product.info.details">
<block class="Magento\Catalog\Block\Product\View" name="product.tab.condizioni" template="Magento_Catalog::condizioni.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">Condizioni</argument>
</arguments>
</block>
</referenceBlock>
<referenceContainer name="product.info.extrahint">
<referenceContainer name="product.info.social">
<referenceBlock name="product.info.addto" remove="true"/>
<referenceBlock name="product.info.mailto" remove="true"/>
</referenceContainer>
</referenceContainer>
<referenceContainer name="product.info.stock.sku" remove="true"/>
<move element="product.info.banner" destination="content" as="banner_tradein" after="product.info.media" before="product.info.overview"/>