Questions tagged [shipping-methods]

Denotes questions about shipping methods configuration and implementation.

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

400 bad request from rest/default/V1/carts/mine/estimate-shipping-methods

Whenever I go to cart page or checkout page after adding products, console always throws 400 Bad Request. I tried reinstalling Magento and did many things but there is no luck. Estimate shipping ...
5
votes
1answer
2k views

Why shipping methods not updated on changing of checkout fields?

In the past when I fill one of the checkout fields then shipping method section under the checkout page refreshed and then updated like this: But now shipping method not updated by calling ajax (or ...
2
votes
1answer
942 views

Check if free shipping method is active programmatically in Magento 2

In my custom module I've created model/carrier.php to add custom shipping method, one of my custom shipping method will show up if magento free shipping method is not active, is there a way to do this?...
6
votes
3answers
34k views

Get Product Attribute value

I have made a shipping Model in Magento 2 . Inside the collectRates function. I am getting all items in the cart and looping through them. I can set the price based on the product title. But I can't ...
0
votes
1answer
46 views

How to get all Shipping Methods list with shipping rates and shipping tax on cart page?

I want all available shipping methods list with shipping rates and Tax amount. I've done below function, though it's giving me shipping methods list with rates but not shipping tax amount per shipping ...
1
vote
2answers
928 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 ...
4
votes
2answers
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 ...
1
vote
2answers
1k views

Magento 2 - hacking FedEx rate request

We are running CE 2.1.2 Magento 2 sets the residential flag in the rates to request based on the configuration data. This means that all quotes are either residential or commercial, depending on what ...
0
votes
1answer
53 views

Magento 2.4 default select store pickup option on checkout

I am using store pickup of magento 2.4. I want to my store option to be preselected on checkout, as user have to search for it every time. Anyone have done this? https://nimb.ws/VNMWI1
0
votes
1answer
831 views

Magento : How can merge payment and shipping method steps to checkout

I want display payment method and shipping method on one single step on checkout page. I have merged billing and shipping address steps in single step.
8
votes
3answers
12k 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 ...
0
votes
0answers
11 views

Mageto 1.9 UPS limit to 48 contiguous United Sates

I have set UPS Ground as Free Method in the UPS shipping method configuration. And an amount of 75 dollars as Minimum Order Amount for Free Shipping. This is working fine. But I need a Free shipping ...
6
votes
1answer
1k views

How to fix Invalid customer address id in Magento 2.1.5

How to fix Invalid customer address id 1678 etc when trying to add to cart in Magento 2.1.5 It was fixed before by adding a foreign key field to "customer_address_id". After adding the matrixrate ...
0
votes
3answers
73 views

Magento 2 Exclude Free shipping method for specific products

I have created one attribute for products, if that attribute value is yes than only it will be eligible for free shipping and other products will be excluded from free shipping. so when i add that ...
0
votes
0answers
57 views

DHL shipping methods are not shown in the checkout page but shown in the shipping.log

I have set the shipping origin country as Afghanistan in the Stores-->Settings-->Configuration-->Sales-->Shipping Settings->Origin, but the checkout shows "This shipping method is ...
1
vote
3answers
1k views

FedEx Shipping that handles residential and commercial addresses

We have ported our site to Magento 2.1.2 and from my best understanding the Magento standard FedEx Shipping Method can not properly handle shipping to both residential and commercial addresses. In ...
2
votes
1answer
52 views

Magento2 - How to remove/disable Custom Free Shipping Method from front-end only?

I created a Custom Free Shipping method and want to disable only in front end. I try using getAreaCode() check here..but not working in Magento 2.4.0. Please help if you know.
0
votes
0answers
23 views

refresh Shipping Method's block on checkout page Magento 2

We have a custom checkout field called the city where we have multiples cities. Now I want that when customers select/ change any city, refresh the shipping method block. Same as when we add/change ...
0
votes
2answers
172 views

Magento Shipping Method

I have created a custom shipping method in Magento but my question how i can call a request from external gateway and read XML data in Magento shipping method .
2
votes
1answer
2k views

How to add Create Print Label for Custom Shipping method in magento 2

I follow this document to create a custom shipping method, its works fine. But I need to add Create Shipping Label functionality for this shipping method. I got these reference Link1 and Link2 They ...
1
vote
2answers
95 views

DIFFERENCE BETWEEN ONLINE AND OFFLINE SHIPPING METHOD

I am working on a custom Magento module. I am facing some issues to debug the code and one question that comes into my mind is that what is the difference between offline and online shipping method. ...
1
vote
1answer
213 views

Multi warehouses shipping rate calculation with UPS

We have two different warehouses for e.g. once is in CA and other is in VA. We need to ship product based on state which provides low rate. We prepare list like NY should be served by VA. We also ...
1
vote
0answers
18 views

Customer login changes shipping method

We've made a custom implementation for Magento 1.9.2.2 in which a customer can select his preferred shipping method in the cart. The form for the implementation in the cart looks like this <form id=...
0
votes
1answer
18 views
0
votes
1answer
29 views

Magento 2: How to add additional custom rate in shipping method?

I am not getting here that how can we add additional rate in any shipping method. Do anyone have solution for it? I have tried to do it with below link's logic but it is not working. Referred link - ...
6
votes
1answer
344 views

Magento2 : custom rate for shipping method

In magento2 - I want to use custom price for one of my shipping method per quote. I want to show custom amount for only current quote. how to do it. Like there is a shipping method. "CUSTOM FLAT ...
0
votes
0answers
10 views

Shipping methods controlled by post codes

I use Magento 2.3.4 and I have 3 shipping methods that are running at the same time but I want them to only display one at a time. The entire shipping system runs off a set of post codes. for the sake ...
0
votes
0answers
16 views

No Shipping quotes being returned - receiving “Access Denied”

The UPS Shipping Method suddenly stopped working yesterday. Upon enabling debugging for the service, it returns: [result] => \<HTML>\<HEAD> \<TITLE>Access Denied\</TITLE>...
0
votes
0answers
9 views

Shipping cost calculated on subtotal Magento 2.3

I need to set my shipping amount to be a percentage of the subtotal My requirement would be: minimum of 7€ and 7% of the subtotal if more. I can see that in flat rate you can set a fee with a ...
0
votes
0answers
22 views

Show a message under shipping method in magento 2

I have created a shipping method by following this link https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/ I just wish to display a custom message under the specific shipping method. ...
0
votes
0answers
6 views

Magento2.3.5 Ceck when estimate-shipping-methods ajax finishes

How do I check when the the call to api http://dev.test.com/rest/default/V1/guest-carts/xxxxxxxxxxxxxxxxxx/estimate-shipping-methods has finished in checkout cart shipping page ? I could use jquery ...
0
votes
1answer
34 views

Show custom message under every shipping option on checkout page in Magento 2

I have Successfully Created a module for custom message on shipping method but i am not able to retrieve those data under the shipping method on checkout page, please help me. Thanks in advance.
0
votes
0answers
23 views

Shipping method doesn't work

I'm creating an e-commerce website and installed a shipping method calling Frenet (a famous shipping method in Brazil), described in this module (https://github.com/FrenetGatewaydeFretes/frenet-...
2
votes
2answers
2k views

Magento2 how to get current address data in custom shipping method

How i can get current shipping address details in custom shipping module, here my code <?php public function collectRates(RateRequest $request) { if (!$this->getConfigFlag('active')) { ...
0
votes
0answers
31 views

Magento 2 calling addHandle() on template with <script type=“text/x-magento-init”>

I've tried to add a Js layout in sales_order_create_index.xml in which I override Magento_Sales::order/create/shipping/method/form.phtml There's not much I did but to call <script type="...
0
votes
0answers
9 views

Magento 2 prevent merge of items when same options on Paypal Review Page

I have Paypal express checkout. On the PayPal review page when changing shipping methods, it's a merged item if the same product is with the same Color and Size. But on the cart page, it's different. ...
0
votes
1answer
37 views

Magento 2 How to hide free shipping method at checkout?

We are using this plugin - <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
0
votes
0answers
23 views

Shipping methods not showing at checkout on Magento 2.3.4

I'm creating a e-commerce and installed a shipping method calling Frenet (a famous shipping method on Brazil), describe on this module (https://github.com/FrenetGatewaydeFretes/frenet-magento2). It's ...
0
votes
0answers
20 views

Magento 2 How to set tax based on shipping?

How to set tax based on shipping? if the user select shipping method store-pickup then we have to add tax 2% and if the customer select other shipping methods then we need to add tax 8% It must be ...
0
votes
1answer
17 views

How to setup free shipping multiple store view

I have 2 store view Suisse (ch) and France (fr) : free shipping par store view 20 in fr and 30 in ch I have found a extention fro flate rate : Magento 2 Multiple Shipping Flat Rates extension there's ...
0
votes
0answers
19 views

Loading wrong Shipping Method - By default on Checkout Page ( M2.4.0 )

I am using this extension Magento 2 Multiple Flat Rate Shipping I have 2 shipping methods. Shipping Method 1: Free Shipping Method - Only For PK Shipping Method 2: Flat Rate - Only For USA Now in ...
2
votes
2answers
394 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 couple of answers already posted on magento stackexchange but non of them are working. Tried to change shipping.js to return ...
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 ...
0
votes
0answers
85 views

Magento 2.3.5 - Undefined property: Magento\Quote\Model\Quote\Address\Interceptor::$_carrierFactory on Shipping Method

I am getting the error message in the browser when i try to checkout: Undefined property: Magento\Quote\Model\Quote\Address\Interceptor::$_carrierFactory in/app/code/Wyomind/EstimatedDeliveryDate/...
0
votes
0answers
14 views

How to add allowed methods list in magento2 shipping using custom extension?

<each if="!quoteIsVirtual" args="getRegion('customer-email')" render="" /> <each args="getRegion('address-list')" render="" /> <...
0
votes
0answers
38 views

Magento 2 how to override Apply Coupon form submit override

I want to override the post method of apply coupons in the checkout payment tab. I want to redirect when a coupon is applied not an ajax call. I have tried using coupon code event and using js no ...
2
votes
2answers
426 views

Override Shipping Rates at checkout

I am simply looking to get the shipping rates from the current quote and override them via a plugin/interceptor but have no idea where I'm going wrong here: <?php namespace Vendor\Module\Plugin\...
0
votes
0answers
30 views

Magento 2 disable shipping method based on condition

By default in my site I have enabled free shipping method if subtotal is greater than 150$. Now I have to disable free shipping method if subtotal after discount is greater than 150$ and enable table ...
0
votes
0answers
32 views

magento 2 checkout showing shipping method two times how to remove it

Magento 2 showing shipping methods twice on checkout page its showing the same duplicate, how to remove 1 from it. thanks
0
votes
0answers
17 views

How to restrict or hide fedex shipping method based on conditions at checkout page in magento 2

How to hide or restrict the FedEx calculation in the checkout page I don't want to show the FedEx shipping method based on product attribute value at the checkout page? For example The attribute code ...

1
2
3 4 5
21