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
1
vote
Set Cron depending on user input in configuration
In your modules config.xml put the following:
<config>
<global>
<models>
<roomstoryinvoicecron>
<class>Roomstory_Invoice_Model</class>
</roomstoryinvoicec …
0
votes
Accepted
Magento Site Down with Integrity Constraint Violation
Simply removing or disabling the custom module will NOT revert the database changes made if you followed the Inchoo tutorial you had mentioned. You'll want to revert these changes to correct the prob …
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
…
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 …
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
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 …
4
votes
Accepted
Admin check if an admin user has administrator privileges - programmatically
Perhaps?
Mage::getSingleton('admin/session')->getUser()->getRole();
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 …
1
vote
How to add a admin grid
For what you are asking, I would suggest taking a look at Marius's Ultimate Module Creator.
https://github.com/tzyganu/moduleCreator
It will give you the most insight to achieve something very sim …
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 …
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 …
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 …
2
votes
How to disable customer registration?
Admin -> System -> Configuration -> General -> General -> Website Restrictions.
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 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 …