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

Magento Community version 1.8

5 votes

Find products without an attribute value

For NULL values, not empty ones you can also set condition like $collection = Mage::getModel('catalog/product') ->getCollection() ->addFieldToFilter('weight', array('null'=>true) ; …
Amasty's user avatar
  • 6,518
1 vote

Magento - set default filter in layered navigation

You need to update catalog/layer/filer/atribute.php model , method apply in the following way: 0) check the attribute code, if the code is our filter, continue 1) if the url is empty, we assume in s …
Amasty's user avatar
  • 6,518
0 votes
Accepted

What config setting have a selected to display this text at top of page

I belive the best solution in this case is not to guess, but to search :) 1) Go to MySQL and run the following query: SELECT * FROM `core_config_data` WHERE value LIKE "%store view head%"; 2) Go t …
Amasty's user avatar
  • 6,518
0 votes

Product Out of Stock Subscription in not working in product listing page in magento

Note var productAddToCartForm = new VarienForm('product_addtocart_form'); assumes there is one form at the page, however there are many forms. May be the code contain more logical errors I do not se …
Amasty's user avatar
  • 6,518
4 votes
Accepted

When getting a shipping quote I want to apply a formula adjusting the weight of an item

Try to use Mage_Shipping_Model_Shipping::collectRates method. It takes as a parameter shipping request Mage_Shipping_Model_Rate_Request $request And the request contains total products weight. So y …
Amasty's user avatar
  • 6,518
1 vote

Magento quick search results displaying all on one page

Most probably the toolbar block does not add limit to the sql query. For example because some other block load the collection before the toolbar. Search for $collection->getSize(); Or similar method …
Amasty's user avatar
  • 6,518
1 vote
Accepted

Adding External Javascript File in layout

Make sure you have uploaded the file to the right folder on the right server. Clear your browser cache. Check if the server uses some external cache. Make sure the file is readable by the web serve …
Amasty's user avatar
  • 6,518
17 votes
Accepted

How i can fix error Invalid backend model specified

In the table eav_attribute find rows with the field backend_model equal to given model and temporary remove them or change the model to the name of the existing class.
Amasty's user avatar
  • 6,518
1 vote

Event to add product attribute to quote item, just once and not on sales_quote_item_set_product

Set this attribute as "Used for Promo Rules" = "Yes" at the attribute edit page admin > attributes > manage attributes and it will be available in the quote.
Amasty's user avatar
  • 6,518
1 vote
Accepted

$filter->getLabel() appending layered navigation filter URL when used in observer

It's because you have old version of this navigation module installed: To prevent it, please upgrade or de-activate the module. Also you can just strip everything in curly brackets.
Amasty's user avatar
  • 6,518
1 vote
Accepted

How to delete a “not applied” catalog price rule?

Truncate all tables that starts from catalogrule_ and flush Magento cache (if you have no other rules). If yoг want to just remove the message please run delete FROM `core_flag` WHERE flag_code= …
Amasty's user avatar
  • 6,518
2 votes

Magento running out of memory

To see current memory limit you can use php function phpinfo() I assume setting memory limit with .htaccess file is not supported at the sever, so you can try other options: 1) In the file index.php …
Amasty's user avatar
  • 6,518
1 vote

URL contains "?" mark,the url redirect not working in Magento Enterprise1.13

You can use .htaccess for a few specific redirects, like if you want to redirect /page.php?id=4 to http://example.org/page/4 add the following lines RewriteEngine On RewriteCond %{REQUEST_URI} ^/pag …
Amasty's user avatar
  • 6,518
0 votes

Magento Search and only include products in categories

You can inner join table catalog_category_product to the search result collection I think. Its structure as below: +-------------+------------+----------+ | category_id | product_id | position | +--- …
Amasty's user avatar
  • 6,518
0 votes

How to add filter to category products(Show only with special price)

Special price is also attribute like the color. You can enable it for filtering via admin - catalog - attributes - manage attributes - special price - show in layered navigation
Amasty's user avatar
  • 6,518

15 30 50 per page