Friday, March 11, 2011

Magento - Disappearing CheckOut Button

For a while now I have had a phantom problem with the Check Out button disappearing in the final step of the Magento purchase process. This is a huge problem. Over the past six months I have had only two or three people call me with this problem and once I had them hover they saw the button and jumped off the phone like it was on fire. So unable to gather data on the problem, and unable to see it myself on any of the browsers on multiple computers. My concern is how many others may be having the problem that I am not catching and then they just go buy elsewhere.




Today I finally found a fix. Apparently the problem only occurs in Internet Explorer 8, but not consistently. If you are also having this problem on your Magento install the fix I found from Saruqui is:


to add this code:

<block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
to this page  /app/design/frontend/base/default/layout/checkout.xml

AND the block of code would then look like this:

<!--One page checkout order review block-->

    <
checkout_onepage_review>
        <!-- 
Mage_Checkout -->
        <
remove name="right"/>
        <
remove name="left"/>

        <
block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
            <
action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
            <
action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
            <
action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
            <
block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
            <
block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before"/>
            <
block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
        </
block>
    </
checkout_onepage_review>

I hope this helps someone else having the same problem :)

2 comments:

  1. Hello everyone,
    I installed Magento (ver. 1.5.0.1) and it worked for a month but now when I press on products gives me the error message.
    I have already emptied the cache and reindex but unfortunately the site does not work.
    Yesterday I changed the name to the main page from “Home page” to “Sabrinacretions Megastore” but today I reinsert the name “Home page”.
    I also launched the attachment in the root to export the products to a price comparison site
    Maybe is this change that created the error?
    Can anyone help me? red face
    The problem is visible in this link pressing on products.
    http://www.sabrinacreations.it
    thanks
    Sabrinacretions

    ReplyDelete
  2. Sabrina - I am wondering what the error message is that you are receiving. Could be any of a zillion things.

    You can look here for some common fixes: http://fooit.blogspot.com/2010/09/magento-common-fixes.html

    And if you need some professional debugging assistance feel free to email me kim at foowebs.com and I can get this working for you.

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...
Web Design & Marketing - Click and get an instant quote on your project