Questions tagged [shipping-methods]

Denotes questions about shipping methods configuration and implementation.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Magento 2 Admin order's shipping method update event or plugin?

I want to do some functionality on update order's shipping method in admin so how it is possible. is there any event or plugin or other ?
SURENDER SINGH's user avatar
0 votes
0 answers
26 views

Error: Cannot instantiate interface Magento\ReCaptchaWebapiApi\Api\WebapiValidationConfigProviderInterface in /Factory/AbstractFactory.php:121

I have just upgraded my Magento version from 2.4.0 to 2.4.6 and I am getting this error on the checkout/#shipping page the shipping methods are not displaying and throwing this error in the network. s/...
Tisha Jhanwar's user avatar
0 votes
0 answers
13 views

Fedex Configuration "This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us"

I configured the fedex in magento 2 but it gives this error always. I might have entered some data incorrectly I need help configuring it.
Muhammad Hamza's user avatar
0 votes
0 answers
55 views

Magento 2: Create order programmatically using carrier containing underscore (PostNL)

I am unable to create an order programmatically with the carrier PostNL. The carrier code is "tig_postnl" and the method "regular". Normally I set the shipping address simply using:...
Tober's user avatar
  • 23
0 votes
1 answer
33 views

Klarna Checkout - Struck on Shipping Step in Multi Website - Magento 2

I'm reaching out to point out the Checkout issue in our Multi-website Magento 2.3.5 Setup. It is not allowing us to proceed further on the second website and showing an error on the Shipping Step. ...
Sheri's user avatar
  • 140
0 votes
0 answers
42 views

Magento 2, In checkout page shipping method is loading while changing the shipping address

Magento 2, On the custom checkout page, the shipping method is loading while I am changing the shipping address and getting the below error in the browser console. js.storage.js:155 Uncaught TypeError:...
Dinesh's user avatar
  • 1
1 vote
1 answer
107 views

Magento 2.3.2: Hide Flat rate shipping method in the basket when Free Shipping is applied

I have an issue where a customer has an order that qualifies for free shipping, but the Flat rate shipping option still appears in the basket. But the flat rate shipping price is also zero. I have a ...
Andy's user avatar
  • 47
0 votes
1 answer
32 views

How to print / echo / debug RateRequest properties in custom shipping method

I'm able to use this city dropdown plugin successfully. Now I'm trying to call shipping vendor API in my custom shipping module. Can anyone help me how I can print / echo / debug the destination in ...
dinotame's user avatar
1 vote
1 answer
65 views

what is the use of shipping setprice and shipping setcost

What is the use of setprice and setcost in shipping carrier? public function collectRates(RateRequest $request) { if (!$this->getConfigFlag('active')) { return false; ...
Muhammad Hossain's user avatar
1 vote
2 answers
202 views

Magento 2 : How to get Shipping Methods for Specific Customer Group

How can I get list of shipping methods for the different customer group.
user avatar
0 votes
1 answer
108 views

Custom shipping method available only via API

I am trying to add a custom Shipping Method that is only available via API (no storefront checkout). My starting point is the MagePsycho custom shipping module, which works fine, but as expected it ...
makeMonday's user avatar
0 votes
2 answers
83 views

How to hide In-Store Pickup Shipping method on checkout based on certain conditions

I am trying to hide In-Store Pickup on checkout page if certain conditions met. For example, I need to hide In-Store Pickup on checkout shipping methods section if customer belongs to specific ...
Muhammad Saeed Khan's user avatar
0 votes
0 answers
36 views

Magento2 - How to move checkout page side bar Cart Items section below the shipping method on checkout page?

Kindly help me in this Magento2 - How to move checkout page side bar Cart Items section below the shipping method on checkout page? Thanks in advance.
Chala Chalapathi's user avatar
0 votes
0 answers
52 views

how to validate custom condition rule based on product attribute?

I am using plugin for the same pusrpose. <type name="Magento\Shipping\Model\Shipping"> <plugin name="hide_shipping_method_based_on_product_attribute" type="Vendor\...
Abhay Agrawal's user avatar
0 votes
0 answers
272 views

Magento2: error - rest/default/V1/carts/mine/estimate-shipping-methods 500

After upgrade from Magento 2.3.6 to 2.3.7-p4 in checkout shipping method not showing. I receive error: logged customer rest/default/V1/carts/mine/estimate-shipping-methods-by-address-id 500 as guest ...
Tom's user avatar
  • 67
0 votes
0 answers
25 views

Magento 2.4 move cart page shipping rates on top of the page

Hi I need to remove the cart page shipping rates list under the "Estimate Shipping and Tax" and move that block on the top of cart page. Can you give me some support to do that. SO far I ...
Sahan Thilakarathna's user avatar
0 votes
1 answer
182 views

Easiest way to add a second flat rate shipping method on Magento 2?

Magento 2.4.5-p1 Smartwave Porto theme I need 2 simple flat rate delivery methods - something like: local Atlanta delivery (for all delivery for anywhere in Atlanta) = $10 Nationwide shipping (for ...
Allysin's user avatar
  • 178
0 votes
0 answers
16 views

How to add Options value of custom shipping method to order total in magento2

I have created a custom shipping method and added two radio options of weekday delivery for 5$ weekend delivery for 10$ which becomes visible when the user selects the custom shipping method. Now I ...
Ralph Rhodes's user avatar
0 votes
1 answer
105 views

Override `extension_attributes.xml` in extending custom module (which targets ShippingInformationInterface/ShippingInformationExtension)

The question is specifically about ./Magento/Checkout/Api/Data/ShippingInformationExtension.php and adding extra columns via extension_attributes.xml. Modules: Source module: Vendor_Module Overriding/...
CvRChameleon's user avatar
1 vote
1 answer
188 views

Magento 2: Add Logo upload field in admin shipping method section

I have implementing logo upload field in admin shipping method section, but facing issue. Any have uploaded same Logo/Image upload field in shipping method section in admin then let me know. Any help ...
Kirti Nariya's user avatar
  • 3,421
0 votes
1 answer
46 views

Getting Magento 2 developer course online

Would you please let me know Where I can get Magento 2 online course. Thanks
Ali Reza's user avatar
0 votes
1 answer
1k views

The shipping method is missing. Select the shipping method and try again

After select shipping method go to payments choose payments then click on My billing and shipping address are the same then click on place order button getting below error in Magento 2.4.4-p2.
Ansar Husain's user avatar
  • 3,399
0 votes
0 answers
82 views

Shipping Methods Jquery Code

I'm doing some customization on Magento 2.4.4 checkout and i need help to understand how to inject some javascript into "table-checkout-shipping-method" I tried do innsert following code in ...
user3718303's user avatar
0 votes
1 answer
31 views

Saved a configuration value from admin, but it is still showing the old value after page load

I am trying to change the UPS type in Stores > Configuration > Sales > Shipping Methods from Magento admin panel. The current value is United Parcel Service XML When I change it to United ...
Mohit Thakur's user avatar
0 votes
2 answers
983 views

Shipping method is missing on checkout - Magento 2.4.4

We face a strange error in the checkout on the domain.com/checkout/#payment page, when clicking the place order button. For some reason in some cases, we still can't find when exactly, the customer on ...
JGeer's user avatar
  • 1,395
2 votes
0 answers
36 views

shipping collectRates method $request->getDestRegionId() is empty value on estimate-shipping-methods-by-address-id

shipping collectRates method RateRequest class method of $request->getDestRegionId() is returning an empty value on estimate-shipping-methods-by-address-id, but same working well on estimate-...
Mohamed Abbas's user avatar
5 votes
2 answers
239 views

Magento2 add extra cost to shipping method on customer selected option radio button on checkout shipping form

We need to add extra Cost to shipping method, when customer select one of the input radio button on the custom shipping form.
Mohamed Abbas's user avatar
1 vote
0 answers
30 views

Magento2 How to store the customer(user) selected custom shipping information on quote item wise table

Expecting selected partner data to be stored against the respective items table based on SKUs.
Mohamed Abbas's user avatar
0 votes
1 answer
213 views

Can we use 2 shipping method in 1 checkout?

Want to develop functionality like user can select different shipping methods for product in checkout. I want to use 2 shipping methods for one order , is that possible?
Mukesh Prajapati's user avatar
0 votes
2 answers
159 views

How can i remove object manager from my code of Magento 2

I don't want to use object manager, how can i change my code? In the past, i have used method cart $cart but it is deprecated <?php namespace Custom\ShippingMethod\Model\Carrier; use ...
Miron's user avatar
  • 59
0 votes
0 answers
14 views

Why i dont have shipping method from admin, if they are have on my shopping cart

I create shipping method by code, use https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/
Miron's user avatar
  • 59
0 votes
3 answers
534 views

How to call the shipping method click event on custom dropdown click event in magento 2?

I have a dropdown to choose store for pickups after select the custom shipping methods Store Pickup. I want to call the shipping method click event on change function in the pickup store dropdown ...
Mujahidh's user avatar
  • 2,701
0 votes
1 answer
53 views

I created a simple shipping method, I want to set the country rate manually? Example US x2

i try to use $request->getDestRegionCode() but it dosent work <?php class Custom extends AbstractCarrier implements CarrierInterface { protected $_code = 'custom'; protected $...
Miron's user avatar
  • 59
1 vote
1 answer
309 views

Magento 2 Shipping carrier Shipping Cost Vs Shipping Price

What is the purpose of the shipping cost, I can observe the shipping Price is always visible on the frontend calculation. I've tried to edit the below file to verify the shipping cost. But it is not ...
Knight017's user avatar
  • 622
2 votes
1 answer
538 views

How to set Shipping Method on product add to cart and show total including shipping cost in mini cart?

I want to set shipping method when product is added to cart and want to change shipping method based on products added to cart.I have tried multiple way but unable to set and change shipping method ...
Mehran's user avatar
  • 482
0 votes
1 answer
150 views

Add select rule for dropdown in shipping method

How to make drop down required if not selected echo a message that says, "please select one option". i have attached screenshot to explain further the question i'm asking.
Bayzel's user avatar
  • 177
0 votes
1 answer
237 views

How to change first name in shipping address on this page using event observer magento 2?

Please explain with examples and provide the code of execute method if possible.
witcher's user avatar
  • 21
0 votes
1 answer
255 views

Magento 2.4.4 Change shipping method when cart value changes by adding quantity

I am having a bit of a issue figuring out the correct method to implement this. I am using OneStepCheckout on my site with free delivery for minimum cart value. When customers add product to their ...
rohit's user avatar
  • 11
1 vote
1 answer
1k views

If drop down not selected show error message

How to show error message if dropdown option not picked. when click next and message should appear please see the below picture.
Bayzel's user avatar
  • 177
1 vote
2 answers
97 views

How can I get the a selected option of Admin->configuration->Sales->Deliver Methods->flatrate-> field id? I need to inject this into a class

I will be injecting this into a ViewModel or Plugin. I have a custom configurable field in the Admin->configuration->Sales->Deliver Methods->flatrate and I need to check the value of it to ...
Justin Collins's user avatar
1 vote
0 answers
179 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
  • 360
1 vote
0 answers
511 views

Magento 2 checkout, I need to display or hide a shipping method depending on if a coupon code was entered and is valid. How can I do this?

I have a price rule attached to the flat rate shipping method as an option, and I want to intercept when the coupon is added, so that I can hide this flat rate method unless the coupon code matches ...
Justin Collins's user avatar
1 vote
1 answer
280 views

Add Active Class to Selected Shipping Method

How can I add an "active" class to the tr surrounding the shipping method when the row is clicked on? My goal is to have border wrap around the selected shipping method.
cjochum's user avatar
  • 121
1 vote
2 answers
344 views

Magento 2: Show/hide shipping method based on payment method selection

I want to hide free shipping when purchase order payment is selected and then show free shipping when any other payment method is selected.
mechanic's user avatar
  • 360
2 votes
1 answer
760 views

Magento 2 - How to detect shipping method change

In Magento 2 I try to track shipping method change in JS. For exemple when pickup relay is selected I need to display a specific message on frontend. Do you how can I do this ?
Fbr's user avatar
  • 147
1 vote
0 answers
99 views

ShipStation Shipping Label creation is not working Magento 2.4.2

We upgrade the Magento 2.2 to 2.4.2 . We have configure the ShipStation as shipping. But we are not able to create shipping label. We are stuck in Add to products to packege popup. Save button doing ...
Daga's user avatar
  • 11
1 vote
1 answer
2k views

Magento 2 graphql get list of available shipping methods

I Could not find if there is or there isn't a query to get list of shippings methods available via graphql. ref: https://devdocs.magento.com/guides/v2.4/graphql/ Is there a query available?
Juliano Vargas's user avatar
0 votes
1 answer
391 views

How can i show shipping address and shipping method on virtual product too?

How can i show shipping address and shipping methods on virtual products ? If i am doing hide check of isVirtual in Magento/Catalog/Model/Product it will then treat like simple product. I want to use ...
Ansar Husain's user avatar
  • 3,399
1 vote
0 answers
50 views

Load shipping rates on click instead of page load on cart page

One of my website's cart page is slow and after some digging up I found that the shipping-rates.html is taking up time to load. Is there any way, through which instead of implicitly loading I can load ...
Tanmay's user avatar
  • 780
0 votes
1 answer
185 views

move shipping field to below shipping methods

I have a block that display in shipping-address-fieldset and i have try to move it using layout but i'm failing. i want it to be displayed below Shipping Methods. please help Below is the layout file &...
Bayzel's user avatar
  • 177

1
2 3 4 5
21