Search Results
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 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
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 |
It should be used for questions regarding the catalog module.
6
votes
Accepted
Add all flat-attributes to product collection?
$collection
->addAttributeToSelect(
Mage::getSingleton('catalog/config')->getProductAttributes()
);
This is for example used in Mage_Catalog_Model_Layer::prepareProductCollection. …
5
votes
2
answers
2k
views
Add all flat-attributes to product collection?
How can I get a catalog/product collection with all attributes which are selected to be "used in product listing", i.e. are in the flat table? …
0
votes
Attributes missing when a product is loaded via grouped products
Make sure that entity_type_id is set properly to 4 in catalog_product_entity_int. While is this not needed while loading the product normally, in this specific case it seems to matter.
1
vote
2
answers
666
views
Tier Prices for Specific Increments
We are selling articles that should be sold cheaper if sold in specific multiplies (10 pieces, 20 pieces, ...).
When setting a tier price, it is only possible to set this price for "> 10" items and 1 …
1
vote
2
answers
1k
views
Is it possible to define the SKU only to be unique on website level (not globally)
In the store, the store views / website's products are kept separated.
To avoid overlap of SKUs, we have to approaches:
Add a prefix during import (but we might need to remove that when displaying) …
1
vote
2
answers
326
views
Custom Attribute no longer available in the TopMenu since Magento 2.1
\Helper\Category
public function aroundGetCategoryUrl(\Magento\Catalog\Helper\Category $subject, \Closure $proceed, $category) {
if ($category instanceof \Magento\Catalog\Model\Category) { … \Magento\Catalog\Model\Indexer\FlatTest::testCreateCategory
*/
/** @var \Magento\Catalog\Model\Category $category */
$category = \Magento\TestFramework\Helper\Bootstrap::getObjectManager …
0
votes
Custom Attribute no longer available in the TopMenu since Magento 2.1
The real problem is, that in catalog 101.0.0 of Magento 2.1 in difference to Magento 2.0's catalog (100.x.x) is, that the category tree is loaded in
\Magento\Catalog\Plugin\Block\Topmenu::getCategoryTree … which does not use the Magento\Catalog\Model\ResourceModel\Category\Tree collection but the Magento\Catalog\Model\ResourceModel\Category\Collection which does not adhere to catalog_attributes.xml as Anton …
0
votes
1
answer
272
views
Attributes missing when a product is loaded via grouped products
I have some simple products which are associated to a grouped product.
If I load the simple product separately, the attribute tax_class_id is set, but if the product is contained in a grouped product …
5
votes
3
answers
5k
views
How does the Sort Order of Products in Subcategories work?
When adding a product to a category, a sorting order value can be specified.
Imaging now we have a Category "P" set to "Anchor" and various categories "C1" and "C2" which are childs of "P".
How is t …
0
votes
Accepted
Product Update with Url_Key & Store_Id Attribute Already Exists error in csv import with mag...
Before EE 1.13.1.0 there are problems to import products with same names that lead to the same URL key. Upgrade to EE 1.13.1.0 which adds the product ID to the URL Key.
4
votes
5
answers
10k
views
Integrate CMS Pages and Others to the Main Menu
I think this is a quite common problem: There are normal products categories but also some additional CMS pages which could be included in the main shop navigation.
In some shops I have seen the solu …
8
votes
Accepted
Hide Attributes and Other Fields in Product Edit Backend
This is possible with observing the events core_block_abstract_prepare_layout_before (method removeAttributes()) and core_block_abstract_prepare_layout_after (method removeTabs()).
remark: I am putti …
-1
votes
Hide Attributes and Other Fields in Product Edit Backend
Free module on Magento connect - untested and a bit old (Magento 1.6)
http://www.magentocommerce.com/magento-connect/product-fields-permission-3864.html
10
votes
4
answers
17k
views
Hide Attributes and Other Fields in Product Edit Backend
To make editing of products (and maybe also categories) for the shop owner easier, we would like to hide some unnecessary tabs and fields from some users in the admin backend.
This means: Hiding some …
11
votes
3
answers
12k
views
Find out to which categories a product belongs to
I opened a product in the backend, but when I switch to the categories tab, the category tree is fully collapsed. I would have to expand all categories to see in which ones the product is in.
How can …