No Comments

I am getting a block twice in magento

how to save qty for a product in magento 2
How i can get Contact Number

I am trying to create a static block on my homepage. So I added Static Block to the CMS Page Layout Update XML FIeld

Here is my code:

<reference name="left_first"> 
    <block type="cms/block" name="Offers"  before="-">
      <action method="setBlockId"><block_id>offer-link</block_id></action>
    </block>
</reference> 

Here I was expecting one block in the left side of my Home page and i am getting that but in addition to this i am getting it twice.

enter image description here

Related Posts

  • adding static blocks to specific CMS Page via Layout Update XML in Magento 2.1.1 (1)
    I want to add a static block to left column of a 2 column layout via layout Update XML in Magento 2.1.1
  • adding static blocks to specific CMS Page via Layout Update XML in Magento 2.1.1 (1)
    I want to add a static block to left column of a 2 column layout via layout Update XML in Magento 2.1.1
  • CMS Home Page layout issue (1)
    When I am adding content to the Home Page via the CMS page named as such, my left column drops down as if it is part of the main content area. It should stay static on the left. Edit My page is southernperformancparts.com if you want to take a look. I added some gibberish to […]
  • Removing static block from specific CMS page (0)
    I have added a static block to all pages using the following code in my local.xml file. <layout> <default> <reference name="footer"> <block type="cms/block" name="footer-reviews" before="-"> <action […]
  • How to call static block from Category Layout Update XML Magento 2? (2)
    I am trying to call a static block in category page after category products. I have added a below code in category design layout update xml but nothing is displaying. <referenceContainer name="content"> <block class="MagentoCmsBlockBlock" name="search-block" […]
  • How to call static block from Category Layout Update XML Magento 2? (2)
    I am trying to call a static block in category page after category products. I have added a below code in category design layout update xml but nothing is displaying. <referenceContainer name="content"> <block class="MagentoCmsBlockBlock" name="search-block" […]
  • Positioning static blocks side by side on a cms page (1)
    First of all I should say I am not a web designer because I think my problem is really simple to solve but I don't know how: I created static blocks with these images but I can't bring it to this position.
  • Magento 2 – CMS Pages, Blocks and Layouts (0)
    I am fairly new to Magento, I read trough the documentation and everything I could find explaining the frontend developement process. But I still do not get some of the basics. Here is a simple layout of a single page ("Home" for example): I get that I configure the parts of my […]
  • Magento 2 – CMS Pages, Blocks and Layouts (0)
    I am fairly new to Magento, I read trough the documentation and everything I could find explaining the frontend developement process. But I still do not get some of the basics. Here is a simple layout of a single page ("Home" for example): I get that I configure the parts of my […]
  • Magento2 Add Login/Logout Button homepage (1)
    I have a home landing page that has a Login/Logout button. It's currently static html, but I'm trying to convert it so that the button actually functions same as default login/logout button. I tried creating a custom template landing-content.phtml and updating my Layout Update XML […]
how to save qty for a product in magento 2
How i can get Contact Number

Be the first to post a comment.

Add a comment