Tag: magento
-
Magenta Connect – Access is locked. Please try again in a few minutes
Getting error on Magento connect manager “Access is locked. Please try again in a few minutes.” Go to var/ folder and open file /var/brute-force.ini Change the following two first lines to: brute-force-bad-attempts-count = 0 brute-force-diff-time-to-attempt = 180 and remove all other lines and Save. Tweet This Post
-
How to programmatically add shipment with a tracking number to any order : PART II
In my previous post [How to programmatically add shipment with a tracking number to any order : PART I], you found that how can we generate shipment for an order programmatically. Here we are going to learn next step to add tracking number with generated shipment. We are assuming that you are going to use…
-
How to programmatically add shipment with a tracking number to any order : PART I
We are assuming that we have an order incremented id. and we want to make shipment for this order. Here also we are assuming that invoice has been generated for order already. so we are going to generate only shipment. $orderId = ‘1000001’; $order = Mage::getModel(‘sales/order’)->loadByIncrementId($orderId); Here we are checking the current status of order…
-
How to get ordered Items and their detail for an order ID in Magento?
I tried to wrote this code when I was working on a cron file for all orders. My client wants a cron file that get all orders information including all ordered item and their detail. First, I searched on google but I didn’t found any exact solution then I tried below code: By below code…
-
How to add custom layout template in Magento
Magento provides following types of page layout in default. 1column, 2columns-left, 2columns-right, 3columns, empty, and print. But sometimes we need to change design in layout and we do not want to affect on other pages. For example, we want to use different layout for all static pages. and we want to use 2columns-left layout style…
-
Magento: How to enable template path hints?
Magento comes with many folders and its structure is complex. In general, it is not easy to find the perfect file to edit for a specific section. Because there may be many folders with same name in different directories. you are thinking then What is template path hints? Template path hints is just a tags…