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.
3
votes
How to load category using url_key and parent catgory_id?
You can load the attributes collection and get it's first element:
$categories = Mage::getResourceModel('catalog/category_collection');
$categories->addAttributeToSelect('*');
$categories->addAttributeToFilter …
3
votes
Magento Catalog Search extension for searching local products
For the sql query and actual product collection check the catalogsearch/layer model, method getProductCollection.
2
votes
Accepted
Sort products by alphabets first and numbers last on listing page
File: app\code\local\Amasty\Sorting\Block\Catalog\Product\List\Toolbar.php (extends Mage_Catalog_Block_Product_List_Toolbar)
Method: setCollection
parent::setCollection($collection);
if ( …
1
vote
How to Get Recently Viewed Products in Magento 2 Using Customer Entity Id
You can use default table report_event to get information about visited pages.
All product IDs saved at the column object_id, customer id saved at subject_id.
You need to get all records with event_ …