Why is Magento only showing 22 products on the front when I have 409 configurable products? - magento

Im getting incredibly annoyed with my magento website, I have 4900 products 409 of them are configurable products, when I make a category in this case carpets and try and save the 4900 products to that category it makes a duplicate category called the exact same as the previous, now whats confusing is that I dont know how this is happening usually magento panics when it has 2 things the same, both these categories have the exact same ID its incredibly annoying and to top it off its only showing 22 products on the front in the category carpets, any ideas ??
I disabled the theme and just had the default theme to see if that was the problem its not.
You can check out this annoying website at http://192.163.235.139/carpets.html

Right, this answer makes no sense whatsoever, but Ive managed to fix it it had something to do with the qty and that all the simple products had nothing for quantity not even 0 so what you had to do was go into the simple product individually and just click save and thats it the products now appear on the page. its the biggest load of crap I have ever seen in my life.
so if your having this issue with your products go into a simple product change nothing and just click save and it works.

I had the same issue.
In my case it was a frontend bug. It's not possible to have two categories with the same id.
May be upgrade your version.

Related

Sort topmenu in Magento?

This is really driving me crazy. I have been trying for hours to get it right, but no luck!
All i want is to be able to sort the parent & subcategories in the topmenu of Magento. I tried a lot of custom coding, but all what Ive found seems to be out of date. Then i also tried to just move the categories order in the admin panel of Magento. This seems to work, but only for parent categories. It won't sort the subcategories. In addition, for some strange reason it will put the old order back again. So for instance, when i sorted the parent categories, it seems to work but when i refresh the admin page the old sorted categories are back and when i refresh the frontpage i see (indeed) the old (wrong) sorted categories back. Might have something to do with the cache ? It should be so simple (i hope:)). Is there anyone who can tell me how i can sort the categories and subcategories (custom, or by id, or anything else...)?
Thanks.
I feel these urls will help you in this case
http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/catalog/getting_and_using_categories_and_subcategories
How to sort a category list array alphabetically in Magento

magento cleaning my category to 2000 products

After updating my category or subcategory products disappearing from it. Strange because always are just 2000 products left. Cache, indexing not helping. If this make more sense actually category disappearing from product.
Open your logs, there is a PHP error about max_input_vars.

Magento CE 1.7.0.2 – Imported products do not show up in frontend

I've been battling with this issue for the last week now, and am really hoping someone here might be able to help me with it.
After repeatedly importing products from a CSV generated by a different (and slightly older) Magento store, using both the Import and the Dataflow/Import All Products tools, I can get them to show up in the backend, seemingly with all the data intact and with images and everything, but they simply will not show up in the frontend.
It seems that the only way to make them show up in the frontend is to save them from the admin product page, which I'd rather not make the client do on 1922 products. They do not show up if I add them to categories from the category manager, only (as far as I know) if I save them from the product manager page.
Also note that all products
are enabled
have stock quantity > 0, weight > 0 and price > 0
have stock availability = In Stock
have visibility = "Catalog, search"
have the correct website assigned to them
have the right tax class associated with them
In addition, the cache has been entirely disabled and I've re-indexed everything at least two dozen times. I've also tried running the following snippet of PHP:
$products = Mage::getModel('catalog/product')
->getCollection()
->addAttributeToSelect('*');
foreach ($products as $product) {
if ($product->isSaleable())
Mage::log("Sellable product: {$product->getId()}");
else
Mage::log("Unsellable product: {$product->getId()}");
}
and the log file subsequently contains nothing but "Sellable product: ...". I've also used the same product loop to set the website ID of the product and then save it, which also makes no difference. I've tried outputting the attribute values of various invisible products (using $product->getData()) both before and after saving through the product manager, but I cannot locate any differences whatsoever. I have not examined every MySQL table before and after saving, and frankly, I'd rather not have to do that.
I'm at wits' end. I don't know what else to try. I could re-import the product list for the umpteenth time, but I doubt it'll make a difference. I could try mass-updating the products again (using the product manager's "Actions" dropdown set to "Update Attributes"), but it's probably not going to help this time either. Does anyone have any ideas whatsoever?
My apologies if this is not the correct venue for this kind of question; feel free to point me in the right direction if that's the case.
UPDATE
Turns out that the products did not actually have the right website set, even though the admin panel clearly claimed so for all the products I looked at (none of which showed up in the frontend).
Solution: Manage Products > Select All, then select the action Update Attributes and add the products to the correct website(s). Don't forget to rebuild the indexes.
I had the same problem, so thank you for this answer you provided in your post:
UPDATE
Turns out that the products did not actually have the right website set, even though the admin panel clearly claimed so for all the products I looked at (none of which showed up in the frontend).
Solution: Manage Products > Select All, then select the action Update Attributes and add the products to the correct website(s). Don't forget to rebuild the indexes.
Just to add to this - I also had the same problem, however mine turned out to be the is_in_stock was either 0 or set to a qty value. Needs to be 0 or 1.
Just incase anyone has that issue.
Do you have gd php extension?
Install it (in CentOS):
yum install gd gd-devel php-gd
After execute this
service httpd restart
Best Regards

Magento 1.5.0.1 configurable products attributes not showing in front end

We have a Magento store on 1.5.0.1 Community Edition which uses configurable products with attribute sets to allow customers to select their preferred size and colour for a specific item (e.g., a shirt).
Each clothing range has its own attribute set, which was used to create the product, with simple products for each permutation of the product for stock keeping purposes.
We've compared all of the product's settings, and can't see any discrepancies between them, and yet one product range does not display the attribute drop-downs and add-to-cart button in the frontend, despite appearing in the frontend fine other than that.
I don't know if you have already found a solution, but after searching for a whole day, I've found what's causing the missing attributes in the front end for me... After deleting and readding simple products for a dozen times and making notes on the way I was quite sure that I correctly added simple and configurable products, so the problem has to be somewhere else. A casual look at the console in FireBug revealed a conflict in prototype.js... that's strange, since Magento comes with it. And I sure have not changed anything in it!
Did you at one point added jQuery to your Magento installation? If so, you HAVE to add 'jQuery.noComflict;' to the end of your jQuery file and the critical point is, to include the jQuery file BEFORE the prototype.js: The prototype.js is loaded by Magento in default/layout/page.xml at the beginning, so you have to add this line befor the prototype.js
jquery/jquery-1.2.6.noConflict.min.js
If you don't do that the drobdown item is shown but with not selectable entries, that's because the js/varien/product.js relies on the prototype.js to work. Without it your list won't be populated!
Hope it helps anyone searching for this mysterious problem... (the problem is also described here: Weird Chrome prototype/jQuery conflict)
Usually when the add-to-cart button does not display it is because your product has no inventory set. Remember that the configurable product needs to be set to in stock and the associated simple products have to have at least one item with non-zero inventory and be set as 'in stock'.

Magento: Fastest way to hide empty categories in Magento frontend?

What I'm trying to do seems trivial but I've been looking on Google for this for the past 3 hours and can't find it...
--> I'm just trying to list the categories of my website but hide those that are empty AND that all their subcategories are also empty (no products).
Shouldn't that be easy to do?? Everything I've found seems utterly complicated or custom-coded. Am I the only one that doesn't want to show empty categories?
Note: I'm using Magento 1.3.2.4, I don't want to manually hide categories in backend.
There is an article about that from Pratski :
Display Only If There Are Products In The Category

Resources