Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 146

Questions related to Category Products Management and the relation between categories and products.

1
vote
Set 1, retrieves all products assigned to the category even if they are disabled or they not visible. but you don't get the name or description because you don't have the ->addAttributeToSelect('*') s …
answered Aug 11 '15 by Marius
2
votes
You should not base your search on the category names since they can be changed or different on store views. Use the ids. You can get the ids of the categories associated to a product like this: $pro …
answered Aug 12 '15 by Marius
3
votes
This is not a bug, it's a feature. The categories with the attribute Is Anchor set to Yes display the products in the subcategories also. If you don't want this to happen, set Is Anchor to No. You may …
answered Oct 31 '14 by Marius
0
votes
You can copy the file app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml to your theme and replace this: <select onchange="setLocation(this.value)"> <?php fore …
answered Sep 4 '15 by Marius
0
votes
Not 100% sure if this what you need, but I can recommend you this free extension: https://github.com/tzyganu/rule-products This extension allows you to create separate product lists based on rules (wi …
answered Aug 30 '17 by Marius
0
votes
This looks like an insert into the catalog_product_entity table. This table has 8 columns by default. But in your case it tries to insert 9 parameters. The last one is strange. I have a feeling that t …
answered May 17 '19 by Marius
2
votes
You don't need to put products in the top level categories. Put them where ever you want. But if you want to see the lower level category products in the higher level categories you can simply mark th …
answered Apr 23 '15 by Marius
2
votes
I bet you are trying to list the reviews in the product list page. in case I'm right, it doesn't work like you are doing it. You cannot use Mage_Review_Block_Product_View_List for showing reviews in t …
answered Feb 10 '15 by Marius
0
votes
The simplest way is to do sql inserts directly. The product-category association is kept in the table catalog_category_product. So you just have to look for the entries with category_id the id of your …
answered May 12 '15 by Marius
1
vote
This is a very broad subject. I doubt you will get a fully working solution. But I can give you some tips on how I would do it. First I would add multiple image attributes for products. As many as you …
answered May 19 '15 by Marius
24
votes
you can inject in your block an instance of \Magento\Catalog\Model\CategoryFactory like this: protected $categoryFactory; public function __construct( .... \Magento\Catalog\Model\CategoryFact …
answered Jan 6 '16 by Marius
13
votes
$category = Mage::getModel('catalog/category')->load(176); $category->setPostedProducts(array()); $category->save();
answered Dec 7 '16 by Marius
0
votes
I can help you with the first part of the question. One simple product can be part of as many configurable products as you want. Let's say you have a product in 3 colors. This means you are going to h …
answered Apr 19 '17 by Marius
2
votes
To answer your question to why you still get the response as an object even if the collection does not contain any products... A product collection is an object by itself. It contains a lot of things …
answered Jun 14 '17 by Marius
0
votes
You can bulk edit all the products and mark them to appear on all the websites. You can do that from the product admin list, select all and select the action "update attributes" from the top right cor …
answered Oct 17 '16 by Marius

15 30 50 per page