Magento: Order detail page is not showing - magento

Order details page isn't showing any data, left bar , header , footer are present on the page. I enabled error log but there isn't error.
If I change theme to other theme, I can see details but when I change it to hellowired theme, nothing is there.
I don't understand whats wrong going on, what I'm supposing is some other person played with code or changed something which is causing this issue, and now I'm totally unable to understand where to proceed from.
Its simply complicated. Without any error how can I reach at that point in Magento where there are so many files in it with vast and complicated structure.
Any help would act as pain relief :P. Is there anyone who can suggest anything.

If it's working with default theme, that means your custom theme "helloweird" may have something wrong in the layout files.
If you are referring to the checkout page you should look in the file
app/design/frontend/helloweird/helloweird/layout/checkout.xml .
If you are referring to account order history details then you should look in the customer.xml
The path to the layout folder of your theme may differ.
You will not receive errors if the layout xml files have something wrong.

first of all you have to check checkout.xml FROM app/design/frontend/YOUR_PACKAGE/YOUR_THEME/layout
if it's contain checkout_onepage_success block if not then you have to copy these block from base
<checkout_onepage_success translate="label">
<label>One Page Checkout Success</label>
<reference name="root">
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
</reference>
<reference name="content">
<block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
</reference>
</checkout_onepage_success>
let me know if you have still problem

Related

Magento Store - Cannot Edit Recently Viewed Block

First post on StackExchange so I appreciate any help I can get. I currently am reskinning/editing a Magento store for a client, but I can't seem to figure out how to edit or remove the "Recently Viewed" Tab on the left side. You will see there are duplicates and I want to remove one of them.
Site: http://dev.turboharp.com/online-store/what-s-new-1.html
I've looked throughout the static blocks and theme settings and can't find anything to edit this part of the theme. Perhaps it is part of the template files? If so I don't know where to look. Any help would be GREATLY appreciated.
Add the following code in theme local.xml OR in catalog.xml:
<default>
<reference name="left">
<remove name="right.reports.product.viewed" />
</reference>
</default>
Basically you need to add the following code line
<remove name="right.reports.product.viewed" />
in left block reference.
Hope this help !!

How to remove tab from child theme added in custom default theme?

I know, confusing title..
So basically I have an custom theme. The files I'm gonna talk about it located like below :
frontend/custom/default/layout/local.xml
frontend/custom/blue/layout/generallayout.xml
In local.xml, I have added a tab like this
<action method="addTab" translate="title" module="tag"><alias>product.tags</alias><title>Product Tags</title><block>tag/product_list</block><template>tag/list.phtml</template></action>
Now I wanna remove this tab in blue/generallayout.xml. So I added :
<catalog_product_view>
<reference name="product.info.tabs">
<action method="unsetChild"><name>product.tags</name></action>
</reference>
</catalog_product_view>
The problem is, this is not working cause I think layout.xml renders after generallayout.xml. So there isnt anything to remove while in generallayout.xml. How I achieve removing the tab ?
I'm sure there isnt anything wrong with what I wrote cause I copied the second snipped to local.xml and I successfully added then removed the tab.
For reference, I couldn't resolve this with this method.
I looked at the magento's core php files and saw that 'local.xml' always renders last. No way to change it without overwriting the core files.

Magento: Can't make the search bar appear

I'm trying to make a search bar appear and I can't.
Not only in the header but also in any page if I try to paste the basic search bar code, nothing will appear, can someone tell me where should I check to see if I'm missing any code?
in that case, what code and where should I add to finally be able to integrate a search bar in my header / home page or wherever?
{{block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"}}
Note: this code didn't work in any page whatsoever
Also, for some reason I seem to be missing a lot of options from plugins and magento itself (Look at hot the banner slider only has one option and when I try to edit a Slider I also get alot less options than what the plugin has to offer)
http://screencast.com/t/hsH9scDo4
Check your store view in System>Configuration>Design>Themes and see what it says there as the templates and layout name. (not to be confused with system>design). Make sure it says default/modern or just modern.
You should try adding the search element via xml in a custom layout file. For that create a local.xml file in your theme layout folder and paste following code for adding the search bar to the header:
<reference name="head">
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
</reference>
Put that code under the layout/default xml tags, and don't forget to add addChildHtml('topSearch') to your .phtml head file.

Whats the proper way to fix Magento Wishlist Link Points to Root?

Magento's (1.5.1.0) cms_footer_links link to wishlist is incorrect: it points to the web root instead of "/wishlist". I have been able to apply a temporary fix (on wishlist.xml: the commented action was replaced by the uncommented action below it)
<reference name="top.links">
<block type="wishlist/links" name="wishlist_link"/>
<!-- <action method="addLinkBlock"><blockName>wishlist_link</blockName></action> -->
<action method="addLink" translate="label title"><label>My Wishlist</label><url>wishlist</url><title>My Wishlist</title><prepare/><urlParams/><position>20</position></action>
</reference>
Fixing it this way naturally doesnt show the number of items in the wishlist on the link. How do I go about fixing <blockName>wishlist_link</blockName> without changing the core xml responsible for it? I imagine it can be done via local.xml (this did not work), but what is the syntax for doing that?
An alternative solution would be to find the reason why it stopped working, but that can be a much more daunting task than modifying local.xml. I have been able to find other people with the exact same problem on the magento forum (1, 2), but I've given up on asking for help there...

Magento - updating catalog.xml

I'm trying to update a magento theme (the theme name is blank_seo), and i'm trying to change the product page default template to 3 columns. I've tried updating the app/design/frontend/default/blank_seo/layout/catalog.xml file. but so far nothing is working.
The only solution that i've found is manually changing the 'Page Layout' dropbox to 3 columns. If anyone has a simpler/quicker way of doing this (or a reason why my editing of catalog.xml doesn't work), I'd be extremely thankful!
Just looking at the code I have, I have been able to do this without any issue, which part of the catalog.xml file are you changing? It should be the <catalog_product_view> element like so:
<catalog_product_view translate="label">
<label>Catalog Product View (Any)</label>
<!-- Mage_Catalog -->
<reference name="root">
<action method="setTemplate"><template>page/1column-productview.phtml</template></action>
</reference>
....
</catalog_product_view>
I have a custom template set up in my system for the product page, as you can see.
Also, make sure you refresh your cache and check your logs to ensure you are not missing any errors.

Resources