Questions tagged [shipping-methods]

Denotes questions about shipping methods configuration and implementation.

Filter by
Sorted by
Tagged with
14
votes
4answers
23k 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 ...
10
votes
1answer
5k 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.
8
votes
2answers
11k 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 ...
1
vote
0answers
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 ...
1
vote
1answer
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 ...
5
votes
2answers
6k 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="...
2
votes
1answer
111 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 ...
2
votes
1answer
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 ...
2
votes
2answers
951 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 ...
1
vote
2answers
3k views

magento 2: Hide shipping method in frontend

I have the shipping method "Flatrate" enabled in backend. So, as expected, it is available in frontend, too. But this shipping method should only be available in backend. Of course, I already googled ...
0
votes
4answers
1k 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\...
11
votes
6answers
9k 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 ...
2
votes
2answers
1k 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 ...
11
votes
3answers
15k 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
4
votes
1answer
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 ...
3
votes
2answers
376 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 ...
2
votes
1answer
912 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 ...
0
votes
1answer
101 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, '...
4
votes
1answer
3k 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 ...
4
votes
3answers
3k 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 ...
3
votes
1answer
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 "Flat ...
3
votes
1answer
59 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, ...
3
votes
1answer
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 ...
2
votes
1answer
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 ...
2
votes
1answer
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 ...
1
vote
1answer
580 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
1
vote
1answer
1k views

How to add another flat rate shipping option?

Magento 1.9.1 Porto theme I am trying to add another Flat rate shipping option. I followed these steps here but I am not certain as to where to find the 2nd Flat rate shipping option: How to add ...
1
vote
1answer
655 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 ...
0
votes
1answer
565 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....
6
votes
1answer
3k 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 ...
5
votes
3answers
6k 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 ...
5
votes
1answer
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.
1
vote
1answer
5k 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 ...
7
votes
2answers
7k 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 ...
7
votes
1answer
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 ...
5
votes
6answers
3k 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 ...
4
votes
2answers
3k 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 ...
2
votes
1answer
380 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 ...
2
votes
2answers
2k views

Getting the shipping method code in transactional emails

We’re currently calling the variable "{{var shippingMethod}}” but it’s retrieving the description “fedex_STANDARD_OVERNIGHT”. Is there a way to grab the code in place of the description. For the ...
2
votes
1answer
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 ...
1
vote
2answers
3k 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\...
5
votes
4answers
2k 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. ...
5
votes
5answers
4k 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 ...
4
votes
2answers
2k 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 ...
4
votes
2answers
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 $...
4
votes
1answer
60 views

Can i get Idea? How to write PHP code if anyone of the selected Categories of products presents in the cart the shipping method is Admin selected one

If anyone of the selected Categories of products presents in the cart the shipping method is admin selected one. now my shipping methods like user selections, like 1)DHL 2)FEDEX 3)INDIA POST If ...
3
votes
1answer
3k 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 ...
3
votes
1answer
166 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 ...
2
votes
1answer
2k views

Checkout - get shipping methods in custom component

Magento 2.0.1. I have created custom component in checkout, and I want to get inside its js file list of active shipping methods and preselect one of them, according to configuration passed via ...
2
votes
3answers
17k views

How to set default shipping method and country?

How can I set my default shipping method in the shopping cart to the country where my store is? For instance, I want to set the default shipping method to the UK when the customer are on the shopping ...