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.9
6
votes
Accepted
Magento ECG discourage $_FILES superglobal
use below in place of $_FILES
try {
$uploader = Mage::getModel('core/file_uploader', 'field_name');
$uploader->setAllowedExtensions(array('jpg', 'jpeg', 'gif'));
$result = $uploader->save …
2
votes
1
answer
245
views
After changing cookie path, customers where unable to login in account and checkout page
I've just changed cookie path settings in magento admin. After this, on storefront, I'm unable to login as customer or on checkout page (on checkout page it redirects to empty cart). However if I open …
3
votes
2
answers
3k
views
how to get admin user access level in magento?
Is there a way to know the access level of the current logged in user to see if the user is granted with "all" or "customized" access role?
i can get the user role data but i can't seem to understand …
1
vote
1
answer
899
views
using event after catalog collection load doesn't get the count right
I'm trying to modify items in a collection on page load (catalog) and using the event: catalog_product_collection_load_after
and the code for the event is :
$observer->getCollection()
- …
1
vote
Accepted
check group product in cart programatically
get cart items, then in loop you can check parent Id by child for item (product):
Mage::getModel('catalog/product_type_grouped')->getParentIdsByChild($productId);
5
votes
Accepted
convert datatype varchar to in magento collection
Mage::getResourceModel('customizebundles/customizebundles_collection')
->distinct(true)->addFieldToSelect('validity')
->setOrder(new Zend_Db_Expr('cast(validity as unsigned)'), 'asc');
u …