Magento 1.9 : Add Block to One step checkoutWhich one step checkout type extensions honour original layout handle?Wrong code in one step checkoutCheckout in one stepHow to add a custom step in Magento 1.9 checkoutAJAX Auto Update on One Step CheckoutMagento : One Step Checkout AccordionAdd Cross Sell Block to Checkout Step Magento 2Adding a cart review block to One-Step-Checkout Extension from AddWeb Solutions. Magento CE 1.9One Step Checkout Undefined index: country_idMagento 1.9.3.8 insert fields in one step checkout

How can I answer high-school writing prompts without sounding weird and fake?

What does this quote in Small Gods refer to?

Why does the Earth follow an elliptical trajectory rather than a parabolic one?

Why use steam instead of just hot air?

LocalDate.plus Incorrect Answer

How did Thanos not realise this had happened at the end of Endgame?

Make all the squares explode

51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily?

histogram using edges

Can you book a one-way ticket to the UK on a visa?

Guns in space with bullets that return?

Was there a contingency plan in place if Little Boy failed to detonate?

Was the Highlands Ranch shooting the 115th mass shooting in the US in 2019

Cropping a message using array splits

A musical commute to work

How could we transfer large amounts of energy sourced in space to Earth?

Thesis' "Future Work" section – is it acceptable to omit personal involvement in a mentioned project?

Can 'sudo apt-get remove [write]' destroy my Ubuntu?

Exception propagation: When to catch exceptions?

Why is it so slow when assigning a concatenated string to a variable in python?

Drawing Quarter-Circle

International Code of Ethics for order of co-authors in research papers

How can a Lich look like a human without magic?

How do I tell my supervisor that he is choosing poor replacements for me while I am on maternity leave?



Magento 1.9 : Add Block to One step checkout


Which one step checkout type extensions honour original layout handle?Wrong code in one step checkoutCheckout in one stepHow to add a custom step in Magento 1.9 checkoutAJAX Auto Update on One Step CheckoutMagento : One Step Checkout AccordionAdd Cross Sell Block to Checkout Step Magento 2Adding a cart review block to One-Step-Checkout Extension from AddWeb Solutions. Magento CE 1.9One Step Checkout Undefined index: country_idMagento 1.9.3.8 insert fields in one step checkout






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have a extension that shows a price slider for store credit in the Cart.



I do not use the Cart and customers go straight to the Checkout.



I want to show the slider on my checkout instead. Here is the code:



<checkout_cart_index>
<reference name="head">
<action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
<action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
</reference>
<reference name="checkout.cart">
<block type="core/text_list" name="coupon.and.discount" as="coupon">
<action method="insert">
<block>checkout.cart.coupon</block>
</action>
<block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
</block>
</reference>
</checkout_cart_index>


My One Step Checkout XML file is using:



<onestepcheckout_index_index_flat_25columns>
<reference name="head">
<action method="addCss">
<stylesheet>css/magestore/onestepcheckout/flat/onestepcheckout.css</stylesheet>
</action>
<block type="page/html_head" name="mobie_view" template="onestepcheckout/flat/head.phtml"/>
</reference>
<reference name="content">
<block type="onestepcheckout/onestepcheckout" name="onestepcheckout" template="onestepcheckout/flat/3columns.phtml">
<block type="onestepcheckout/onestepcheckout" name="onestepcheckout_billing" as="onestepcheckout.billing" template="onestepcheckout/flat/onestepcheckout/billing.phtml" />
<block type="onestepcheckout/onestepcheckout" name="onestepcheckout_shipping" as="onestepcheckout.shipping" template="onestepcheckout/flat/onestepcheckout/shipping.phtml" />
<block type="checkout/onepage_shipping_method_available" name="onestepcheckout_shipping_method" as="onestepcheckout.shipping_method" template="onestepcheckout/flat/onestepcheckout/shipping_method.phtml"/>
<block type="checkout/onepage_payment_methods" name="onestepcheckout_payment_method" as="onestepcheckout.payment_method" template="onestepcheckout/flat/onestepcheckout/payment_method.phtml">
<action method="setMethodFormTemplate">
<method>purchaseorder</method>
<template>payment/form/purchaseorder.phtml</template>
</action>
</block>
<block type="checkout/onepage_review" name="onestepcheckout.onestepcheckout.review" as="onestepcheckout.review" template="onestepcheckout/flat/onestepcheckout/review.phtml">
<block type="checkout/agreements" name="onestepcheckout.onestepcheckout.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
<block type="checkout/onepage_review_info" name="review_info" as="info" template="onestepcheckout/flat/onestepcheckout/review/info.phtml">
<action method="addItemRender">
<type>default</type>
<block>checkout/cart_item_renderer</block>
<template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
</action>
<action method="addItemRender">
<type>grouped</type>
<block>checkout/cart_item_renderer_grouped</block>
<template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
</action>
<action method="addItemRender">
<type>configurable</type>
<block>checkout/cart_item_renderer_configurable</block>
<template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
</action>
<action method="addItemRender">
<type>bundle</type>
<block>bundle/checkout_cart_item_renderer</block>
<template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
</action>
<block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="onestepcheckout/flat/onestepcheckout/review/totals.phtml"/>
</block>
</block>
</block>
</reference>
<reference name="before_body_end">
<block type="core/template" template="onestepcheckout/flat/login_popup.phtml" name="login-popup" />
</reference>
</onestepcheckout_index_index_flat_25columns>









share|improve this question






























    0















    I have a extension that shows a price slider for store credit in the Cart.



    I do not use the Cart and customers go straight to the Checkout.



    I want to show the slider on my checkout instead. Here is the code:



    <checkout_cart_index>
    <reference name="head">
    <action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
    <action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
    </reference>
    <reference name="checkout.cart">
    <block type="core/text_list" name="coupon.and.discount" as="coupon">
    <action method="insert">
    <block>checkout.cart.coupon</block>
    </action>
    <block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
    </block>
    </reference>
    </checkout_cart_index>


    My One Step Checkout XML file is using:



    <onestepcheckout_index_index_flat_25columns>
    <reference name="head">
    <action method="addCss">
    <stylesheet>css/magestore/onestepcheckout/flat/onestepcheckout.css</stylesheet>
    </action>
    <block type="page/html_head" name="mobie_view" template="onestepcheckout/flat/head.phtml"/>
    </reference>
    <reference name="content">
    <block type="onestepcheckout/onestepcheckout" name="onestepcheckout" template="onestepcheckout/flat/3columns.phtml">
    <block type="onestepcheckout/onestepcheckout" name="onestepcheckout_billing" as="onestepcheckout.billing" template="onestepcheckout/flat/onestepcheckout/billing.phtml" />
    <block type="onestepcheckout/onestepcheckout" name="onestepcheckout_shipping" as="onestepcheckout.shipping" template="onestepcheckout/flat/onestepcheckout/shipping.phtml" />
    <block type="checkout/onepage_shipping_method_available" name="onestepcheckout_shipping_method" as="onestepcheckout.shipping_method" template="onestepcheckout/flat/onestepcheckout/shipping_method.phtml"/>
    <block type="checkout/onepage_payment_methods" name="onestepcheckout_payment_method" as="onestepcheckout.payment_method" template="onestepcheckout/flat/onestepcheckout/payment_method.phtml">
    <action method="setMethodFormTemplate">
    <method>purchaseorder</method>
    <template>payment/form/purchaseorder.phtml</template>
    </action>
    </block>
    <block type="checkout/onepage_review" name="onestepcheckout.onestepcheckout.review" as="onestepcheckout.review" template="onestepcheckout/flat/onestepcheckout/review.phtml">
    <block type="checkout/agreements" name="onestepcheckout.onestepcheckout.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
    <block type="checkout/onepage_review_info" name="review_info" as="info" template="onestepcheckout/flat/onestepcheckout/review/info.phtml">
    <action method="addItemRender">
    <type>default</type>
    <block>checkout/cart_item_renderer</block>
    <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
    </action>
    <action method="addItemRender">
    <type>grouped</type>
    <block>checkout/cart_item_renderer_grouped</block>
    <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
    </action>
    <action method="addItemRender">
    <type>configurable</type>
    <block>checkout/cart_item_renderer_configurable</block>
    <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
    </action>
    <action method="addItemRender">
    <type>bundle</type>
    <block>bundle/checkout_cart_item_renderer</block>
    <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
    </action>
    <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="onestepcheckout/flat/onestepcheckout/review/totals.phtml"/>
    </block>
    </block>
    </block>
    </reference>
    <reference name="before_body_end">
    <block type="core/template" template="onestepcheckout/flat/login_popup.phtml" name="login-popup" />
    </reference>
    </onestepcheckout_index_index_flat_25columns>









    share|improve this question


























      0












      0








      0








      I have a extension that shows a price slider for store credit in the Cart.



      I do not use the Cart and customers go straight to the Checkout.



      I want to show the slider on my checkout instead. Here is the code:



      <checkout_cart_index>
      <reference name="head">
      <action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
      <action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
      </reference>
      <reference name="checkout.cart">
      <block type="core/text_list" name="coupon.and.discount" as="coupon">
      <action method="insert">
      <block>checkout.cart.coupon</block>
      </action>
      <block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
      </block>
      </reference>
      </checkout_cart_index>


      My One Step Checkout XML file is using:



      <onestepcheckout_index_index_flat_25columns>
      <reference name="head">
      <action method="addCss">
      <stylesheet>css/magestore/onestepcheckout/flat/onestepcheckout.css</stylesheet>
      </action>
      <block type="page/html_head" name="mobie_view" template="onestepcheckout/flat/head.phtml"/>
      </reference>
      <reference name="content">
      <block type="onestepcheckout/onestepcheckout" name="onestepcheckout" template="onestepcheckout/flat/3columns.phtml">
      <block type="onestepcheckout/onestepcheckout" name="onestepcheckout_billing" as="onestepcheckout.billing" template="onestepcheckout/flat/onestepcheckout/billing.phtml" />
      <block type="onestepcheckout/onestepcheckout" name="onestepcheckout_shipping" as="onestepcheckout.shipping" template="onestepcheckout/flat/onestepcheckout/shipping.phtml" />
      <block type="checkout/onepage_shipping_method_available" name="onestepcheckout_shipping_method" as="onestepcheckout.shipping_method" template="onestepcheckout/flat/onestepcheckout/shipping_method.phtml"/>
      <block type="checkout/onepage_payment_methods" name="onestepcheckout_payment_method" as="onestepcheckout.payment_method" template="onestepcheckout/flat/onestepcheckout/payment_method.phtml">
      <action method="setMethodFormTemplate">
      <method>purchaseorder</method>
      <template>payment/form/purchaseorder.phtml</template>
      </action>
      </block>
      <block type="checkout/onepage_review" name="onestepcheckout.onestepcheckout.review" as="onestepcheckout.review" template="onestepcheckout/flat/onestepcheckout/review.phtml">
      <block type="checkout/agreements" name="onestepcheckout.onestepcheckout.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
      <block type="checkout/onepage_review_info" name="review_info" as="info" template="onestepcheckout/flat/onestepcheckout/review/info.phtml">
      <action method="addItemRender">
      <type>default</type>
      <block>checkout/cart_item_renderer</block>
      <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
      </action>
      <action method="addItemRender">
      <type>grouped</type>
      <block>checkout/cart_item_renderer_grouped</block>
      <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
      </action>
      <action method="addItemRender">
      <type>configurable</type>
      <block>checkout/cart_item_renderer_configurable</block>
      <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
      </action>
      <action method="addItemRender">
      <type>bundle</type>
      <block>bundle/checkout_cart_item_renderer</block>
      <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
      </action>
      <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="onestepcheckout/flat/onestepcheckout/review/totals.phtml"/>
      </block>
      </block>
      </block>
      </reference>
      <reference name="before_body_end">
      <block type="core/template" template="onestepcheckout/flat/login_popup.phtml" name="login-popup" />
      </reference>
      </onestepcheckout_index_index_flat_25columns>









      share|improve this question
















      I have a extension that shows a price slider for store credit in the Cart.



      I do not use the Cart and customers go straight to the Checkout.



      I want to show the slider on my checkout instead. Here is the code:



      <checkout_cart_index>
      <reference name="head">
      <action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
      <action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
      </reference>
      <reference name="checkout.cart">
      <block type="core/text_list" name="coupon.and.discount" as="coupon">
      <action method="insert">
      <block>checkout.cart.coupon</block>
      </action>
      <block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
      </block>
      </reference>
      </checkout_cart_index>


      My One Step Checkout XML file is using:



      <onestepcheckout_index_index_flat_25columns>
      <reference name="head">
      <action method="addCss">
      <stylesheet>css/magestore/onestepcheckout/flat/onestepcheckout.css</stylesheet>
      </action>
      <block type="page/html_head" name="mobie_view" template="onestepcheckout/flat/head.phtml"/>
      </reference>
      <reference name="content">
      <block type="onestepcheckout/onestepcheckout" name="onestepcheckout" template="onestepcheckout/flat/3columns.phtml">
      <block type="onestepcheckout/onestepcheckout" name="onestepcheckout_billing" as="onestepcheckout.billing" template="onestepcheckout/flat/onestepcheckout/billing.phtml" />
      <block type="onestepcheckout/onestepcheckout" name="onestepcheckout_shipping" as="onestepcheckout.shipping" template="onestepcheckout/flat/onestepcheckout/shipping.phtml" />
      <block type="checkout/onepage_shipping_method_available" name="onestepcheckout_shipping_method" as="onestepcheckout.shipping_method" template="onestepcheckout/flat/onestepcheckout/shipping_method.phtml"/>
      <block type="checkout/onepage_payment_methods" name="onestepcheckout_payment_method" as="onestepcheckout.payment_method" template="onestepcheckout/flat/onestepcheckout/payment_method.phtml">
      <action method="setMethodFormTemplate">
      <method>purchaseorder</method>
      <template>payment/form/purchaseorder.phtml</template>
      </action>
      </block>
      <block type="checkout/onepage_review" name="onestepcheckout.onestepcheckout.review" as="onestepcheckout.review" template="onestepcheckout/flat/onestepcheckout/review.phtml">
      <block type="checkout/agreements" name="onestepcheckout.onestepcheckout.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
      <block type="checkout/onepage_review_info" name="review_info" as="info" template="onestepcheckout/flat/onestepcheckout/review/info.phtml">
      <action method="addItemRender">
      <type>default</type>
      <block>checkout/cart_item_renderer</block>
      <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
      </action>
      <action method="addItemRender">
      <type>grouped</type>
      <block>checkout/cart_item_renderer_grouped</block>
      <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
      </action>
      <action method="addItemRender">
      <type>configurable</type>
      <block>checkout/cart_item_renderer_configurable</block>
      <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
      </action>
      <action method="addItemRender">
      <type>bundle</type>
      <block>bundle/checkout_cart_item_renderer</block>
      <template>onestepcheckout/flat/onestepcheckout/review/item.phtml</template>
      </action>
      <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="onestepcheckout/flat/onestepcheckout/review/totals.phtml"/>
      </block>
      </block>
      </block>
      </reference>
      <reference name="before_body_end">
      <block type="core/template" template="onestepcheckout/flat/login_popup.phtml" name="login-popup" />
      </reference>
      </onestepcheckout_index_index_flat_25columns>






      magento-1.9 checkout layout blocks






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 16 '18 at 3:44









      Rohan Hapani

      1




      1










      asked Jun 28 '16 at 16:18









      Mike Tim TurnerMike Tim Turner

      564421




      564421




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Try this:



          <checkout_onepage_index>
          <reference name="head">
          <action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
          <action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
          </reference>
          <reference name="checkout.onepage">
          <block type="core/text_list" name="coupon.and.discount" as="coupon">
          <action method="insert">
          <block>checkout.cart.coupon</block>
          </action>
          <block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
          </block>
          </reference>
          </checkout_onepage_index>


          This should add your block in checkout page. However, you will have to find the standard place for your block.



          You may want to check <checkout_onepage_index translate="label"> node in "layout/checkout.xml" file.






          share|improve this answer























          • This doesn't work. Im not sure what to do. The one step checkout I use is a paid extension. Is there more information I can provide?

            – Mike Tim Turner
            Jun 29 '16 at 12:21











          • you need to find layout file for that extension and paste in your org qst.

            – Adarsh Khatri
            Jun 29 '16 at 12:45











          • Updated my question.

            – Mike Tim Turner
            Jun 29 '16 at 13:08











          • You can replace <checkout_onepage_index> and </checkout_onepage_index> with <onestepcheckout_index_index_flat_25columns> and </onestepcheckout_index_index_flat_25columns>. Also <reference name="checkout.onepage"> with <reference name="onestepcheckout"> and that should work. Remember, your module will depend upon this third party module that you have.

            – Adarsh Khatri
            Jun 29 '16 at 23:10


















          0














          Try this, here are the steps:



          Step 1: make config.xml in your module (app/code/local/Vendor/ModuleName/etc/config.xml) with the following content:



          <frontend>
          <layout>
          <updates>
          <addextrablock>
          <file>addextrablock.xml</file>
          </addextrablock>
          </updates>
          </layout>
          </frontend>


          Step 2: Then create your layout file app/design/frontend/base/default/layout/addextrablock.xml with the following content:



          <checkout_onepage_index>
          <reference name="checkout.onepage">
          <block type="vendorname_modulename/addextrablock" name="add.extra.block" as="add.extra.block" template="addextrablock/addextrablock.phtml" />
          </reference>
          </checkout_onepage_index>


          Step 3: Then create your template file app/design/frontend/base/default/template/addextrablock/addextrablock.phtml with the following content:



          "Add Extra Block"





          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f123229%2fmagento-1-9-add-block-to-one-step-checkout%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try this:



            <checkout_onepage_index>
            <reference name="head">
            <action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
            <action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
            </reference>
            <reference name="checkout.onepage">
            <block type="core/text_list" name="coupon.and.discount" as="coupon">
            <action method="insert">
            <block>checkout.cart.coupon</block>
            </action>
            <block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
            </block>
            </reference>
            </checkout_onepage_index>


            This should add your block in checkout page. However, you will have to find the standard place for your block.



            You may want to check <checkout_onepage_index translate="label"> node in "layout/checkout.xml" file.






            share|improve this answer























            • This doesn't work. Im not sure what to do. The one step checkout I use is a paid extension. Is there more information I can provide?

              – Mike Tim Turner
              Jun 29 '16 at 12:21











            • you need to find layout file for that extension and paste in your org qst.

              – Adarsh Khatri
              Jun 29 '16 at 12:45











            • Updated my question.

              – Mike Tim Turner
              Jun 29 '16 at 13:08











            • You can replace <checkout_onepage_index> and </checkout_onepage_index> with <onestepcheckout_index_index_flat_25columns> and </onestepcheckout_index_index_flat_25columns>. Also <reference name="checkout.onepage"> with <reference name="onestepcheckout"> and that should work. Remember, your module will depend upon this third party module that you have.

              – Adarsh Khatri
              Jun 29 '16 at 23:10















            0














            Try this:



            <checkout_onepage_index>
            <reference name="head">
            <action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
            <action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
            </reference>
            <reference name="checkout.onepage">
            <block type="core/text_list" name="coupon.and.discount" as="coupon">
            <action method="insert">
            <block>checkout.cart.coupon</block>
            </action>
            <block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
            </block>
            </reference>
            </checkout_onepage_index>


            This should add your block in checkout page. However, you will have to find the standard place for your block.



            You may want to check <checkout_onepage_index translate="label"> node in "layout/checkout.xml" file.






            share|improve this answer























            • This doesn't work. Im not sure what to do. The one step checkout I use is a paid extension. Is there more information I can provide?

              – Mike Tim Turner
              Jun 29 '16 at 12:21











            • you need to find layout file for that extension and paste in your org qst.

              – Adarsh Khatri
              Jun 29 '16 at 12:45











            • Updated my question.

              – Mike Tim Turner
              Jun 29 '16 at 13:08











            • You can replace <checkout_onepage_index> and </checkout_onepage_index> with <onestepcheckout_index_index_flat_25columns> and </onestepcheckout_index_index_flat_25columns>. Also <reference name="checkout.onepage"> with <reference name="onestepcheckout"> and that should work. Remember, your module will depend upon this third party module that you have.

              – Adarsh Khatri
              Jun 29 '16 at 23:10













            0












            0








            0







            Try this:



            <checkout_onepage_index>
            <reference name="head">
            <action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
            <action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
            </reference>
            <reference name="checkout.onepage">
            <block type="core/text_list" name="coupon.and.discount" as="coupon">
            <action method="insert">
            <block>checkout.cart.coupon</block>
            </action>
            <block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
            </block>
            </reference>
            </checkout_onepage_index>


            This should add your block in checkout page. However, you will have to find the standard place for your block.



            You may want to check <checkout_onepage_index translate="label"> node in "layout/checkout.xml" file.






            share|improve this answer













            Try this:



            <checkout_onepage_index>
            <reference name="head">
            <action method="addItem"><type>skin_css</type><name>css/ei/creditpoint/creditpoint.slider.css</name><params/></action>
            <action method="addItem"><type>skin_js</type><name>js/ei/creditpoint/creditpoint.slider.js</name><params/></action>
            </reference>
            <reference name="checkout.onepage">
            <block type="core/text_list" name="coupon.and.discount" as="coupon">
            <action method="insert">
            <block>checkout.cart.coupon</block>
            </action>
            <block type="creditpoint/creditpoint" name="creditpoints.cart.block" as ="creditpointblock" template="ei/creditpoint/checkout/cart/creditpoint_cart.phtml" before="checkout.cart.coupon"/>
            </block>
            </reference>
            </checkout_onepage_index>


            This should add your block in checkout page. However, you will have to find the standard place for your block.



            You may want to check <checkout_onepage_index translate="label"> node in "layout/checkout.xml" file.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 28 '16 at 23:20









            Adarsh KhatriAdarsh Khatri

            6,83511644




            6,83511644












            • This doesn't work. Im not sure what to do. The one step checkout I use is a paid extension. Is there more information I can provide?

              – Mike Tim Turner
              Jun 29 '16 at 12:21











            • you need to find layout file for that extension and paste in your org qst.

              – Adarsh Khatri
              Jun 29 '16 at 12:45











            • Updated my question.

              – Mike Tim Turner
              Jun 29 '16 at 13:08











            • You can replace <checkout_onepage_index> and </checkout_onepage_index> with <onestepcheckout_index_index_flat_25columns> and </onestepcheckout_index_index_flat_25columns>. Also <reference name="checkout.onepage"> with <reference name="onestepcheckout"> and that should work. Remember, your module will depend upon this third party module that you have.

              – Adarsh Khatri
              Jun 29 '16 at 23:10

















            • This doesn't work. Im not sure what to do. The one step checkout I use is a paid extension. Is there more information I can provide?

              – Mike Tim Turner
              Jun 29 '16 at 12:21











            • you need to find layout file for that extension and paste in your org qst.

              – Adarsh Khatri
              Jun 29 '16 at 12:45











            • Updated my question.

              – Mike Tim Turner
              Jun 29 '16 at 13:08











            • You can replace <checkout_onepage_index> and </checkout_onepage_index> with <onestepcheckout_index_index_flat_25columns> and </onestepcheckout_index_index_flat_25columns>. Also <reference name="checkout.onepage"> with <reference name="onestepcheckout"> and that should work. Remember, your module will depend upon this third party module that you have.

              – Adarsh Khatri
              Jun 29 '16 at 23:10
















            This doesn't work. Im not sure what to do. The one step checkout I use is a paid extension. Is there more information I can provide?

            – Mike Tim Turner
            Jun 29 '16 at 12:21





            This doesn't work. Im not sure what to do. The one step checkout I use is a paid extension. Is there more information I can provide?

            – Mike Tim Turner
            Jun 29 '16 at 12:21













            you need to find layout file for that extension and paste in your org qst.

            – Adarsh Khatri
            Jun 29 '16 at 12:45





            you need to find layout file for that extension and paste in your org qst.

            – Adarsh Khatri
            Jun 29 '16 at 12:45













            Updated my question.

            – Mike Tim Turner
            Jun 29 '16 at 13:08





            Updated my question.

            – Mike Tim Turner
            Jun 29 '16 at 13:08













            You can replace <checkout_onepage_index> and </checkout_onepage_index> with <onestepcheckout_index_index_flat_25columns> and </onestepcheckout_index_index_flat_25columns>. Also <reference name="checkout.onepage"> with <reference name="onestepcheckout"> and that should work. Remember, your module will depend upon this third party module that you have.

            – Adarsh Khatri
            Jun 29 '16 at 23:10





            You can replace <checkout_onepage_index> and </checkout_onepage_index> with <onestepcheckout_index_index_flat_25columns> and </onestepcheckout_index_index_flat_25columns>. Also <reference name="checkout.onepage"> with <reference name="onestepcheckout"> and that should work. Remember, your module will depend upon this third party module that you have.

            – Adarsh Khatri
            Jun 29 '16 at 23:10













            0














            Try this, here are the steps:



            Step 1: make config.xml in your module (app/code/local/Vendor/ModuleName/etc/config.xml) with the following content:



            <frontend>
            <layout>
            <updates>
            <addextrablock>
            <file>addextrablock.xml</file>
            </addextrablock>
            </updates>
            </layout>
            </frontend>


            Step 2: Then create your layout file app/design/frontend/base/default/layout/addextrablock.xml with the following content:



            <checkout_onepage_index>
            <reference name="checkout.onepage">
            <block type="vendorname_modulename/addextrablock" name="add.extra.block" as="add.extra.block" template="addextrablock/addextrablock.phtml" />
            </reference>
            </checkout_onepage_index>


            Step 3: Then create your template file app/design/frontend/base/default/template/addextrablock/addextrablock.phtml with the following content:



            "Add Extra Block"





            share|improve this answer



























              0














              Try this, here are the steps:



              Step 1: make config.xml in your module (app/code/local/Vendor/ModuleName/etc/config.xml) with the following content:



              <frontend>
              <layout>
              <updates>
              <addextrablock>
              <file>addextrablock.xml</file>
              </addextrablock>
              </updates>
              </layout>
              </frontend>


              Step 2: Then create your layout file app/design/frontend/base/default/layout/addextrablock.xml with the following content:



              <checkout_onepage_index>
              <reference name="checkout.onepage">
              <block type="vendorname_modulename/addextrablock" name="add.extra.block" as="add.extra.block" template="addextrablock/addextrablock.phtml" />
              </reference>
              </checkout_onepage_index>


              Step 3: Then create your template file app/design/frontend/base/default/template/addextrablock/addextrablock.phtml with the following content:



              "Add Extra Block"





              share|improve this answer

























                0












                0








                0







                Try this, here are the steps:



                Step 1: make config.xml in your module (app/code/local/Vendor/ModuleName/etc/config.xml) with the following content:



                <frontend>
                <layout>
                <updates>
                <addextrablock>
                <file>addextrablock.xml</file>
                </addextrablock>
                </updates>
                </layout>
                </frontend>


                Step 2: Then create your layout file app/design/frontend/base/default/layout/addextrablock.xml with the following content:



                <checkout_onepage_index>
                <reference name="checkout.onepage">
                <block type="vendorname_modulename/addextrablock" name="add.extra.block" as="add.extra.block" template="addextrablock/addextrablock.phtml" />
                </reference>
                </checkout_onepage_index>


                Step 3: Then create your template file app/design/frontend/base/default/template/addextrablock/addextrablock.phtml with the following content:



                "Add Extra Block"





                share|improve this answer













                Try this, here are the steps:



                Step 1: make config.xml in your module (app/code/local/Vendor/ModuleName/etc/config.xml) with the following content:



                <frontend>
                <layout>
                <updates>
                <addextrablock>
                <file>addextrablock.xml</file>
                </addextrablock>
                </updates>
                </layout>
                </frontend>


                Step 2: Then create your layout file app/design/frontend/base/default/layout/addextrablock.xml with the following content:



                <checkout_onepage_index>
                <reference name="checkout.onepage">
                <block type="vendorname_modulename/addextrablock" name="add.extra.block" as="add.extra.block" template="addextrablock/addextrablock.phtml" />
                </reference>
                </checkout_onepage_index>


                Step 3: Then create your template file app/design/frontend/base/default/template/addextrablock/addextrablock.phtml with the following content:



                "Add Extra Block"






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 26 '18 at 2:12









                Manish BhojwaniManish Bhojwani

                611




                611



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f123229%2fmagento-1-9-add-block-to-one-step-checkout%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form