Questions tagged [status]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
40 views

Magento 2 : Product Quantity Update Programatically If Product Status is Disabled

We want update product quantity programatically. If product status is Enable then quantity update properlly. But which product status is Disable quantity not update in it. We create one custom module ...
3
votes
0answers
23 views

Magento 2 - Order status update observer

I am looking for order status update observer In many post I have found this one: sales_order_save_after But, it is not working, I have checked it myself. It is not even listed in these articles: ...
2
votes
0answers
22 views

Magento 2 - Card decline status not reverting quantity

Just like cancel order, I have created a new status card_decline I have set canceled state to this new status. Now when I am updating any order to card_decline status programmatically then it is not ...
0
votes
1answer
36 views

Custom order status is empty

I create a new Order Status: Synced To B1 in Sales > Orders Status is empty for orders having this new status, but when I open order the status is here Do you have any Idea How to show custom ...
0
votes
1answer
15 views

Getting disabled products in a collection for Magento 2.3.1

I have the following code to get all disabled products $products = $this->productCollectionFactory->create() ->addAttributeToSelect('sku') ->addAttributeToSelect('name'...
0
votes
1answer
22 views

How to set a start and end time for Product Status

Am I able to set a start and end time for product status? I'm running an ecom store and would like to know if I can set a date & time for product to enable/disable. For example, if I am ...
0
votes
1answer
54 views

Magento 2.3: Mass Action For Status Not Working

I'm very new to Magento 2.3, i created a Mass Action for Status Change, when i open action dropdown and click Change status a tree menu should open with 2 options, but when i click on Change status ...
0
votes
2answers
27 views

How to add item status for an order in magento 2

I have multiple items in my order. How can I add item status and its tracking information for that order in My Account Orders? I am using this to get orders $_orders = $block->getOrders(); And ...
1
vote
0answers
12 views

Item level status in magento 2 via Netsuite

We have used Netsuite for items shipment tracking, now I don't know on which table of Magento 2, Netsuite updates item level status. Like for an order, there can be multiple items, and I have to show ...
1
vote
1answer
23 views

Exclusion Order Status

i am getting order from magento using this query which is fine $orders = Mage::getModel('sales/order')->getCollection() ->addAttributeToFilter('created_at', array('from'=>$fromDate, 'to'...
0
votes
0answers
10 views

Magento 2 How to create a new state and place it before Complete State

I want to create an extension that the Customer need to approve that the product was delivered or the service (virtual product) is done before the order can be considered Completed. I'm trying to do ...
1
vote
1answer
25 views

I want to send email order confirmation only for status payment complete with Magento 2

I use Magento 2 for my store and an email order confirmation is send automatically after an order even when the status payment is cancelled, invalid, review... I want to send an email confirmation ...
3
votes
0answers
37 views

How do i add new order statuses in the dropdown other then “Pending”

I tried going through these steps here but it didn't seem to work. I want Check / Money order to have a default status as processing instead of pending. Enterprise/Commerce 2.2.6 STEP 1 Go to ...
0
votes
0answers
23 views

Cron status running blocking next pending?

what is cron behavior when cron job will be terminated and cron status is set to running. I've notice that jobs scheduled after this cron entry with running status are not fired. Running status block ...
0
votes
0answers
19 views

is it possible to filter related products using status enabled filter Attribute in products details page magento 2 custom theme

Is it possible to filter related products using status enabled filter Attribute in products details page magento 2 custom theme in related.phtml. Actually i am trying to get only in stock related ...
0
votes
0answers
17 views

Magento2 order states per payment method

I got 3 different payment method in my shop • Bank transfer • PayPal Plus • Santander Installments I want to create custom order states for each payment method to clearly optimize our workflow for ...
1
vote
1answer
45 views

Save product observer - detect availability

I have catalog_product_save_after observer where I want detect when product became available for sale (Magento 2.2). I'm trying to compare some attributes using this code $old = $product->...
1
vote
0answers
31 views

Regarding Virtual order status

After creating the Virtual product order invoice order status is changing in to complete but I want to set virtual order status to processing I am using Magento 2.2.2 version. Please let me know ...
1
vote
1answer
94 views

Magento 2.2.5: How to try catch in magento with AJAX?

I'm looking for some way to try catch in Magento with AJAX and then alert the error message out. I'm following some solution but doesn't work. Ok so here is what I've done til now : C:\xampp\...
0
votes
1answer
502 views

Custom order status between Processing and complete in Magento2

I have create custom order status by following below link. https://docs.magento.com/m2/ee/user_guide/sales/order-status-custom.html I created custom status called "Sent to Printing". I need this to ...
0
votes
1answer
238 views

Custom status label not showing on admin grid Magento2

I am showing my custom modules grid in magento2 admin and that is showing fine with some filter options. In the start, I have only two status of the row - "New & Canceled" that was showing right ...
1
vote
2answers
197 views

Magento 2, how to hide button 'Invoice' when status 'pending'?

Using magento 2.2, admin, sale->order. I want to hide button Invoice when status Pending.
0
votes
0answers
169 views

Force change State/Status to Complete

Is possible to change the state of the order to complete? $order->setSate(Mage_Sales_Model_Order::STATE_COMPLETE); $order->save(); Programmatically : setState(Mage_Sales_Model_Order::...
0
votes
1answer
48 views

How to associate status value to label value in “listing” ui component (Magento 2.2)

I am using an ui_component (listing) for a custom grid in magento 2.2. I have a status colum with various value, see below: Here is the column declaration in the "listing" component <column name=...
0
votes
1answer
138 views

The life time sales total is not changing on updating the status of the order

I want to update the status of quite a few orders in bulk from pending to complete, and hence I am trying to do it in a programmatic way as there is no option in magento backend, for updating the ...
2
votes
0answers
3k views

Magento 2 Product import error :Value for 'status' attribute contains incorrect value, see acceptable values on settings specified for Admin in row

I am trying to import a csv of products having almost 6000 products. All the fields are validating correctly the only issue is with product_online i.e status attribute. If keep the product_online ...
1
vote
1answer
549 views

Get only the last comment from order

I'm using an observer to watch <sales_order_status_history_save_after>, but it returns ALL comments, how can I get just the last one?
2
votes
0answers
371 views

How to change custom order status through rest api in magento2

Can any one explain me or give me an example for changing the magento2 order status to customized status using rest API
-1
votes
1answer
475 views

What is the reason for Item Status = “canceled” and not able to create Invoice

The ordered placed by online payment, and the ordered page item status canceled, may i know what is the reason for my item status canceled How create Invoice for this order?
0
votes
3answers
10k views

How To Manually change Order the Status to Processing Before Creating Invoice of the order?

If customer select bank transfer mode during checkout initial order status pending. I need to change the order status processing by manually before creating an invoice. Note: If I set initial ...
1
vote
1answer
2k views

How to get information about payment status from order?

I was trying to get some details about payment from order and all I achieved is the payment method. Unfortunately I can't get more details like a payment status. So far the code is working well but ...
3
votes
2answers
1k views

Warning: Invalid argument supplied for foreach() when viewing shipment

While I'm trying to view the status of a shipment. It will shows Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in vendor/magento/module-shipping/view/adminhtml/templates/...
1
vote
1answer
447 views

Magento2 API call returns 404 when Entity Not Found but 200 if is found. Why?

Whilst designing a framework to synchronize objects (entity models) between Magento2 and our CRM, I have found that Magento's REST API will return a StatusCode of 404 with the following JSON {No such ...
1
vote
1answer
133 views

Multiple Ship and tracking codes

I'm working on a store where they do not always have the product right away, sometimes they have to produce it. So they asked for a function that would be like this: imagine there's a order, the ...
1
vote
1answer
842 views

unable to update Status of product from csv

When I change the status field of product from enable to disable or vice versa via updating through csv using data flow profile, it is not updating value of status, simply leaves status of a product ...
1
vote
0answers
551 views

Not able to set status Enabled for duplicated products in magento 2

I created a new simple product in newly installed Magento 2.0.7. The product is being shown in frontend. When I tried to duplicate product, it was disabled by default (default behaviour of duplicate ...
5
votes
1answer
585 views

How can i disable 100's of product in my site

I need to disable some products from my website, is there any bulk edit options in admin panel?
2
votes
1answer
752 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
2answers
554 views

Disable the Product once timeout ends

we need an option in backend > attributes to set "timeout" for each product. we want to display the timeout in view page. something as below : after the timeout ends, automaticlly Product status ...
1
vote
1answer
81 views

Magento orders stuck in payment_review: how does one release? and is stock reserved?

we are seeing several orders with status/state both payment_review. And we are running a script that cleans up and releases the stock of order like 'payment_approval', payment_review and '...
6
votes
2answers
448 views

Hide completed orders from sales/orders

In sales/orders is it possible to hide completed orders ? using something like filters. or can I filter the status column with more than one status ?
1
vote
1answer
132 views

Stock Status in backend product overview

I have a simple question :) In Backend, the products status is displayed (Active/Inactive) in the Catalog-> Manage Product section. it is also possible to mass-action wether products should be active ...
2
votes
1answer
134 views

When a product is disabled through admin send a notification email

Hooking into the event/observer methods already created I could build an email that would send when the status was update to 'status' => 2 correct? After the event has taken place. I believe I ...
0
votes
1answer
63 views

Redirect URL while updating product status dynamically

I am making a custom module like market place, anyone can become seller and he will have facility in his account to add products and sell them. And he will be able to see all the related functionality ...
1
vote
1answer
960 views

How to restore an order status value that has been previously deleted in Magento Admin Interface?

I accidentally deleted an order Status which I need to recover but I don't know how. The following image below shows the statuses before I deleted one. The second image below shows the statues as ...
2
votes
1answer
1k views

Automatically changing order status to complete for admin orders

I need a way to set the order status automatically to completed when the order is created in admin and payment method is one of the two possibilities for admin orders. In this case it is unnecessary ...
2
votes
1answer
214 views

Is there a way to mark complete after manual shipping?

We have received orders in magento and shipped them manually. The problem is that magento wasn't consulted about the shipping and is now preventing us from setting the order status as complete. What ...
0
votes
1answer
2k views

Changing product status with Magento (1.9) script not visible in Admin

I'm trying to get all product without image to desactivate them. I started from this thread https://stackoverflow.com/questions/3565377/how-can-i-find-all-products-without-images-in-magento At first, ...
0
votes
1answer
55 views

Magento status and state flow analyses

we would like to do a Magento state and status flow analyses. In short: a count over all orders grouped by unique state and status flow. new -> payment pending -> cancelled #3 new -> ...
1
vote
1answer
1k views

product->isSalable() false positive

I have a custom product collection. $collection = Mage::getModel('catalog/product')->getCollection() ->addFieldToFilter('entity_id', array('in' => $ids)); The products ...