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.
Related
My question is simple, I have avada theme installed on wordpress and I use woocommerce as my plugin, the question is: how can I have those 3 fields one under the other?
Billing address, Shipping Address and Review & Payment not to be on columns (steps) like is now.
Here is a print screen to see how I see the columns now. Thank you in advance :)
Step One: Download Filezilla
To achieve your goals here, you are going to need to access your web files, on your server. One of the ways you can achieve this, is by downloading FileZilla. Once downloaded, you can enter your login credentials on the opening screen, to access your web files. Unfortunately, this method is not the most secure. Follow this article, which shows you how to access your webfiles, via Filezilla, more securely. It looks more complicated than it actually is.
Step Two: Create a Child Theme
Once you are all logged in, you are going to need to create a Child Theme. What you are doing here, is essentially creating a series of overrides. When someone heads to your website, the Parent Theme loads in the background and then the Child Theme loads, overriding the desired Parent Theme files, prior to displaying the content in the browser.
You can edit the Parent Theme files directly but this would not be a good idea. Firstly, it will be more difficult to resolve any errors, should you make a mistake. Secondly, any edits you create will be removed whenever you upload any Theme updates. As good practice, you want to leave the Parent Theme files alone and only place your own customisations in your Child Theme.
Step Three: Create your overrides
Your next step, is all about creating your overrides. To find the location the files you will need to override, head into the following file directory:
wp-content > themes > theme-name > woocommerce
Drag and drop the 'woocommerce' folder onto your computer. This will not remove the 'woocommerce' from the Parent Theme, so do not worry about that.
Then head into your Child Theme and drag the 'woocommerce' folder into your Child Theme.
Step Four: Alter the information
Due to every theme being different, it is not possible for me to tell you exactly which WooCommerce file needs to be edited here or where in each file, you need to place your modification(s). As an educated guess, you may need to edit files such as:
form-shipping.php
form-billing.php
review-order.php
payment.php
payment-method.php
form-pay.php
Focusing on the WooCommerce files you dragged and dropped to your computer, you will need to open each file, using a piece of software, such as [Notepad++].4 Simply right click on each file and select 'Open with Notepad++'. You will then need to spend a little time identifying which file and where in that file, you need to perform your modification(s). When you do each modification, simply drag the file back over into the 'woocommerce' folder within your Child Theme and refresh your browser to see if the changes have occurred. This will require some trial and error.
Step Five: Deleting unmodified files
Once you have successfully achieved your goal(s), delete all of the 'woocommerce' files, within your Child Theme, which you have not modified. This will ensure that the only WooCommerce files, in your Child Theme, are only those which you have modified.
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.
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
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.
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