Questions tagged [history]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
56 views

Magento 2 EE | How to create/update new record in magento_customerbalance_history table?

I am trying it as: Using the collection \Magento\CustomerBalance\Model\Balance\HistoryFactory $historyFactory As $model = $this->_historyFactory->create(); //$model->setId(2); $...
0
votes
1answer
189 views

Add column to “Sales Order” history content in customer account

Hello Magento's, How we can add column to Sales order history content into customer account. can anyone help me please?
0
votes
3answers
1k views

Magento 2 PHP Foreach loop help!

I'm trying to display the images of products on each order item, so far I have the image pulling through but it's only one of 3 product images. It's also displaying them on every order in the order ...
1
vote
0answers
72 views

Browser History back() Method decreases minicart quantity

We have discovered an interesting phenomenon with browsers history. When I add some products from several product pages to the basket then the minicart at top will always update and shows me the ...
0
votes
2answers
863 views

Magento 1.9.3 Get Last Order Comment After Event sales_order_status_history_save_after

I have created my own function which is trigged for the event sales_order_status_history_save_after. What I wanted to do is, when a new comment is added, the system will get the latest order comment, ...
5
votes
2answers
5k views

How to get last order status history comment and order status Magento 2

I need to change the order status and order status history comment based on the last value of the status, currently i've set order status and comment status like this: $event = $observer->getEvent(...
2
votes
1answer
862 views

Add status history problem

I'm trying to change an order status in controller. After execute "addStatusToHistory" and "->save()", it save the comment and status that I've specified. But after that it apply a new status to ...
0
votes
3answers
517 views

Extend Mage_Sales_Helper_Data doesn't work

I would like to add a function in Mage_Sales_Helper_Data without editing or copy of the original file. So I try to extend it, but this code doesn't work I have created a config.xml in this folder app\...
2
votes
1answer
87 views

Sort orders by criterias

I'm trying to display a history of customer's orders by products. I succeeded to display every product ordered with its date, name, price, sku and quantity. But now I'd like to display it by at least ...
1
vote
1answer
593 views

Getting The State History of all Order and export

Is it possible to get the state history of all orders and add it in a new column on sales report? I have a module similar to the core and I'd like to add a column with all states of each order. ...
2
votes
2answers
2k views

Admin to see Quantity change history of a product

Is there a way to show quantity change history by product in admin interface? This is a very useful feature and is available in WMS solutions. We used in Solid Commerce for example, was very helpful. ...
2
votes
1answer
1k views

Warning: vsprintf(): Too few arguments in …/app/code/core/Mage/Adminhtml/Helper/Sales.php on line 133

I am testing CE ver 1.9.1.1 and discover the error. To replicate, go to any sales order page in admin and enter "80%" in the comment history, click the button Submit Comment. So far so good, then hit ...
0
votes
2answers
3k 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.