cancel
Showing results for 
Search instead for 
Did you mean: 

Move Block on the product page to the lower right column

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

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

1 REPLY 1

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!