Questions tagged [shipping-methods]

Denotes questions about shipping methods configuration and implementation.

Filter by
Sorted by
Tagged with
14 votes
4 answers
24k views

Remove Shipping steps in Onepage Checkout

I'm using CE 1.9.1.0. I'm trying to remove the Shipping Information and Shipping Method steps from onepage checkout but with no success. Perhaps someone could help me out or point me in the right ...
user avatar
  • 153
10 votes
1 answer
6k views

Magento 2 - enable cash on delivery only for specific shipment method

How to, for example, enable cash on delivery payment only when customer selected flat rate shipping method? I cannot find a way doing this in shipment/payment configuration or in cart rules.
user avatar
  • 471
8 votes
3 answers
14k views

Magento 2 How to remove shipping method in checkout page

I want to remove shipping method from the cart page and checkout page. I am trying to remove the shipping method from checkout page but seems it's loading from the Knockout.js file. How can i remove ...
user avatar
  • 910
1 vote
0 answers
4k views

Merge billing address, shipping address and shipping method on onepage

I managed to join the file: \ template \ checkout \ onepage \ shipping.phtml with: \ template \ persistent \ checkout \ onepage \ billing.phtml But I must also add the file: \ template \ checkout ...
user avatar
  • 875
1 vote
1 answer
1k views

Hiding Shipping Method for current Logged in/Guest user if a condition method

I'm using Magento 2.1. Currently, I'm having two shipping methods. One is UPS and another is Flatrate. If my product's attribute returns true, I want to hide Flatrate shipping method from frontend ...
user avatar
6 votes
2 answers
8k views

Magento 2 add custom extesion html file in shipping method block

I have created custom shipping method. I want to add additional comment after shipping method name. Following xml file Vendor_Namespace\etc\adminhtml\system.xml <group id="flatrate2" translate="...
user avatar
12 votes
7 answers
13k views

Magento 2: Hide other shipping methods when free shipping is available

I charge my customers flat rate for shipping and I also offer free shipping for orders that are above certain amount. At the moment, customers who qualify for free shipping will also have paid ...
user avatar
  • 123
2 votes
1 answer
3k views

override USPS shipping method name

This is a follow-up of sorts to : shipping method name alias. The issues I found: 1) the translate.csv works like a charm for UPS shipping. it does NOT work for USPS 2) the change to ...
user avatar
2 votes
1 answer
124 views

How can i show USPS Media Mail Only For Books not for other Products?

I have different kinds of products, USPS Media mail is good for books, but not for all products. How can i restrict Media Mail Not allowed for other products. Condition: 1) If cart consists both ...
user avatar
  • 95
2 votes
2 answers
1k views

Magento2.1.9 How to apply condition in checkout shipping method?

In magento2 checkout page i'm using free shipping method and i need to hide free shipping method only for non stocking customer group and rest of all customer group i want to display free shipping ...
user avatar
  • 1,597
1 vote
4 answers
3k views

Magento 2 - create order programmatically with flat rate - No shipping information available

I tried to create order programmatically with flat rate shipping method with the help of below code. Here, order created successfully but shipping method and rates not apply to order. use Magento\...
user avatar
3 votes
4 answers
4k views

Magento 2 How to display custom text instead of shipping method title and carrier title

How to display only "Shipping" text instead of "Shipping(Flat Rate - Fixed)" text in Cart, Checkout and Emails.
user avatar
1 vote
3 answers
5k views

magento 2: Hide shipping method in frontend

I have the shipping method "Flatrate" enabled in the backend. So, as expected, it is available in the frontend, too. But this shipping method should only be available in the backend. Of ...
user avatar
8 votes
1 answer
6k views

Magento 2 make product attribute available in QuoteItem

Working on a modification to shipping in Magento 2 and need to have a conditional based on a product attribute which is not currently exposed. How can this be done? In my Shipping class, I can get ...
user avatar
2 votes
2 answers
2k views

Magento 2.3 How to pass custom input field data to the sidebar Summary

I have created a custom input field attribute which will show up once a specific custom Shipping method is selected. I have it working already. And now I want the data from the custom input field to ...
user avatar
  • 4,482
11 votes
3 answers
20k views

Magento 2 How to get all active shipping methods?

My magento version is 2.1.0. How can i get all active shipping method list? Any help would be highly appreciate
user avatar
4 votes
1 answer
2k views

Set minimum order price for a shipping method

I want to set a minimum order amount for a specific shipping method. I want a specific shipping method to get enable when subtotal price of order reaches to the specific price which I had set before ...
user avatar
  • 859
3 votes
2 answers
383 views

I have implemented free shipping with minimum order order $40.00 [duplicate]

I have implemented free shipping method with minimum order $40.00 and also flat shipping. When free shipping condition is true, then I don't want to show other shipping methods, how to do this? I ...
user avatar
2 votes
1 answer
1k views

Magento 2: How to Show method if not applicable Country Wise?

I'm using DHL Shipping Method. I have set Show Method if Not Applicable to Yes. Displayed Error Message will be displayed, when it's applicable. I would like to show this Error Message by Specific ...
user avatar
  • 9,473
2 votes
3 answers
865 views

Show free shipping text instead of $ 0.00

Is there a way to show free shipping text instead of $ 0.00? I tried with a couple of answers already posted on Magento StackExchange but none of them are working. Tried to change shipping.js to ...
user avatar
  • 51
0 votes
1 answer
147 views

How to get the name of the triggered event? [closed]

How to self check what event i am using, my event : <checkout_cart_product_add_after> how to print, i tried : $event = $observer->getEvent()->getName(); Mage::log($event, null, '...
user avatar
  • 95
4 votes
2 answers
1k 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 ...
user avatar
  • 384
4 votes
3 answers
4k views

UPS API estimated delivery date

i need my shipping methods from UPS to say an estimated delivery date (or range) do i need to extend Magento's core UPS API functionality or is this information already being retrieved and i just need ...
user avatar
4 votes
1 answer
4k views

Magento 2.1: Update shipping rate on providing zipcode in cart page

In the UPS shipping method, when we type zip code the shipping rate will be automatically calculated based on the zip code provided. The same thing I have to customize in flatrate too. I have my ...
user avatar
3 votes
1 answer
60 views

Shipping charges working in APP but not working according to the distance

After I used this answer : Shipping charges are not working now i am getting shipping charges in App. But we are facing some small issue now: Based on distance, we have set the shipping price, ...
user avatar
3 votes
1 answer
5k views

How To Properly Display Weight vs Destination Table Rates

First time using Magento. Still learning the ins and outs of this software. I am trying to setup table rates... but my CSV file that I keep uploading keeps yielding an error. How would I write this ...
user avatar
  • 31
3 votes
1 answer
2k views

How can i add icon before shipping method name in magento2?

I want to add Image before Shipping method name in Checkout page.I have checked in shipping.html but here all data coming from js.I can't find proper way for it. Right now i want to add icon for "...
user avatar
  • 123
2 votes
1 answer
1k views

Magento2 custom/different flat shipping charge for few products

I want to charge custom shipping charge for few product available in store is it possible? i.e currently i am charging flat shipping chargefor all product how to charge custom/different price few ...
user avatar
2 votes
1 answer
1k views

Magento 2: How to change Weight field for DHL Shipping Method [SOLVED]

For Product apart from Magento Field Weight, we have another Attribute Called Total Weight. Every product has this attribute. So when user will select DHL Shipping Method, instead of Product's ...
user avatar
  • 9,473
1 vote
1 answer
650 views

Restrict Cash on delivery based on Country under shipping method

I want to restrict COD based on country we select under billing address in checkout page
user avatar
1 vote
2 answers
2k views

Magento 2 hide shipping methods based on product attribute & shipping address out of USA

I Would like to hide shipping methods and display a custom message on the checkout page & cart page based on product attribute flag & if the shipping address is outside of the USA. I used the ...
user avatar
0 votes
1 answer
1k views

Magento2.3.1: How to show available shiping methods based on product delivery availability?

I am working on https://www.depoto.com/. Right now, we are having two delivery options for product availability like Product is available and Product is not available. For this, we used https://www....
user avatar
5 votes
1 answer
10k views

Retrive the Shipping method and shipping rates programmatically [closed]

I had overwriten the shipping Model , I need a carrier rates from the carrier codes for the further calculation in model class. Thanks in advanced.
user avatar
  • 321
5 votes
3 answers
10k views

Save a custom attribute from shipping method to quote_address

I have created a custom shipping method which allows delivery to a local office of the carrier. I have created a select when the shipping method is selected, so the user picks the office. Now I need ...
user avatar
  • 123
1 vote
1 answer
6k views

Magento2 Checkout Customization

I need help with checkout customization. Can someone give me some links to resourses with information about Magento 2 checkout customization? I am all ready readed developer guide and docs, but i ...
user avatar
7 votes
2 answers
8k views

OnePage Checkout - Hide Payment method depending on Shipping Method

I'm using CE 1.9.0.1 and have correctly created and registered my module, but I can't seem to detect the shipping methods. Basically, I want to hide Cash on Delivery if Flat Rate or Free Shipping is ...
user avatar
  • 619
7 votes
1 answer
11k views

Debugging: Sorry, no quotes are available for this order at this time

I'm getting the dreaded Sorry, no quotes are available for this order at this time error message on the Shipping section of the One Page Checkout. The only shipper is FedEx. Is there known ...
user avatar
  • 43.7k
5 votes
6 answers
4k 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 ...
user avatar
  • 5,244
4 votes
2 answers
4k views

Magento : Use custom error message in shipping method

i have created a shipping method extension in which shipping rate is correctly and even error message is also set when it conditions are sattisfied. My question is when i am trying to set a the error ...
user avatar
3 votes
1 answer
5k views

How to get selected shipping method in the checkout page magento 2?

I would like to get the selected shipping method from the checkout page it looks like this one : I just want to get the selected shipping method like above image shown : Shipping Table Rates so that ...
user avatar
3 votes
1 answer
446 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 ...
user avatar
  • 1,389
2 votes
1 answer
2k views

How to get shipping quote on product view page?

I want to display smalll utility like shipping calculator on product view page. we know native magento provides this section at Cart Page. How I can implement it on product view page ? I have a ...
user avatar
2 votes
1 answer
408 views

I am not able get destination city in collect rate method

I am trying to get Destination City in Collect rate Method of Magento 2 But its blank, /** * Collect and get rates * * @param RateRequest $request * @return Result|bool|null */ public function ...
user avatar
1 vote
2 answers
4k views

Magento 2 override tablerate model

I have override magento 2 tablerate module class. Below are the override file Custom/Shipping/Model/Carrier/Tablerate.php namespace Custom\Shipping\Model\Carrier; use Magento\Quote\Model\Quote\...
user avatar
0 votes
1 answer
1k views

Magento 2.1.7 Change Shipping Method Title method.method_title USPS Pirority Mail Day 1

I would like to change the shipping method title from "Priority Mail 1-Day" to "Priority Mail" how do I target this cleanly? <td class="col col-method" data-bind="text: method.method_title, attr:...
user avatar
  • 263
7 votes
5 answers
6k views

Store pick up Magento 2

How can we show a checkbox at checkout if the customer wants to pick up their products at the store itself instead of getting it shipped to their address? Can we do this without buying an extension ...
user avatar
5 votes
5 answers
5k views

Magento 2: Hide payment methods depends on shipping method

I have created custom shipping method "Pick up at the store" and payment method "Pay in store" and I would like to hide all other payment methods, when I choose "Pick up at the store" shipping method. ...
user avatar
  • 175
5 votes
3 answers
5k views

Remove specific shipping method based on condition in magento 2

I have installed a store pick up extension in our website. This extension showing two option as radio buttons Collect in Store Yes No So if we select 'NO', then in shipping method, There is an ...
user avatar
  • 1,739
4 votes
2 answers
8k views

How to add custom fields to custom shipping method(at onepage checkout)?

I created previously custom payment methods.For that I added successfully extra fields using following code in my model logic. protected $_formBlockType = 'newmodule/purchaseorder'; protected $...
user avatar
  • 217
4 votes
2 answers
3k views

Retrieve all available shipping methods/carriers via REST

We're looking for a way to generate a list of all available shipping method codes and shipping carrier codes via REST API. I'm only seeing this available via the cart but I'd like to be able to ...
user avatar