cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 - add block and attribut on category page

Magento 2 - add block and attribut on category page

Hi guys

 

i am getting a headache with a couple of things. Smiley Sad

the first one; I need to add a static block above and below product list on catgeory page. The one on the top, no problem, but the one after product list, impossible to fnd the right solution. I use the XML design layout, the last code was:

<referenceContainer name="content">
<block class="MagentoCmsBlockBlock" name="BLOCKNAME" after="layer.product.list">
<arguments>
<argument name="block_id" xsi:type="string">BLOCKNAME</argument>
</arguments>
</block>
</referenceContainer>

 

and the second thing is about a new attribut. I have created a new product attribut, and I need to display it just below product image on category page. I could make it on Magento1 but on M2, I cannot find the right solution too!!!

 

Any idea?

thank you

1 REPLY 1

Re: Magento 2 - add block and attribut on category page

anyone Smiley Wink