I have tried to remove layered navigation on www.example.com/checkout/onepage/ by using checkout.xml using following code
category_filter
But it still remains there,I want to remove it only from checkout page only are keep it on other pages.What I have to do here ???
Please check following thing:
in your current theme's checkout.xml search for handler <checkout_onepage_index translate="label"> and add following line <remove name="left"/>. if in current theme no checkout.xml then copy paste checkout.xml file from base theme and add it to your current theme and then do changes. Do not forget to clear cache!!
If option-1 is not works then right click on left side panel and check in main div what class is assigned and try to find that block name and then add
In worst case you can change your checkout onepage layout from 2column-left.phtml to 1column.phtml. To do create local.xml file in your layout directory and add following code and clear cache.
Thanks
Related
I want to add extension - All Category Product Carousel in my Magento Website and it has RWD theme.The components of the extension are by default installing in:
app/design/frontend/default/default/layout
app/design/frontend/default/default/template
skin/frontend/default/default
I have moved the components in my theme folder i.e. RWD, and components are now in the following folders:
app/design/frontend/rwd/default/layout
app/design/frontend/rwd/default/template
skin/frontend/rwd/default
But after this also the extension is not working. I am new to Magento so does not know much things about it. Does anything else be done?
The products are there but css and js is not getting applied on them. The data is showing like: Please View Here
You can paste your extension key here. Now you can check if you have copied all the files to RWD.
The extension tell to insert below block in cms page. Include it in your cms->home page.
{{block type="pcarousel/pcarousel" pcarousel_id="carousel id" template="pcarousel/pcarousel.phtml"}}
After that navigate to system->permission->blocks->Add new block and add the type pcarousel/pcarousel there and allow it.
The css and js files were not loading in the main page, have added them externally. Now working
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.
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.
I am using Queldorei theme after installation it create its custom tab on top just beside system tab.
How can i remove this?
I do not want to remove theme.
Just go to theme module config.xml file, in this file find <menu> tag and comment this <menu> tag
after doing this clear your cache and you are done.
You can either
Comment out the <menu> in either adminhtml.xml or config.xml
Removing it using local.xml or a custom module (if you want to avoid making changes to that modules) see Magento remove "Promo" Item
There is this template file:
app/design/frontend/base/default/template/catalog/product/view.phtml
I first just changed it but I learned I should have made an overwrite somehow to avoid problems with updates. So I tried to find a tutorial for that but like this question I could not find any that works with Magento 1.7.0.2.
I know I have to create a new template folder and recreate the folder structure catalog/product.
But where do I place this folder?
How do I tell Magento to use it?
Can I somehow skip the xml config stuff?
Create a folder app/design/frontend/mycompany/default/template
Then you should can configure this so called new package/theme in the backend
System -> Configuration -> Design -> Package = mycompany
Themes: default (no change should be necessary)
Now your shop uses a completely new theme: yours! But all files that are not defined in your theme will be pulled from base/default (fallback)
To overwrite a template simply copy it to mycompany/default(with same directory structure, so: app/design/frontend/mycompany/default/template/catalog/product/view.phtml) and change whatever you have to change
There should be no need to create any XML files in the layout folder of your theme. In case you need to customize anything with the layout definitions, create a layout/local.xml and make layout updates there. Do not copy for example catalog.xml from the base/default to your theme as this can cause problems with a Magento update.
You should have defined your own theme and copied the exact path and file to your own theme and change it there.
if you want to use the same file the you can copy and paste from default theme to your theme.
But if you want to use your define file then you can use below code in local.xml
and put the newly created file in template folder of your or default theme.
<catalog_product_view>
<reference name="product.info">
<action method="setTemplate"><template>yourfolder/customfile.phtml</template></action>
</reference>
<catalog_product_view>
So above file will override default view.phtml
I hope this will help you.