Questions tagged [orders]
Mark questions related to Magento orders
2,252
questions
2
votes
1
answer
2k
views
Can't generate invoice programmatically
I'm a building a function that should retrieve all the payments made in the last hour, and update the order status from pending to processing.
The problem is that, for some reason some of the orders (...
1
vote
1
answer
3k
views
Get Shipping Methods by postCode and countryId
I want to get all the available shipping methods along with their prices by postCode and countryId in a page which is not Checkout page.
Example: I have CountryId as 'IN' and postCode as '560029' in ...
1
vote
1
answer
3k
views
New Order Email Template for each Product type in Magento
I wanted customization.I have Simple,Downladable and Virtual Products in my Magento Store and I need three New order email template one for each product type.
Like if my customer order virtual ...
1
vote
3
answers
805
views
Does Magento send the order increment_id to paypal?
I'm interrested in matching orders paid with PayPal by their increment id.
Therefore I want to use a summary (from PayPal) of orders and compare it with a list of the increment ids provided by the ...
0
votes
2
answers
404
views
Multishipping Redirect/Order Submit Issue
I'm running into an issue with multishipping not proceeding from overview to success. The site in question has quite a bit of customization, but it is working successfully on my test server... so I'm ...
0
votes
2
answers
3k
views
Magento Admin Custom Button on View Order
I am trying to create a button on the Magento View Order page that when I click it, it will email a certain vendor using information that is contained on the order and items in the order.
I have ...
1
vote
1
answer
695
views
Remove pricing from email templates
My client has a website at "wedowirelessbetter.com" and wants no pricing on any product which I have accomplished already, however when a Pre-Order is sent to a store after a customer checks out, I ...
8
votes
3
answers
2k
views
Removed payment method, old orders not loading
Synopsis: I've deleted an ancient payment method extension from my magento install, and now orders made using this payment method cannot be viewed and result in an exception.
Specifically, our store ...
0
votes
1
answer
194
views
Recurring order not recurring product
I have looked high and low but I cant seem to find in Magento natively or an extension to enable customers to create a weekly/monthly order of the same products, these would then be deducted from ...
0
votes
2
answers
3k
views
Not getting order details on onestep checkout page
I am trying to get order details on onestep checkout but its not working. My xml code is like this :
<checkout_onepage_controller_success_action>
<observers>
...
1
vote
2
answers
134
views
Sum of all customer's orders returns 0 on status: complete
My function returns 0 on total sum of orders from a client when status is set to complete.
When status is set to processing, everything goes O.K. Is it the right way to obtain a complete status?
Also, ...
0
votes
1
answer
156
views
How to define a special template for a product option in the account / order view page?
I have implemented a module to have a custom input product option type (following this tutorial)
This module defines 2 different template for the frontend :
one for the catalog view
another one ...
0
votes
3
answers
5k
views
How to get order id in custom block sales_order_create reorder
I have created one custom block in reorder page for scheduling reorder.
I am not getting orderid in the phtml file.
I have used this for but not working
$this->getId(), $this->getEntityId
...
2
votes
1
answer
59
views
admin shipping account - shipping allowed only when status is preparing_shipment
I need to create an admin account that should be able to do only the following action:
view orders that are in the preparing_shipment status
change the status of the order to shipped
insert the ...
1
vote
1
answer
3k
views
Add Tracking Script at a successful Order [closed]
i have a Tracking script and i can't really fill out every detail as it needed.
This is how far i get, but i can't really programm PHP or know the full Magento Documentation to find what i need.
<...
1
vote
1
answer
93
views
How to pull in variable for order value into fulfilment company?
Can anyone tell me how I can include the actual value of an order (not including shipping, although I might like that as an option as well) in an Order CSV that gets sent to the order fulfillment ...
1
vote
0
answers
98
views
Custom Conditions for Mage_Rule + Different Entity Types [closed]
I have a client that is looking for a new rule-based module that will allow them to trigger various actions when order statuses are changed. While I'm fairly confident that I can code the event ...
0
votes
4
answers
1k
views
Moving an order from one customer to another in Magento 1.7.0.1
We have a few orders that were done by a customer, but we need to move these into another account (same store). What's the best way of doing this - can it be done by editing the database directly or ...
1
vote
1
answer
128
views
Importing orders, how to applay discount amount
I have made a script for migration orders from prestashop to magento 1.8.1.0. All orders were imported successfully. I have just one problem. I don't know how to apply discount amount on order and how ...
4
votes
1
answer
723
views
Return stock when order on hold
I need to achieve the next thing in my Magento store:
When I push the button On Hold in the admin for an order, the stock needs to be returned to the product (so increase). When I unhold the order the ...
1
vote
1
answer
2k
views
Null customer_address_id on sales_flat_order_address table
Does somebody know why field customer_address_id is null on sales_flat_order_address table? As regards to order for customer who has an address.
In class: Mage_Sales_Model_Order_Address I found this:
...
4
votes
1
answer
3k
views
Placing and order via API and payment processing
I'd like to create and place an order in Magento using API. I see that exists the method cart.create but I cannot understand what is the correct flow for using it.
The point I cannot figure out how ...
28
votes
4
answers
40k
views
Confusion with order id, order increment id and I am not getting order id as 20001201
I am bit confused with order id and order increment id, So can any one help me to understand the difference between these two?
I have an observer for sales_order_place_after where I store sales ...
1
vote
5
answers
3k
views
How to add backorder message to transactional emails
I want to add extra information in a transactional email when the order has a product which is backordered.
I know where and how to edit the email templates following this guide: http://www....
1
vote
4
answers
2k
views
How reset order history magento without myphpadmin?
I need nulling/zero/ reset order history. For example, New Order # 100000001 (BUT NOT # 10000023)
Preferably without the use MyPHPadmin. Maybe my problem can be solved through SSH commands or by ...
1
vote
1
answer
215
views
What else adds order comments?
I have a task to add a WYSIWYG editor on the admin order comments.
So far so good. I was able to make it work.
But I have a concern. By default order comments are escaped when listed and only a few ...
1
vote
2
answers
444
views
Magento Sales Graph issue after upgrading to 1.8.1.0 from 1.5.1.0 [duplicate]
I have upgraded Magento from Version 1.5.1.0 to 1.8.1.0
And now the order graph in the admin dashboard is showing misleading data. The number of sales has shifted by 2 months considering what it was ...
8
votes
5
answers
5k
views
Custom Order, Invoice, and Shipping Starting Numbers
What's the safest approach to change the next starting numbers for order, invoice, and shipment on a live site?
4
votes
2
answers
401
views
Only allow order for specific post codes in a specific country?
I want to make orders possible for only a list of post codes in a specific country. Is is possible?
2
votes
2
answers
885
views
Orders import export [duplicate]
Hi is there any way to import and export orders? By default can import and export the products and customers data but not he orders.
0
votes
2
answers
1k
views
How to obtain a JSON order rendered by the REST API in the sales_order_place_after event observer
I have an observer for the event "sales_order_place_after" that needs to take the order and transform it into a JSON object to be sent to an external system (over REST). However the JSON ...
0
votes
2
answers
4k
views
Magento event for adding order comment
Can anyone please let me know if there is any magento event available for adding comment to a particular order?
Let me know if question is not clear.
6
votes
3
answers
9k
views
Display order ID on checkout success page
Please could someone help me with what I imagine is a fairly straightforward request?
I am trying to display the current order ID on the checkout confirmation page using the following code.
<?...
1
vote
1
answer
2k
views
Extending Magento REST API V2 breaks existing API
I am trying to extend the Magento CE (version 1.8.1.0) REST API V2 for orders. I want to customize the original order query so that the response includes an additional attribute "multifees".
...
2
votes
1
answer
698
views
Put orders from specific group on Hold
We have a general group and a wholesale group. Is it possible to automatically put all orders that come from the wholesale customer group on HOLD? We need to approve those purchases before the ...
1
vote
1
answer
245
views
Send an order to a Fax machine automatically?
I have a question regarding a placed order: Can a placed order automatically be sent to a Fax machine besides an E-Mail address?
1
vote
1
answer
111
views
Worst case scenario: Copying an order?
the worst case scenario happened: Google indexed a staging installation that was temporarily online and a customer ordered in this staging area.
How complicated is it to copy the order from one ...
0
votes
1
answer
736
views
Add coupon code to an existing Item in Admin Panel
I am currently working on adding a discount for an existing order which is not invoiced yet in Magento admin panel. To do that I thought it is better to use Coupon codes. What I am trying to do is ...
3
votes
1
answer
864
views
Export new orders to individual CSV files
Could someone tell me how to export each new order from Magento to individual CSV files and save them on the server?
1
vote
4
answers
2k
views
Need to change all orders to complete
We need to change all our orders to complete (600k)
Is there an easy script to accomplish this?
I am not sure if this is to safe?
UPDATE sales_flat_order_grid SET status = 'complete';
UPDATE ...
0
votes
1
answer
102
views
What problems should I anticipate if I prefix order IDs with alphanumeric characters?
My client would like to prefix order IDs with descriptive multi-store abbreviations such as WS00000000 (Wholesale), AFF0000000 (Affiliate), RE00000000 (Retail), LS00000000 (Living Social), etc. Its ...
0
votes
2
answers
4k
views
Getting total quantity of specific product ordered between two dates
I have a requirement to get the total number of ordered items for a specific product ID during a specific time period.
I.e. - Total number of Product 123 ordered between 1st June 2014 and 30st June ...
7
votes
4
answers
15k
views
The requested Payment Method is not available.On order details page
I recently migrated to a new server and upgraded to the latest Magento. However, the order details page on the backend is now broken for any order that used our old 'PayPoint' extension (which we no ...
6
votes
1
answer
6k
views
How to Add a Payment Method Filter Field to Order Collection
At the moment I have this code:
$orders = Mage::getModel('sales/order')->getCollection()
->addFieldToFilter('state',array(array('like'=>'processing')));
Is there a way to add a filter ...
1
vote
2
answers
1k
views
how to upload orders from csv in front end by customer?
I have customer type as wholesaler.if any wholesaler logged into magento from front end he should be able to place bulk orders through csv as an option.
I mean he knows all product skus.
Is there any ...
0
votes
1
answer
72
views
How can I disable coupons for a particular order item (or the entire order, if needed)?
We have an extension which can lower the price on specific items for specific customers (using setCustomPrice() on the quote_item).
When we utilize this extension we would like to disable coupons--...
4
votes
2
answers
307
views
Consecutive Order Numbers - Quickbooks and similar accounting services
One constraint I'm dealing with on a project is for all order numbers to be consecutive in nature.
Current: 1000, 1001, 1003, 1004, 1008, 1010
Desired: 1000, 1001, 1002, 1003, 1004, 1005
Problem ...
1
vote
0
answers
125
views
How to create 2 payments for the same Order in Magento? [closed]
Service company has a magento shop.
User can choose specific defect for specific device and make an order.
After several days service company can change an order. Service company manager should be ...
0
votes
1
answer
2k
views
Display downloadable product URL for order success page for Guests
Ok so i have got the page working fine for displaying the download links for the downloadable products when the customer is registered and signed in, however when checking out as a guest they are not ...
0
votes
1
answer
1k
views
Saving Order Collection
I'm trying to run an update script to a module as i've changed the way our warehouse module works. I need to update all orders in a collection of orders if it meets a certain requirement. I know that ...