Display all product in magento homepage - magento-1.8

I have the category structure like this..
-Default Category (0)
--Ravi varma (2)
---Nature (2)
---Religious (0)
--Da Vinci (2)
--Michelangelo (1)
--Picasso(1)
Default category is the root category and all others are subcategory. Subcategory Ravi varma have again two subcategories. Now I want to display all the product in home page. For this I use the short code:
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}
But in home page nothing is displayed except the given message.
There are no products matching the selection.
For testing I add a product to the default category, then that product only displayed in home page. From this I realize that the products belonging to root category only display on home page using this short code. But I can't set all the category as root. So I want to display all the product from all category in home page. How can I do this??
I am using Magento ver. 1.8.1.0.

Add all product to the Default category.
Since all category are under the Default category all products should belongs to the Default category.
Then your category structure is like:
-Default Category (8)
--Ravi varma (2)
---Nature (2)
---Religious (0)
--Da Vinci (2)
--Michelangelo (1)
--Picasso(1)

Related

Search module is returning 2 kinds of links, one to the k2 component and one a real url

This is an old setup, and I'm not well-versed in K2. On our site we have two main categories. When I do a search, the resulting list shows two kinds of links. If it is Category 1, I get a full url like
http://oursite.com/index.php/category1/item/2113-wednesday-news-kick-off
If it is in Category 2, I get
http://oursite.com/index.php/component/k2/item/2120-necessary-inspections
The categories are exactly the same (same parameters and options selected) and they are both using the default layout. All the items are in K2 (none in Joomla Articles).
Both types of category items show in the menu as full urls, so ideally the search should return a full url for Category 2 items.
If you have any insight it would be greatly appreciated.

Can't add product to category, category missing - opencart

I'm using Opencart 2.0.1.1. I've added a new category with a filter, this is working great.
Now I want to add a product to that category, I've added the product, but in the Links tab I can't assign the product to the right category, because it is missing.
The newly created category is not showing. What could be the problem? Am I missing something?
The drop down list you see in the category field under links tab is only a helper list. It shows the first 5 alphabetically.
Type the first few letters of your category name and it will appear.

How to remove base price+ Custom price from product page in magento

Well to start with i am showing default custom option(Purity) price using the link's code
http://sunflowerwww.net/magento-custom-product-option-default-value/ through this i am able to show the default price.
There are to options 14 & 18, now i have made 18's price default on product page. The issue for me is the base price and default custom price add up. I don't want added price rather i just want to show the default custom price.
Please take look http://hottech.in/Royal.png
I googled it but found nothing related to this, i am not able to locate the product listing file.
waiting for some inputs
Thanks & Regards
1) You can use this module:
https://github.com/magebuzz/Magebuzz_Customoption
This module helps you set Default Value For Product Custom Option In
Magento. A blog about this module can be found here.
When you install the above mentioned module, you will see a
Product Options menu in your Magento admin. You can set the default custom
option for each product from there.
2) After that, set the price of your product as 0 (zero).
That's all.
Suppose,
You set your product price as $0.
You have two custom options with price $55 and $65.
You set the default chosen options for $55 (From Product Options menu in admin).
Then, custom option $55 will be automatically selected when you view the product page and your product price will be displayed as $55. When you select another custom option value, for e.g. $65 then $65 will be displayed as your product price.

Display Top Level Categories and Current Categories SubCategories in magento

When you hover over a category on the frontend, it displays the subcategories for this parent. When you click on the child category or the parent category, this subcategory listing disappears.
What I want is to always display the subcategory if the parent category is selected, or any of the subcategories is selected.
I have spent few days trying to figure this out and have given up. Tried going through the javascript as well, so that onClick it could display the subcategory as well. But that did not work.
I am using Magento 1.7.
Can someone please advice how I can achieve this top menu navigation?
Thanks,
Neet
Did you try to add "shown-sub" class to the active li child ul you want to show?
For example,
jQuery('#nav li.active>ul').addClass('shown-sub');

How to remove the duplicate items from the Taxonomy terms view in Drupal-6?

I am using Ubercart shopping cart for my site in Drupal. The website is restaurant website. For the Menu items, I have created 2 main categories as follows :
Lunch
Dinner
Now the main categories contains subcategories as follows :
Ensalades
Entremeses
Platos Principales and so on.
Now Most of the subcategories are common to both main categories e.g Ensalades and Entremeses are present in both Lunch and Dinner category.
I have created a view for my product categories page to display all categories products.
Below is the attached screenshot of my views what I have done so far.
Its working fine until I add a item in both the catgories i.e Lunch and Dinner.
Suppose if I add item names Luis Salad in Lunch - Ensalades and Dinner - Ensalades category.
When I view the Dinner page it shows Luis Salad item twice in that page. First for Dinner category and second time for Lunch category as the items has been added to the both categories.
I just want to know is anything wrong in my view or I have created categories wrongly.
One way which will help this problem is to create a new item for each category. But that is not the right way as we cannot have one product to be treated as different product for different categories.
Below I also attached my screenshot for my categories.
Thanks in advance.
I think that the better way is to create two vocabluaries: One for main categories and second for food type.
Main Vocabluary
Dinner
Lunch
...
Food type
Dessert
List item
...
So in views you can just sort by two taxonomy terms. Easiest way to create two display pages for each main category.

Resources