Skip to main content
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
Results tagged with
Search options not deleted user 12293

Questions related to Magento product collections.

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.
Amasty's user avatar
  • 6,518
1 vote
Accepted

Custom product listings based on data from 3rd party datasource

1) create a new magento module, that rewrites the catalog/layer model 2) make call to your datasource, get list of skus 3) in the getProductCollection add $collection->addAttributeToFilter('sku', a …
Amasty's user avatar
  • 6,518
1 vote

Access the Product Grid Collection from the Product Edit Page

When on a product grid page, you can remember in the session the list of ids ( not filters) and use them later at the product edit page. Limitations: 1) wont work for direct page access 2) need spec …
Amasty's user avatar
  • 6,518
1 vote

View,Clicks and Wishlist for specific Product in Magento

Views - number of views the product at the catalog page, homepage slider, in related products block. Clicks - number of product page open. Do you think you can get this information from google analy …
Amasty's user avatar
  • 6,518
1 vote

Layered Navigation: Price filter on custom collection

Price filter uses a bit different SQL query. It tries to avoid joining with the product entity table and replace it with the price index. As you are using layered navigation module, you need to modi …
Amasty's user avatar
  • 6,518
3 votes

How to check if a product is already in the cart

See app\code\core\Mage\Checkout\Block\Cart\Crosssell.php: protected function _getCartProductIds() { $ids = $this->getData('_cart_product_ids'); if (is_null($ids)) { $ids = array(); …
Amasty's user avatar
  • 6,518