Questions tagged [shipping-methods]

Denotes questions about shipping methods configuration and implementation.

Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

Magento 2 add custom data to shipping method

Hello I'm trying to add custom data to shipping method (image url, to be exact). Following this example I managed to add extension attribute to interface and show field named 'image' in extension ...
0
votes
2answers
847 views

Magento 2 : How to display Shipping Rates on a Product Page

I want to display Current product shipping rate on the product detail page. I have tried below code, $qty = 1; $countryId='IN'; $storeId = 1; $zipcode = 360002; $...
0
votes
0answers
6 views

UPS Magento 2.3 when generate shipping label then getting error this “Failed to send items”

1 - Using Magento 2.3.3 UPS Shipping 2 - we are able to get the Shipping Rates at checkout. 3 - when we are trying to create shipping label from admin then it gives an error like this - "Failed to ...
2
votes
2answers
49 views

Magento 2.3: How to hide only free shipping methods based on postal code

In the below code, I am hiding all shipping methods based on postal code 2nd value is 0. In this case, all shipping methods are removing. but I want to remove only free shipping. Can you explain how I ...
0
votes
0answers
19 views

Products orders list dose not show in (Items Ordered) Magento 2

placed orders store in database but not show in backend Error [2020-01-16 13:51:12] main.WARNING: Attempt to load value of nonexistent EAV attribute '191' for entity ...
1
vote
3answers
1k views

M2: estimate shipping method error

I'm having a really weird trouble with my extension, as the shipping method section in checkout cannot be loaded, here's what it shows in inspect element: so the above POST request cannot be loaded ...
0
votes
1answer
33 views

Shipping tab is empty when creating products in magento 2.3

I am a beginner in Magento, When I try to create a new product in Magento then the shipping tab is empty. I enabled shipping methods in store. This may be a simple question.
0
votes
0answers
12 views

Magento 2 Create Shipping Label checkbox is not showing in admin

All USPS information is correct. all USPS shipping method is showing on magento checkout. In admin order view page shipping is "United States Postal Service - Library Mail Parcel" but why checkbox(...
0
votes
1answer
16 views

Magento 2 Free Shipping Over 499 Excluding some product

I am integrating shipping conditions in my website.Currently it Flat rate is enabled with 140 Rs per order and it is working fine.Also I have created one cart rule coupon type where condition is if ...
3
votes
1answer
3k views

Magento 2 free shipping method not showing

I only set my shipping method to free shipping and only for one specific country like this: but the problem is this shipping method won't appear if the country value already selected first when the ...
0
votes
1answer
2k views

how can i fix the dhl shipping error?

I have been added the all information about dhl in magento system >> configuration >> sales >> shipping method but all information about dhl is correct even i had confirmed with dhl ...
1
vote
1answer
2k views

How can I integrate DHL webservices

How can I integrate DHL web services. I need to integrate DHL for my shipping Rates.
0
votes
1answer
43 views

Is it possible out of stock items should still be able to be purchased in Magento 2?

Any idea Out of stock items should still be able to be purchased and should not be deactivated or the buy button taken away.
1
vote
1answer
1k views

Show error message on shipping method if not applicable in Magento 2

I have developed custom shipping module. Now I want to show error message on shipping module if anything wrong like city, state, phone number etc. I follow this link to create shipping method: https:/...
0
votes
0answers
26 views

Magento 2 :- How to add free shipping feature if some condition satisfies

How to check condition for Free Delivery, I have separate Database Table. In the table one field is customer_id and another one with Boolean values. I want to enable Free Shipping for those Customers ...
0
votes
2answers
1k views

Magento 2 how convert package weight to Kilogram (KG)

I have a custom shipping method in Magento 2, i successfully got the package weight by using this code in Model/Carrier.php : $weight = $request->getPackageWeight(); but the default system ...
1
vote
1answer
2k views

Magento 2: how to programatically set free shipping from an observer?

I need to set free shipping in observer, under certain very specific conditions. I can't have free shipping enabled in the back end because customers shouldn't be able to select it. I already tried ...
1
vote
1answer
32 views

Magento 2 shipping methods UPS/USPS “This shipping method is currently unavailable.”

I am trying to access Magento 2 shipping methods like UPS/USPS but its throwing exception This shipping method is currently unavailable. If you would like to ship using this shipping method, ...
0
votes
2answers
3k views

Update shipping rates on changing postcode on checkout page

I'm trying to create a module with custom shipping method. So I've followed this tutorial to create it. This link and this link, to configure shipping carrier validations. The problem is, if I change ...
2
votes
1answer
1k views

Magento 2 Get Shipping Rates of All active shipping methods

I have a special case where I want to show all active shipping methods with applied estimated shipping cost to login customer if customer has default shipping address set in address book. The ...
0
votes
0answers
15 views

Magento 2 : Cart price rules and tablerate

I have only one shipping method on a magento 2 website - tablerates. 0-25 usd => shipping charges = 5 USD above 25 => shipping charges = 0 USD I have setup a new cart price rule which gives a 100% ...
1
vote
1answer
430 views

Magento 2 - Programmatically update the flat rate shipping method price in checkout

I want to set a custom rate for the flat rate shipping method programmatically in frontend checkout. I have override the file Magento\OfflineShipping\Model\Carrier\Flatrate::collectRates() function ...
1
vote
1answer
2k views

Magento, programmatical checkout not including shipping rates

I'm trying to write this script to checkout using the cart. The problem is that the shipping rates aren't being factored into the totals and when the order goes through the order details say there is ...
4
votes
6answers
2k views

Magento 2.2.2 remove other shipping methods and enable only free shipping if consumer total more than 100

We are using Magento 2.2.2, We have more then 5 shipping methods enabled in our site. We needs to remove other shipping methods and enable only free shipping if the cost of their order totals to ...
0
votes
1answer
764 views

Magento 2 : Set free shipping method programatically from an observer

I need to add free shipping method fro particular quote in an observer. I am calling an event sales_quote_collect_totals_before. And my observer code is - namespace Vendor\Module\Observer; use ...
0
votes
2answers
166 views

Set default shipping method as table rate and not free shipping

I have two shipping method`s first is free shipping and second is table rate. I want to set the default shipping method as table rate and not as free shipping. how can we set it? Thanks in advance!
0
votes
1answer
2k views

Shipping email ignored when API sends tracking number only if custom php present

I have played with this even further and found the issue to be even more simple that what was previously presented. Please read all to get the gist of the issue. I wish to mention here that only the ...
1
vote
0answers
26 views

MatrixRate Table Rate Shipping Webshop

I am using this extension for shipping rate "https://webshopapps.com/row/matrixrate-shipping-extension.html". When i am adding one 1 product with 3kg weight, then on checkout page shipping method ...
2
votes
1answer
35 views

How to Override Product Shipping Price in Magento 2?

I found this solution, but error is coming which is undefined $method. The code which I found was this: di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
0answers
12 views

Multiple Shipping Methods, how to decide which gets called first

I have multiple (3) custom shipping methods that are working great but I'd like one in particular to be able to run first before all the other ones. Unfortunately that method also has to be at the ...
0
votes
0answers
22 views

In My domain.uk shipping cost is not showing for UK addresses for other countries it is showing correct shipping cost using Fedex

This look like in below screenshot, after entering the zipcode of uk its showing the ERROR message as highlight in below screenshot. We are using Fedex shipping method! Your help will be ...
16
votes
2answers
871 views

Order Status not changed in the sales order grid Magento 2

I am using the fedex shipping method and after generating the shipment,status shows completed in the order view page.But there is still showing 'processing' status in the sales order grid. Please ...
1
vote
0answers
13 views

Magento2: Remove shipping method based on Custom option?

I want to remove the flat rate shipping method based on custom option selected in magento2 Any help would be appreciated.
1
vote
0answers
47 views

Magento 2: Update shipping Methods on Custom field dropdown selection on Shipping form checkout page

i want to update shipping method on checkout page during custom field select option change in shipping form. According to magento 2 default functionality shipping estimation reloads with zipcode and ...
1
vote
2answers
2k views

Magento 2: Send different email templates for Ship, based on Shipping Method chosen

I am having a dilemma on how to send a different email content when an order is Shipped based on the Shipping Method chosen. For example: If there is Delivery / Pick Up / Shipping as shipping ...
1
vote
1answer
690 views

Magento 2.1.8 - Custom Online shipping module not displaying shipping methods on checkout

I am creating a custom shipping module for magento 2.1.8. I read on another post that shipping carriers divided into two types: online and offline shipping. (see How to programmaticlly create custom ...
1
vote
2answers
1k views

Magento 2 My Orders->Order Shipments->Track this shipment results in Invalid method error

(magento 2.0.10) My Orders->Order Shipments->Track this shipment->after click. Invalid method Magento\Framework\View\Element\Template::formatDeliveryDateTime(Array ( [0] => 2016-11-22 ...
0
votes
1answer
653 views

Uncheck all shipping metod radio buttons

I would like to uncheck all shipping methods. When a customer is on a checkout page, radio button is not preselected (all circles are empty).
2
votes
0answers
800 views

How to Create custom Table Rates Shipping method

I need to create 8 different table rate shipping methods which each has some different custom fields. So I can not use WebShopApps MatrixRate extension as each shipping method should has different ...
1
vote
0answers
31 views

Remove Shipping Method for Virtual Product Magento 2.3.2

We are having strange problem, On checkout for Magento 2.3.2, For Virtual products or gift card (we checked if its gift card extension issue, but it is also happening for virtual product whose weight ...
1
vote
1answer
749 views

Magento 2: DHL Shipping Method Element type “NewShipper” must be declared

I'm using DHL Shipping Method. After Order Placed. While creating New Shipment i have cliced on "Create Shipping Label" & Clicked on "Submit Shipment". On popup i have filled info. While saving ...
1
vote
1answer
2k views

Magento not calculating the shipping cost - Table rates (Basic setup)

I am having huge problems getting Table Rates Shipping Method to calculate the shipping cost. I´ve setup the Tables rates as follows (Norwegian translation): Land,Fylke/stat,Postnummer,"Vekt (og ...
3
votes
1answer
50 views

In magento2, Is there any way to done a backend selected shipping method only display in frontend checkout

Is there any way to done a backend selected shipping method only display in frontend (checkout)? Actually expected as Backend: I need to show dynamically selected shipping method alone shown in ...
1
vote
1answer
47 views

How to change a shipping method config error message by custom module custom message in magento 2

How to change a shipping method config error message by custom module in magento 2 See the below image, I want to update display error message in e checkout page with custom module. I know that we ...
1
vote
1answer
33 views

Custom Shipping Module not work on frontend in Magento v1.9

I had created a custom shipping module. But when I enable it and check on the frontend for my custom shipping rate, then I add billing detail and click on the Continue button, it redirects me to the ...
1
vote
0answers
21 views

Magento 2 Shipping Method fail to load due the http 500 error

The shipping method failed to load after I complete setup the payment method and so on... None of the method shown in the frontend and a error log shown as below http://domain/Magento2/rest/default/...
0
votes
1answer
38 views

How to done a error message under shipping method in magento 2

How to done a error message under shipping method in magento 2 like this..
0
votes
0answers
22 views

How to restrict shipping method by customer group in magento 2?

How to restrict shipping method by customer group in magento 2? like this:
3
votes
1answer
854 views

Can't set shipping method on order created programmatically

I have been searching for an answer on the web, but have tried all the solutions I have found and nothing seems to work. The order adds fine, but in the admin panel is shows "No shipping information ...
0
votes
1answer
678 views

Shipping modules does not update rate on zip code changes in guest-checkout page Magento 2 production mode

Preconditions Magento 2.0.4 install Cart page and checkout page Steps to reproduce: 1. Put any product inside your cart 2. Open cart page or checkout page 3. input zipCode to calculate tax for ...