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 |
Magento Community version 1.8
2
votes
Accepted
Add multiple custom tables for for a custom admin module
Take a look at using Data scripts instead of pushing your data in the install/sql. The setup process for them is very similar to the sql/ folder but rather data/ instead. See the SVN code linked.
A …
3
votes
Accepted
Get Only Cusomer ID from DB, better way?
Ultimately to adhere to Magento's ORM framework its best to go through the Customer models to get what you need. As long as you are not doing things like foreach loops with getModel()->load() then yo …
0
votes
Overriding adminhtml form container
You will most likely need to override the container class (Mage_Adminhtml_Block_Widget_Form_Container) itself, and be sure to define a unique block name or else it won't initiate, see:
https://githu …
0
votes
Order grid fails to load in admin panel
Enable Developer Mode if you haven't already.
Ensure logging is enabled in Magento: System > Configuration > Advanced > Developers
Double Check that no IP has been added under Allowed IPs.
Enable ful …
28
votes
Accepted
Full Page Cache on CE 1.8 - An FPC Magento Module? Varnish? Both?
There are two difficult things in computer science:
Naming things
Cache invalidation.
Hole punching falls into category #2 :)
General
The best approach is to start at the lower points of the st …
5
votes
AOE Profiler not displaying in footer
Which version of AOE Profiler are you using? version 0.4.0 wasn't to my liking either as the profiling is stored in BLOBs in the DB instead of just on screen like previous version version 0.3.0 and be …
3
votes
Accepted
How to show featured products from a certain category only?
Source: https://stackoverflow.com/a/12288000/158325
Found a working solution using Alan Storm's advice.
/template/custom/featured-product.phtml
<?php
$_categoryId = $this->getCategoryId();
$_pro …
0
votes
Bind subdomain to a Magento Controller
Since subdomains are above Magento in the grand scheme of things, NS A Record mapped with your name server. Then adding the mod_rewrite rule to the controller path as Martijn Schot mentioned would be …
3
votes
Accepted
Updating stock causing foreign key constraint fail
This won't work and is returning 0:
$product = Mage::getModel('catalog/product')->load($sku, 'sku');
Hence the FK constraint, note the 0 at the end of your error.
See:
Why can't I load a product …
1
vote
Browse only images while upload in phtml form in magento
You can specify the types if your block is initializing proper parent block classes:
$this->getConfig()->setFilters(array(
'images' => array(
'label' => Mage::helper('adminhtml')->__('Ima …
1
vote
Accepted
relation/communication between `getEstimateRates()` & `collectRates()` these methods to coll...
1,2) collectRates() will ultimately call getEstimateRates().
collectRates() is called for each shipping module.
It receives as parameter an object instance of Mage_Shipping_Model_Rate_Request
…
2
votes
how to login customer programmatically in checkout magento?
Perhaps try
$customer->loadByEmail($email);
$session = Mage::getSingleton("customer/session");
$session->loginById($customer->getId());
$session->setCustomerAsLoggedIn($customer);
Login into magen …
2
votes
Accepted
Search Term Redirect URL. Relative Path instead of Full URL Path?
A quick test by removing the JS validation validate-url seemed to work without any issues for me, so with that in mind:
/app/code/core/Mage/Adminhtml/Block/Catalog/Search/Edit/Form.php:
In function …
2
votes
How to disable customer registration?
Admin -> System -> Configuration -> General -> General -> Website Restrictions.
1
vote
Add custom column through mysql
In addition to clockworkgeek's point about later upgrades to the
system, you also avoid much of the complexity of Magento's EAV system
by using the framework.
User data in Magento is stru …