Questions tagged [magento-1]

General questions about Magento 1 not specific to a minor version. You can use it to distinguish from Magento 2, but if you have issues with a specific installation, use the appropriate magento-1.x tag instead.

Use cases for this tag

Do not use the tag when...

  • You have a problem in a Magento installation and assume the version is not important
  • You have a question related to updating between different Magento 1.x versions

In these cases, you should always use the appropriate 1.x tag(s) instead. A non-comprehensive list:

You may also use a tag for the bug-fix version, but it's usually only done for questions about a Magento update or issues specific to this version. Examples: , ,

2337 questions
19
votes
6 answers

How to set default value for form fields?

I have an admin form field(textbox), $fieldset->addField('ajax_time_interval', 'text', array( 'label' => Mage::helper('dealroom')->__('Page Refresh Time Interval'), 'class' => 'required-entry', 'required' =>…
Vishnu R
  • 597
  • 1
  • 6
  • 21
5
votes
2 answers

Why is Magento so difficult and what can i expect to work on as a Magento developer?

I saw one question/answer here, but it didn't solve my question. Hi, I am software developer with 2 years of experience. I worked on 1 project till now which was actually theme customisation project(theme was purchased by the client). When I started…
Pratik Joshi
  • 206
  • 2
  • 11
4
votes
1 answer

How to disable Order cancel button in order view page in Magento admin?

I want to disable the cancel order button from Magento admin order view page as well as from order grid page. Though I know using the Roles we can disable this but I want to do this for some specific condition for a role. So I am trying the code…
Mukesh
  • 1,428
  • 4
  • 28
  • 58
4
votes
2 answers

How to contribute patches to Magento 1?

What are the requirements for a patch to get accepted and included into magento 1 and what is the best way to provide it.
Flyingmana
  • 6,127
  • 3
  • 27
  • 64
4
votes
2 answers

Products missing from price index after order place

There seem to be many issues around the re-indexing of product prices on order placement. See the other issue re deadlocks which is related... Price re-index causes DB deadlocks during checkout I have reported this to Magento and they have replied…
3
votes
3 answers

How to get order Id in class Mage_Adminhtml_Block_Sales_Order_Create_Shipping_Method_Form?

How to get order Id in class Mage_Adminhtml_Block_Sales_Order_Create_Shipping_Method_Form ? I tried out many ways such as, $this->getQuote->getId();, $this->getOrder->getId(); etc etc... But no Use. I am new in magento and extremely new to Its zend…
Vishnu R
  • 597
  • 1
  • 6
  • 21
2
votes
1 answer

Magento exception Integrity constraint violation: 1048 Column 'value' cannot be null' in \lib\Zend\Db\Statement\Pdo.php:234

I am running an Observer Method using following way manually to test it updatePromoCategoryProducts(); code in…
Mukesh
  • 1,428
  • 4
  • 28
  • 58
2
votes
1 answer

Trouble with Magento Module name in Parallel plesk. Issue seems like with Case sensitivity

I am having trouble with my Magento module name in parallel Plesk. My module's name is like ComPany/MYMODULE and it works fine in localhost. But I uploaded it to a live server in Parallel Plesk, I m getting error such as Source model…
Vishnu R
  • 597
  • 1
  • 6
  • 21
2
votes
2 answers

Using magerun on production?

Magerun has tons of great features. It would be super easy to test and verify production setup using magerun as well as accomplish many other tasks like reindexing, database backup and so on. Is there any reason we should not install or use it on…
codelogn
  • 521
  • 2
  • 5
  • 14
2
votes
1 answer

How to override `Shipping method` in `Edit Order` area?

I am trying to override the shipping method in the Edit order area of the admin side. What I have done is, added new file My/Module/Block/Adminhtml/Sales/Order/Create/Shipping/Method/Form/Form.php in my custom module. It has code,
Vishnu R
  • 597
  • 1
  • 6
  • 21
2
votes
1 answer

n98-magerun.phar autocomplete script

I am trying to use the autocomplete code for N98-MageRun in my OS-X 10.9.2: https://github.com/netz98/n98-magerun/tree/master/autocompletion/bash I performed the following steps but without luck: 1> Copied the autocomplete file to home…
MagePsycho
  • 4,742
  • 4
  • 34
  • 64
1
vote
1 answer

How to add before or after constraint in custom sql installer in Magento?

How can I add a column before or after a particular column in existing table. Let suppose I want to add email id after a column named as telephone. Is it possible with some parameter in following code?
Mukesh
  • 1,428
  • 4
  • 28
  • 58
1
vote
2 answers

How to load cart with a specified quote id (with all products) and redirect user to cart on clicking a url?

I have a custom module which share the cart to others users via email. I want to to add a link in the email template so that on clicking the user should be redirected to cart page with populated cart. I will be using quote id to load the cart but…
Mukesh
  • 1,428
  • 4
  • 28
  • 58
1
vote
3 answers

Understanding a Magento Module

I was working with PHP Core and custom MVCs by 1 and half years until when moved to magento desk. I find it very difficult first, but later got grip in Theme integration and maintenance of previously done modules. Now I got in to Module creation and…
Vishnu R
  • 597
  • 1
  • 6
  • 21
1
vote
1 answer

How to set is_in_stock to 0 for configurable product when all associated products are out of stock?

I am using a third party service to generate and submit the product feed to Google.This service uses is_in_stock field from the cataloginventory_stock_item database table to check if the product is in stock or not? I have check in the default…
Mukesh
  • 1,428
  • 4
  • 28
  • 58
1
2 3 4