Skip to main content

Questions tagged [history]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
717 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); $...
Ajwad Syed's user avatar
  • 1,591
0 votes
1 answer
527 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?
Ben Mansour Marouan's user avatar
0 votes
3 answers
4k 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 ...
Howliee's user avatar
  • 153
1 vote
0 answers
114 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 ...
Timo.Klement's user avatar
0 votes
2 answers
1k 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, ...
Magento Learner's user avatar
8 votes
2 answers
13k 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(...
simple guy's user avatar
  • 2,494
2 votes
1 answer
1k 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 ...
Ricardo's user avatar
  • 21
0 votes
3 answers
569 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\...
laura's user avatar
  • 109
2 votes
1 answer
100 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 ...
Kiritsu's user avatar
  • 21
1 vote
1 answer
698 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. ...
Julián Quijano's user avatar
3 votes
2 answers
3k 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. ...
joell's user avatar
  • 59
2 votes
1 answer
2k 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 ...
kiatng's user avatar
  • 694
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.
vibhu's user avatar
  • 371