Questions tagged [shipment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Tracking and items ordered missing from shipment email in Magento 2.4

I've created a module to notify the customer when a custom carrier has been added. I've used an observer on the sales_order_shipment_save_after event but the tracking info and items ordered are empty ...
user3417608's user avatar
0 votes
0 answers
23 views

magento 2.4 set canShip to false makes the order virtual

On my magento I have two different types of orders: regular orders which follow magento standard flow custom order which have to be in a custom status before they can be shipped, eg: -- order is ...
Lou Nik's user avatar
  • 331
0 votes
1 answer
53 views

Can I Generate Shipment using GraphQL in magento2?

Can i generate Shipment/invoice using GraphQL in magento 2.4.5 ? If yes kindly let me know how to generate, any links with brief details also appreciated.
Rik Patel's user avatar
  • 484
0 votes
1 answer
89 views

How to make tracking number visible in Sales Order Shipment Grid

I'd like to make the sales order shipment tracking number (which is present in the sales_shipment_grid table) visible in the Shipments grid for an order in the Admin: I understand I need to create a ...
eleventy's user avatar
0 votes
0 answers
53 views

Magento 2 - How to create shipmet for bundle product programmatically?

In my custom module i want to create shipment for bundle. Can anyone suggest me how can i create?
Divya Rawat's user avatar
1 vote
0 answers
36 views

Error in Shipment Email in magento 2 when creating programmatically

I created the shipment programmatically. Shipment is created and email is not sending. I am getting the following error. I followed RAKESH JESADIYA's this tutorial for this task. main.CRITICAL: Error:...
Mujahidh's user avatar
  • 2,651
1 vote
0 answers
70 views

Magento 2 | Add tracking number in the shipment already created

On the Magento2 backend in the shipment tab I noticed that it is possible to add a second tracking number even when the shipment is already created. The problem is that when you click "add" ...
Jackom's user avatar
  • 419
1 vote
0 answers
151 views

Magento 2; change shipping method programmatically from admin

I want to change the shipping method programmatically from admin when this button is clicked: Here is my controller for this button: class Start extends \Magento\Sales\Controller\Adminhtml\Order { ...
mechanic's user avatar
  • 340
0 votes
0 answers
423 views

add extension attributes after Get the data in shipment API & custom API for update extension data in of Shipment

I wants to add extension attributes in afterGet shipment data. & I tried to update extension attribute using custom API for update that extension attribute, but I faced errors in both. I created ...
Harsh Patel's user avatar
0 votes
1 answer
116 views

Magento 2.4.2 Order Status stuck on processing

When an order comes in an invoice is created automatically and gets send out. I can also find that invoice when i click on the order. If I ship the order then, the shipment email goes out to the ...
Viktor's user avatar
  • 1
0 votes
0 answers
32 views

Magento 2 invoice pdf shows shipment method without vat

In Invoice section Shipping Method Amount display without VAT. How can I display shipping Amount Including VAT please suggest me
Jarda's user avatar
  • 1
0 votes
1 answer
59 views

Magento 2.3.5p2: Uncaught Error: Create invoice with shipment issue

I am getting this error on creating invoice with shipment from the admin: Uncaught Error: Call to a member function getUrl() on null in /var/www/html/vendor/magento/module-sales/view/frontend/...
mechanic's user avatar
  • 340
0 votes
1 answer
108 views

Create Shipment By Order Increment Id

To create shipment by Rest API, I am using it and it is working fine. {base_url}/rest/V1/order/15/ship Parameter 15 is order_id. I want to create shipment by order increment id. Is there any way to do ...
Jigar Dhaduk's user avatar
1 vote
1 answer
64 views

Magento 2 : shipment email

I've created partially shipment functionality in magento2 now the problem is when i send the shipment email i got the every shipment traking id for that particular order but i want that particular ...
Ronak's user avatar
  • 411
-1 votes
3 answers
950 views

Magento2: Invoice and shipment emails are not going to the customer

I am using Magento2.3.1. I have installed mageplaza SMTP extension and configured it with Send Grid details. I have completed all configuration and able to sent test email successfully. After that I ...
Purushotam Sharma's user avatar
1 vote
2 answers
387 views

Creating shipments programmatically from order collection issue

This is my code: foreach ($orders as $order) { if (!$order->canShip()) { continue; } // \Magento\Sales\Model\Order\ShipmentFactory $shipment = $this->shipmentFactory->...
Attila Naghi's user avatar
  • 3,775
0 votes
1 answer
805 views

Bundle Product Shipment error Cannot create shipment when shipment type is "Separately"

I'm creating a partial shipment for a bundle product using this api POST /rest/V1/order/{orderId}/ship And this is the body { "items": [ { "order_item_id": ...
AHMED SAJJAD's user avatar
5 votes
0 answers
337 views

Magento 2 : shipped items not appearing in email template

{{layout handle="sales_email_order_shipment_items" shipment_id=$shipment_id order_id=$order_id}} is used to render shipped items in email template but no items appear in email template. I ...
devhs's user avatar
  • 467
0 votes
1 answer
96 views

how to change address information format in invoice, shipment and credit memo?

I want to change the address information format in shipment, invoice, and credit memo. Right now the format is Magento address information format like this I want to display the area and subdistrict. ...
Friska Sianturi's user avatar
0 votes
1 answer
105 views

Not getting Shipment id in getShipment () in vendor/magento/module-sales/Block/Order/Email/Shipment/Items.php

I am not getting Shipment data in getShipment() in below file while sending shipment tracking information email from admin in vendor/magento/module-sales/Block/Order/Email/Shipment/Items.php Any ...
devhs's user avatar
  • 467
0 votes
1 answer
39 views

Errors during compilation: in Magento 2.3

I am overriding Magento\Sales\Model\Order\Pdf\Items\Shipment\DefaultShipment due to some custom work in pdf shipment by using preference Below is the di.xml file <?xml version="1.0"?> &...
akgola's user avatar
  • 2,877
0 votes
1 answer
176 views

"cannot do shipment for the order" and "Invalid security or form key, please refresh the page" error. Magneto 2.3

We have an issue when we are trying to complete shipment. We have the "email copy of Shipment" box checked. And when we click "submit shipment" we receive these two error messages: ...
Jan-petter Havna's user avatar
0 votes
1 answer
124 views

Post tracking in bulk REST API

We are currently create tracking one by one by using POST rest/V1/order/:orderId/ship: { "notify": true, "tracks": [ { "track_number": "1234567890",...
Komagain's user avatar
  • 101
0 votes
1 answer
188 views

Magento 2 change Ship button in Order functionality

I'm trying to change the functionality of Ship button when you choose an order. The only thing that I have found so far is this file under /vendor/magento/module-sales/Block/Adminhtml/Order/View.php: ...
Oscar Vazquez's user avatar
0 votes
1 answer
152 views

How to add a custom block in the sales_order_shipment_view page in backend M2?

How to add a custom block in the sales_order_shipment_view page in backend M2? I have to override the sales_order_shipment_view.xml file in my module then I have added the below code for the override ...
Devidas's user avatar
  • 3,253
0 votes
2 answers
1k views

Shipment Extension Attributes

I'm trying to set shipment extension attributes with the following XML; <extension_attributes for="Magento\Sales\Api\Data\ShipmentInterface"> <attribute code="...
Nick G's user avatar
  • 1
0 votes
0 answers
64 views

Magento Email templates, new shipment

I am new with Magento and I would like to configure new shipment emails, but I am having a problem with it. I created a new email template like the one below: {{template config_path="design/email/...
Don Bravo's user avatar
0 votes
1 answer
168 views

Add new tracking number to existing shipment using REST API

How can I add a new tracking number to an already existing shipment that was created using the following endpoint link ? I can create the shipment for a sale/order with the initial tracking number/s, ...
Don Bravo's user avatar
2 votes
0 answers
79 views

Get list of orders without a tracking number

I am new at Magento and I would like to get a list of orders/sales without a tracking number/shipment using the REST API. I was looking at the documentation https://devdocs.magento.com/swagger but I ...
Don Bravo's user avatar
1 vote
0 answers
29 views

Adding code to the shipment print action?

Magento 2.3.3 I am trying to add some code to the print action which is available in a created shipment. Where would I find the code for that, or is there another way of adding code? I want to send ...
EOB's user avatar
  • 255
1 vote
1 answer
934 views

Do not send shipment mail when shipment is submitted?

Magento 2.3.3 When the shipment is created from the admin (see https://i.imgur.com/ZhtZNio.png), a shipment mail is sent out to the customer. I tried searching for that mail sending part in the code ...
EOB's user avatar
  • 255
3 votes
0 answers
109 views

Magento 2.2.3 problem with invoiced order, can´t edit order

I have a store with two payment methods. ProxyPay - Generate an order without shipment or invoice with status equal Processing. When Magecomp 1.0.0 detect payment, state of order is passed to ...
Matheus Prado's user avatar
2 votes
0 answers
52 views

Issues with Magento (ZEND MAIL + Customers do not receive the Order Confirmation)

I'm new here! I sign up to this forum because I have encountered some problems with my Magento (version: 1.8.1.0). When a customer ends the checkout by clicking on "Effettua Ordine" ("...
CimaStore's user avatar
1 vote
1 answer
189 views

Tracking info empty in shipment email in Magento 2

I have created a shipment by adding Tacking info. I am getting the shipment email with empty Tacking info. Next time if i click on "send Tracking Information. Then I will get the tracking info in ...
Manjunath's user avatar
  • 177
0 votes
2 answers
200 views

Include Shipment and Inoices pdf generator in order grid in magento 2.3.2

As in magento 1, there is Shipment and invoice Pdf generator in order grid also. How can i include that in magento 2 as well. I want to include and shipment and invoce pdf generator in order grid ...
Nafsss's user avatar
  • 720
0 votes
1 answer
386 views

Retrieving a Sales Order programatically using OrderRepositoryInterface->getList($searchCriteria)

Unfortunately I find myself in a bit of difficulty. The company I work for has developed a Magento 2 extension that reads data from our proprietary software on a schedule and updates Products/...
Ross's user avatar
  • 1
1 vote
1 answer
2k views

Magento 2.3.5 Tracking Email Missing Tracking Number And Order Items

When sending the tracking email in Magento 2 we are running into some major issues. Using the default Luma shipment email {{trans "%name," name=$billing.name}} This part always comes out as a single ...
Gibbon's user avatar
  • 141
0 votes
1 answer
226 views

Magento 2 splits order with shipstation with same order number

Can we split orders into two types? We are using Magento2 stores. We are using third party shipping service Shipstations Suppose, there are 2 types of products in my website Product A & Product ...
sumeet bajaj's user avatar
  • 1,195
1 vote
1 answer
29 views

Magento 2.3.0: Error when trying to generate shipment more than 3 products

When trying to make shipment of order having more than 3 products then it showing below error - Anybody face this type of issue , please suggest.
Amit Dwivedi's user avatar
  • 1,518
0 votes
0 answers
179 views

How to add where clause or join condition to the shipment grid using ui component?

I managed to display the shipment core grid using ui component on another magento admin page. Right now I would like to filter it, to add more where clauses and join it MAYBE with other tables. This ...
Attila Naghi's user avatar
  • 3,775
1 vote
1 answer
52 views

Shipment Label Change

I want to know that form which file this label is coming:
aallll's user avatar
  • 33
0 votes
1 answer
334 views

Cancel Shipment Creation Magento 2

How to Cancel Shipment Creation for an Order in Magento2? I have a condition where If the condition is false I need to stop Shipment Creation and Cancel the order. How can I manage this? Any help ...
Prasanth's user avatar
  • 147
0 votes
1 answer
203 views

Magento 2 Can't ship order programmatically

I'm struggling trying to ship an order just after the order is created. In the event sales_order_place_after I'm executing the following code: use \Magento\Sales\Model\Order\Shipment\TrackFactory; ...
Oscar Vazquez's user avatar
0 votes
1 answer
2k views

Magento 2.3.3 - Programmatically shipment email sent in the wrong language

I am trying to programmatically create the shipment and I succeeded in this operation. To do this I create a new CLI Command which I obviously run by command line. I have only 1 storeview and the ...
hippoglollum's user avatar
0 votes
1 answer
132 views

Magento 2 how to create shipment in order event?

I'm trying to create the shipment of the order just after the order is created. I'm using the event sales_order_place_after. Here is my code , I'm running this method in execute(), and getting the ...
Oscar Vazquez's user avatar
1 vote
4 answers
2k views

M2 REST API: Creating shipment with products from MSI source

I am using MSI. When trying to create a shipment with a source code, the shipment uses the "default source" instead of the one I'm providing. My Request: [POST] /rest/default/V1/order/5/ship { "...
Toine H's user avatar
  • 71
1 vote
1 answer
1k views

Magento 1.9 - How to get shipped date and display on Customer account My Order?

Backend generate date when we shipped order, Frontend shown only order created dated, Is it possible using event-observer?
zus's user avatar
  • 145
2 votes
0 answers
377 views

get price in shipment email template in magento 2

I need to get customer order product price for Shipment email template in configurable products. I had added magento-sales/templates/email/items/shipment/default.php $priceHelper = $_objectManager-...
Priya's user avatar
  • 569
0 votes
1 answer
135 views

Magento 2: how to get shipment id by product id?

For a single order, I want to get shipment id by product id if shipment created in that order.
Dj3's user avatar
  • 101
3 votes
2 answers
481 views

Magento 2.3.3 Generate New Shippment Then Show Blank White Page

After Upgrade from Magento 2.3.3 then, we save a new shipment then show a white blank page. This blank page comes when we add Tracking Information. When we check the shipment generated successfully.
Chirag Gondaliya's user avatar

1
2 3 4 5