Magento layered navigation position - magento

i bought one theme and i want to fix my layared navigation to work well.
I need help from which file i have to edit to fix my layered navigation to show after my menu.

First you should find correct template file,then override the template within your theme, then finally rearrange the code so that it displays beneath the vertical navigation. The following may (possibly) work for you. But I don't know what type of theme you are using.
go to your magento backend url, then go to system->configuration->developer then open the debug panel.
Change the current configuration scope to 'Main Website'. Upper left corner of config page.
This should add some items to the debug panel. Set template path hints to 'yes'.
go back to the website and find the phtml file that controls your nav.
copy the file into the theme your using using the same folder structure.
edit that code.
PS another solution may be available to alter the layout files of your site. they get overridden in a similar fashion to phtml files.

Related

Magento, how to change home page?

I see that you can set a cms home page at "Default Pages" at admin panel (system/configuration/web) but I want a whole template including [html][head][body] tags to be shown, is this possible?
I can't do it via (CMS/Pages) as it deletes/modifies the code.. Even when I set it on "empty" don't really understand it..
Help would be much appreciated, cheers!
The file that you want is the layout file. If you need to add new layout of your home page then you can make a new layout file using following link
http://rakeshwebdev.wordpress.com/2014/02/13/add-new-custom-page-layout-in-magento-1-7/
Then after making layout while creating CMS Page go to layout section and choose your created layout. Then your home page will have what you want.
Note: By default header, footer all these are kept in different file and called from the 1column.phtml etc. So it will be always better to keep it that way only. As we always should follow Magento programming methodology.

Magento, category, details button

I'm trying to teach myself Magento, and basic programming.
In the product lists I have, beside the "add to cart" button is a "Details" button. It has a typo in the label, and says "Detalis".
I need to fix this, but I can't find where/which file it is in. Can anyone point me in the right direction?
Generally,product list layout came from list.phtml file.
file location:app/design/frontend/default/my_theme/template/catalog/product/list.phtml
(or)
Please enable the path hints via admin panel.It's show all block paths.
How do I turn on template path hints?
To turn on template path hints in Magento:
log into the magento back-end admin
Go to System -> Configuration in the main menu
Go to Developer on the bottom left under ADVANCED
Switch to the store view on the top left to your current website or
store view.
Under the Debug tab of the same Developer config page you will see a
new option appear that will allow you to turn on/off template path
hints.
Remember to clear your cache.
Generally, I believe that the templates associated with products would be located in the
app/design/frontend/default/your_theme/template/catalog/product/
However, I am unsure of your site template files etc, especially if you are doing things yourself.
To make your life easier, I would suggest installing a program called Agent Ransack which I have found to be invaluable when searching for a needle in a haystack.

magento; diasble blocks on product page

I have a slider on my home page. Thats correct but when I go to product page you see also the slider. Where can I turns this off?
I want it only on the home page.
Thanks!!
Use latest version of magento and the Magikshop theme from Themeforest.
First of all, have you installed the seperate extension for slider or it comes with your theme? If it was default provided by your theme.Then you can find the setting to configure the slider in
"System->configuration" in your admin panel.
Search for the banner or slider you may get the setting there to select which page you want to show the slider.
The setting may be different according to the slider.
If you have installed the extension yourself then you may find the banner/slider menu in the admin panel.
Hope this will help.
If the slider is a widget, you should be able to specify the pages that show a widget instance. The widgets that are in use can be found in the CMS section of the Magento Admin panel.
If the slider is a block you probably need to disable/remove/unset that block from your product detail page. To disable block on a particular page, you need to edit your layout Xml file. These files are most probably found in the following folder:
app/design/frontend/THEME/default/layout/
How to unset a block is described, e.g. here: Magento - remove block using update XML

Magento navigation menu but not added as Category

I am very new in Magento.Actually we have a client who has purchased a Magento theme and top navigation of theme is displaying some menu links like delivery,Contact Us and these are not added as Categories.May be hard coded in the theme.Can anyone tell from which file these links are appearing so that i can edit them.
Use template path hints to find out where they are.
http://www.pauldonnelly.net/magento-turning-on-template-path-hints/

How to edit product page template in Magento

I want to customize the product page template file on my Magento site. I couldn't find a way to customize my product page template. Anybody please specify the exact file and the location of that file. I am using Magento version 1.7.0.2
You can find all the templates related to product view in the following directory.
Magento/app/design/frontend/default/your_theme/template/catalog/product/
You can customize more (if you want to know which template is for that particular block) with template path hints
http://www.pauldonnelly.net/magento-turning-on-template-path-hints/
UPDATE:
Copying content from the above link, in case the link may no longer exist.
What is Template Path hints
Template Path Hints are little tags which would lie on top of your shop frontend. These little tags enable you to view where exactly the code of a specific element is stored within your file structure. Bottom line Template Path Hints saves you alot of frustration.
How to turn on Template Path Hints?
Open the admin control panel
Open the system tab and select configuration
Select Main Website or Name of your website (NOT DEFAULT CONFIG) from the Current Configuration Scope drop down
Select Developer on the left sidebar
Open the Debug drop down
Set Template Path Hints To Yes
Click on Save Config to save down your changes

Resources