- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2018
09:15 AM
07-30-2018
09:15 AM
Move Block on the product page to the lower right column
Hi!
I created a new attribute and tried to display it on the product page ( a size chart). That worked, but I just can't get it where I want it. It should be in the right lower column, where the related products appear (see screenshot)
This is the code as it is now. I tried everything that made sense to me and changed the "after" tag as well as the reference container, but it only went to places where I did not want it to be or disappeared. Does anyone know what I need to put in the after tag and the reference container?
<referenceContainer name="product.info.main">
<block class="Magento\Catalog\Block\Product\View\Description" name="product.info.model" template="product/view/model.phtml" after="-">
<arguments>
<argument name="at_call" xsi:type="string">getModel</argument>
<argument name="at_code" xsi:type="string">model</argument>
<argument name="css_class" xsi:type="string">model</argument>
<argument name="at_label" xsi:type="string">Model</argument>
<argument name="add_attribute" xsi:type="string">itemprop="model"</argument>
</arguments>
</block>
</referenceContainer>
Thanks!
Valentin
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018
04:59 AM
08-04-2018
04:59 AM
Re: Move Block on the product page to the lower right column
This can't be a hard question to answer for someone who knows Magento... Please!