Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [admin]

Can denote questions related to Magento admin panel, admin session or admin user.

Filter by
Sorted by
Tagged with
2
votes
1answer
3k views

How can I get the selected value in the multiselect dropdown?

I have a three table in my database, article category and art_cat article has the id,name,status of the article category has id,name,status of the category art_cat has id,art_id and cat_id in the ...
1
vote
2answers
4k views

How can I get values from a database according to some fieldname?

I have a custom table in my database with three fields ie id a_id and cat_id I have an entry like this in the table. id a_id c_id 2 7 7 3 7 8 4 7 8 5 7 8 6 ...
2
votes
1answer
767 views

Is it possible to prevent store admins from ordering products that are out of stock?

Even with System > Config > Inventory > Backorders set to No Backorders, it seems to allow admins to place orders for items that are out of stock, but it gives an error message in red. I think in ...
2
votes
1answer
2k views

Add multiple custom tables for for a custom admin module

I have a custom admin mdoule. I need to store the datas of this admin module to 3 different custom tables. I have created admin module with one basic table and successfully stored basic informations ...
2
votes
1answer
4k views

Adding a button to top of page in category edit

I have found where the buttons (reset, delete and save) get added in app/design/adminhtml/default/default/template/catalog/category/edit/form.phtml: Line 28: <div class="content-header"> ...
1
vote
1answer
305 views

Magento administration - add maximum allowed price for order creation

I know that in "Mage_Sales_Helper_Data" class , there is a field "MAXIMUM_AVAILABLE_NUMBER" in order to control maximum allowed number for order price. I see the functionality in the cart section in ...
1
vote
1answer
985 views

How can I change the status using mass update function?

Hi all I am able to create a admin grid for my custom module. In this grid I also provide the mass update functionality, and everything is working fine, thanks to some good tutorials on the internet. ...
2
votes
3answers
11k views

How to Get Related Products in custom module admin grid?

I am working on Magento custom module admin grid I want to show product id and related product id and other product information. Please help me to do this.
0
votes
1answer
72 views

Debugging instantiated classes in Magento

In PHP there get_object_vars, get_class and methods that return information about the class, we can use the Magento Zend_Debug::dump(), Mage::log() and up XDebug, but during module development in ...
2
votes
1answer
479 views

Template is not displaying in tab of my custom module

I have an admin custom module in which there are three tabs present. First tab is use to collect basic informations of the module and second one is used for avanced information collection. I want ...
0
votes
1answer
842 views

Why Payment Data is copied from Quote to Order when reordering via Admin?

When I issue a reorder from Admin Panel, Magento copies Order Payment data on the new Quote object. This is confirmed by the code here. As a result, if I reorder an Order paid with PayPal into one ...
1
vote
3answers
20k views

Magento get store url in cms page

I want to get the store URL in cms page when I tried this {{store url='abc/efg/xxx/yyyy'}} It does not return the given URL. Its give output like this http://domain.com but I need to get like ...
2
votes
1answer
5k views

Custom admin-grid multiselect preselect saved values

I have a custom backend-grid for some shipping-methods and I have the following problem: Everytime I want to edit one of my grid-entries, the country-multi-select is resetted to blank. I´ve been ...
2
votes
1answer
721 views

admin/catalog_category/index very slow, large catalog of 20,000 skus [closed]

We currently have an issue on a site where certain admin requests are taking upwards of 40 seconds to complete. It has a large amount of SKUs (22,000), 1 store and also a number of custom modules. ...
3
votes
1answer
2k views

Does “Flush Magento Cache” refresh all caches?

On the Cache Management page in Magento admin, does clicking the "Flush Magento Cache" button do the same thing as selecting all the check-boxes in the grid, choosing the Refresh action and clicking ...
4
votes
2answers
1k views

grid joinTable alias problem in order by

I made in customers admin grid a join with sales_flat_order table: protected function _preparePage() { $this->getCollection()->joinTable('sales_flat_order', ...
-2
votes
1answer
91 views

How do I connect to database from admin?

I created a custom table in the database called "referrals" where I store generated referral codes and link them from user to user. Upon registration, it adds the data just fine and when you log in, ...
1
vote
2answers
962 views

Add JavaScript Tag on severals pages via a Magento custom module + Back Office

I'm trying for hours to create a Magento custom module which add a JavaScript Tag on only several pages of the website. The Js script that I would add in my pages must allow to get back values from ...
1
vote
1answer
347 views

Add the same product different times to an order in one step

It is possible, in Magento backend, to add different products to the order in one step: select the products, set the quantities, then add them to order at once. I always used simple products for this. ...
4
votes
1answer
2k views

Search API from external site

I'm very new to Magento and am trying to figure out/setup a search API for the products in our catalog for an external site. How do I enable the API in Magento to be able to call GET /api/rest/...
0
votes
1answer
469 views

Category edit page and ajax

I am adding some extra html to some input attributes in the category edit area by creating a new attribute input renderer type in my modules mysql install script: $installer->addAttribute( '...
0
votes
1answer
840 views

Is there any way to see order source in Orders table in magento admin?

I've google it, but I found only one thread in Magento Forum http://www.magentocommerce.com/boards/viewthread/40399/ but their forum engine always returns "Your message field is empty" error. That's ...
27
votes
4answers
32k views

How to avoid 404 error on new extension installation

It is a very common error that shows in Magento when you install a new extension with system.xml config: When you go to the System->Configuration->Extension tab, a 404 error is shown. You need ...
4
votes
1answer
4k views

programmatically create a custom variable

I followed the trace of a custom variable and I notice that it create entry on core_variable_value and core core_variable as well as in the logging table, I need a custom variable in one of my CMS ...
1
vote
2answers
7k views

Add custom block/div Order Details page

I have a custom module, whose content I need to show on Order Details page. Not under any new tab or something but just above the "Order Totals" div. How do I accomplish this without modifying any ...
1
vote
2answers
7k views

Adding extra tab to category editor

I am trying to add an extra tab to the top of the category edit page. The default ones are: General Information, Display Settings, Custom Design and Category Products. So I have created a new module ...
1
vote
1answer
69 views

Trying to override a non-core admin controller

So I have this module named Thatcompany_Module, and it has some admin controllers. I'm trying to override one of these controllers with my custom module, named Mycompany_MyModule This is what the ...
2
votes
2answers
5k views

How to change Max Depth of Top Category Navigation for specific store?

There is an admin setting called System -> Configuration -> Catalog -> Category Top Navigation -> Maximal Depth, which is only available in global scope. What is the reason of hiding this ...
0
votes
3answers
8k views

Responsive Theme for Magento Admin Panel [closed]

I am new to Magento. I wanted to know if it is possible to create a responsive theme for Magento Admin Panel. To be clear I am not asking responsive theme for the Store Front. I know there are plenty ...
1
vote
1answer
3k views

Which table contains settings for countries available for shipping

I'm trying to figure out, which database table is storing settings for enabled countries for shipping. I have to disable some countries with sql install script
1
vote
1answer
1k views

delete an image from media folder

Is there any method to delete files in magento? I have a custom module using which I can upload images to the folder media. Now I am planning to provide a delete option under each uploaded images(...
0
votes
1answer
310 views

Platform 1.8 login differences between localhost and 127.0.0.1

Will there be any difference if I login to my Magento admin panel by localhost or 127.0.0.1?
0
votes
1answer
166 views

What is the best way to show/hide special_price on frontend using custom attribute?

I am trying to figure out the best way implement a checkbox in Magento admin that will allow for users to select whether to display a special price on the frontend or not. I understand that this can ...
0
votes
2answers
1k views

Category URLs 404

Today just before lunch (around the time a reindex was being pushed through) the category urls started throwing up 404 errors. Site in question: http://www.awesomegti.com However, if you search a ...
5
votes
1answer
2k views

before=“Mage_Adminhtml” after=“Mage_Adminhtml”

I have been receiving a 404 on my admin module, after a lot of trouble shooting I realised it was something to do with this block of code in the config.xml file <admin> <routers> ...
1
vote
1answer
2k views

Admin Panel order grid: Multiple sort conditions?

I am wondering if it's possible to specify multiple sorting conditions for the order grid in the Admin Panel. Let's say for example I wanted to sort all orders first by their Bill to Name and then ...
4
votes
3answers
9k views

Is there a way to add Category column to admin Product Grid?

I am trying to add a column to a module that will shows products and the related category. I have been able to show the product names etc put I am not able to get the category name to show in the grid....
2
votes
2answers
3k views

Auto-split Magento shipments based on maximum weight

Here in Australia we have AusPost who will not ship anything above 20kg. On this particular site, there are often shipments much larger comprising of a lot of smaller products, say 1kg each. I would ...
0
votes
1answer
257 views

How can configure two tables for custom module?

I have a custom module. I am using this module to upload images through admin. I have 6 more form fields in my module. I am currently using one table to store values of these form fields. However as ...
0
votes
2answers
7k views

How can add a button for a particular tab in the admin section

I tried a lot and searched a lot. But couldn't find a way to add a button in a particular tab in the admin section. when examined the core files,I have found out that the following code is somehow ...
1
vote
0answers
1k views

Internal server error while creating invoice [closed]

I am getting a blank page while submitting invoice and when I am checking this in firebug to find some issue it is saying internal server error. But when I am clicking back button on browser, it is ...
5
votes
4answers
6k views

How to unserialize data from Sales_Flat_Order_Payment (additional_information) column to display in custom Grid?

I am looking for a way to display payment information in a Grid. I have noticed that there is a column additional_information inside sales_flat_order_payment table that contains most of the data I ...
6
votes
6answers
16k views

Integrity constraint violation: 1052 Column 'increment_id' in where clause is ambiguous

I am trying to create a customer grid module that accesses different table columns from sales_order information such as billing, payment method etc.. I have the grids show the correct data but when I ...
0
votes
3answers
2k views

Save event on Magento custom admin extension

is there any event in admin for when save item or save and continue button pressed in my custom extension?
0
votes
2answers
645 views

White Page and PHP error when accessing admin

I receive an error in my log files when I try to access the admin panel: PHP Fatal error: Call to a member function getResourceId() on a non-object in /var/www/magento/includes/src/Zend_Acl.php on ...
1
vote
1answer
373 views

Add mailto functionality in admin field

How can i new field in admin filed that contain mailto functionality $fieldset->addField('email', 'link', array( 'label' => Mage::helper('mumodule')->__('Email'), "target"=>"...
1
vote
1answer
185 views

How to make a namespaced admin controller

Synopsis I notice this is a hot topic and so I did do my research before posting this question, please read. I wanted to create myself an admin module and found a great article by Alan Storm, which ...
7
votes
2answers
4k views

dynamic key => value pair adminhtml setting for custom module

I have a custom module with adminhtml setting (system.xml), which allows the the user to assign a unique "code" to a specific shipping method. It looks something like this: As you can see, this is ...
10
votes
4answers
2k views

Admin edit order loses shipping address

Customer enters order with different shipping/billing addresses. if we need to edit the order in admin it creates a new order, in the new order the shipping address defaults to 'same as billing' and ...
1
vote
1answer
388 views

Get associated products

I created a new module to create a section in admin panel. This module section has a sub-section "Associated products" where I can add one or more products to each item in that module. I am able to ...