Magento Marketplace extension - php

I have installed my extension marketplace in magento. When I install it the product description page does not displace as before. Pls can any1 suggest what can i do.
The main path for the description page is app/design/frontend/base/default/template/catalog/product/view.phtm
But when the extension is installed it goes into
frontend/base/default/template/marketplace/catalog/product/view.phtm
I want to get it to app/design/frontend/base/default/template/catalog/product/view.phtm.
How can I do it?

Switch on hints to get block class and .phtml.
Here you will get idea of parent block for this child block and so you will also get to know phtml associated to parent block.In this .phtml there will be a call to block child you need to map this block to your product.view.phtml
other way is to remove this marketplace view.phtml from source code as a fall back system Magento will take default view.phtml file

Related

Editing / customising Cart blocks in Magento 1.8.1

Hi I am trying to move some of the blocks around on the cart page, and have looted in loads of files and cant seem to find what I am looking to edit.
I want to reorganise the 5 blocks that display under the list of what is actually in the cart.
I have a Template Path Hints so I can see what blocks are there and where they are located, but I am beginning to wonder if this is more complicated than I first thought.
Does anyone have any suggestions on how I can tydy up this part of the page?
Please follow following steps-
1- find layout file in magento theme checkout.xml.
2- Find block name which you want to move.
3- Use insert after/before magento XML tag to move these blocks accordingly.
Note: kindly backup your files before editing.

How to move block generated by magento extensions in the layout?

We're using a magento extension to deal with back to stock notifications (Ebizmarts MageMonkey). This is generating a block in our product pages, when the product is out of stock.
Problem is, the block end up at the end of the main column of the product page, when we would like it to be in the right column of the page.
So, the question is, is there a clean way to move where a block generated by a magento extension (be it MageMonkey or any other) is displayed in a page WITHOUT changing the extension code ? Is there something i can do with a layout.xml file to change where it display, or is it tied to the extension itself ?
I'm still a beginner with magento, so i may be missing something.
Thanks in advance.
You need to enable your template path hints. To do this go to
System --> Configuration --> Developer --> Set template path hints to yes.
If you refresh the page you will see red blocks around your layout components. Find the lay-out block you want to move and open the file (probably a .phtml file). In there you will find something like this:
echo $this->getLayout()->createBlock('cms/block')->setBlockId('my-block')->toHtml();
Cut out that piece of code and place it anywhere you want it.

Breadcrumbs in Fishpig Magento/Wordpress

I have a Fishpig/Wordpress installation on my magento site. All works nicely apart from when I look at a child category page. For example if you visit:
http://www.kitronik.co.uk/blog/resources/
then click on a category eg E-Textiles:
http://www.kitronik.co.uk/blog/resources/e-textiles-tutorials-resources/
You see that there are no longer breadcrumbs. I can't see why there wouldn't be any for this page?
From looking at your site I can see that you have something custom going on with your breadcrumbs. On the Resources category, by default, the Magento WordPress Integration extension would insert a 'Blog' breadcrumb between the home page and Resources breadcrumb items.
As for the sub-category, the breadcrumbs are pretty much missing completely (other than the home item).
My recommendation would be to check your page/html/breadcrumbs.phtml. If this file is present in your custom theme, trying renaming it to breadcrumbs.phtml.old. This will allow the original breadcrumbs.phtml file to be used from base/default. If this resolves your problem, you know that custom code in your breadcrumbs.phtml was the problem.
Alternatively, do you have a Magento SEO extension installed that modifies your breadcrumbs? If so, you could try disabling this temporarily and seeing whether this resolves the problem.

Unable to Display Products in Magento

Our client is using custom search i.e., Searchperience at present they want to remove the custom search and enable the default magento search. While removing AOE_Searchperience related folders Products are not displaying at all. How can be this solved?
Perhaps you have not removed all the files and there is an XML file that is pointing to a template that doesn't exist.
Are you concerned with the category page or the product page or both?
If everything is displaying on the category page except the products then I suggest you add a quick echo('products would be here'); as the first line of code in the file /app/design/frontend/[your theme or base]/catalog/product/list.phtml
if you can see that string in your shop you know you have identified the correct phtml file and you should check to see if the product collection is populated.
if you do not see the string then you need to work out which list.phtml is being called by Magento. I would search my files for list.phtml but turning on Magento's system->configuration->developer->debug->template path hints (and add block names to hints) will expose which .phtml file is being called and what its block class is - that will help you flesh out if the wrong .phtml file is being used or if it is of the wrong class.
If the correct list.phtml is being called but the product collection is empty then there is something funny going on.
To remedy Magento behaving funny:
log out of the admin area and log back into the admin area
turn compilation off
turn compilation back on
re-index everything
refresh all the Magento caches including the Magento cache and the cache storage
refresh any external caches
try to refresh the page and see if that helped.
If that didn't help, switch to the default Magento theme and repeat the steps above. If the product still aren't there even in the default theme then it suggests there are still some module files getting in the way or maybe the core files have been changed but that would be very odd. Start with the .phtml and the block class (discerned from the debug hints mentioned above and follow the code back until you figure out why the category page has an empty product collection)
If the default Magento theme does display the product then you know your fault is theme specific so turn your theme back on and study the file local.xml very very carefully.

Change product view magento

We have a magento store with the magestore auction module installed.
When we click a category it still loads the theme/catalog/product/list.phtml instead of theme/auction/list.phtml
I have tried copy pasting the code from the auction template to another , this didn't suffice since it still got it's _productCollection from the Local/Mage/Catalog/Block/List.php instead of Local/MageStore/Auction/Block/List.php ... which doesn't have the right filters etc.
Any idea how i should solve this ?
How are your theme directories structured? In case it looks like app/design/frontend//default or so and your Auction extensions design files are not in base, you may need to copy some of its contents to your template directory.
Try first copying the following directories to your theme folder:
app/design/frontend/default/default/layout/auction-extension.xml
This file takes care of showing theme/auction/list.phtml instead of theme/catalog/product/list.phtml
app/design/frontend/default/default/template/auction-extension
The reason why it just displays the default list.phtml instead of your auction's list.phtml

Categories