Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [shipping-methods]

Denotes questions about shipping methods configuration and implementation.

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

Magento 2.4.7 configure UPS shipping method

i am trying to configure UPS shipping method with Magento 2.4.7. i am using United Parcel Service REST UPS type. you can verify below images of UPS configurations : [1]: https://i.sstatic.net/Mwv9g3pB....
MageComp Project Team's user avatar
0 votes
0 answers
21 views

Magento 2 : Validate Shipping Methods According to Custom Checkbox Select

I have created a checkbox in shipping form for local pick-up option. If user checks it, shipping address get populated as the store address. Now I want to show, the custom created, shipping method ...
HimanshuK's user avatar
0 votes
0 answers
24 views

Magento 2.4.7 UPS shipping method not working

i have configured UPS shipping method in magento 2.4.7, my credentials are proper and still i am unable to view shipping method. verify below images. UPS configurations : 1 : https://i.sstatic.net/...
MageComp Project Team's user avatar
0 votes
0 answers
24 views

Magento 2 : Update Shipping Method when add/remove products from minicart

I use magento 2.4.6. I have a custom code that allows the free shipping method only for peculiar products so, if one of these products are in the cart, the free shipping is visible, otherwise it's not....
Lou Nik's user avatar
  • 453
0 votes
0 answers
103 views

UPS API Change to Auth2.0

Our client told us On 5 June 2023 UPS began the sunset process for access key authentication in favour of the more secure OAuth 2.0 model for all APIs. This change impacts all API integrations and ...
Ashar Riaz's user avatar
  • 1,035
0 votes
1 answer
48 views

Add custom textbox after shipping method if freeshipping selected with validation

i've added textbox field if shipping method is freeshipping based on the shipping method textbox functionality working fine. but i want to make that field required which is not working here is my code ...
Ronak's user avatar
  • 476
0 votes
1 answer
46 views

Restrict Shipping method only at the checkout

I want to use the only one shipping method at the checkout, but it don't distrub the internal shipping methods and the other shipping methods working besides checkout. Actually I am doing something ...
Rana Zain's user avatar
  • 658
0 votes
0 answers
54 views

In Store Delivery sources show regardless of product stock status

I have come across an issue in Magento 2.4.6 p3 that appears to be a bug, https://github.com/magento/magento2/issues/37992 When using the In Store Delivery option if a product is out of stock you ...
miller75's user avatar
  • 409
0 votes
0 answers
35 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
35 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
19 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
70 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
45 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
54 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
195 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
  • 57
0 votes
1 answer
42 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
213 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
1 answer
367 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
180 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
187 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
43 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
354 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
  • 87
0 votes
1 answer
310 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
  • 260
0 votes
1 answer
224 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
215 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,041
0 votes
1 answer
61 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
2k 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,429
0 votes
1 answer
45 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
1k 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,418
2 votes
0 answers
42 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
391 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
39 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
269 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
177 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
  • 79
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
  • 79
0 votes
3 answers
816 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,793
0 votes
1 answer
55 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
  • 79
1 vote
1 answer
436 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
  • 632
3 votes
1 answer
760 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
  • 492
1 vote
1 answer
177 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
  • 187
0 votes
1 answer
248 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
395 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
  • 187
2 votes
2 answers
109 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
2 votes
0 answers
217 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
  • 440
2 votes
0 answers
585 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
344 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
  • 131
1 vote
2 answers
456 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
  • 440
2 votes
1 answer
876 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
  • 167
1 vote
0 answers
109 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
2 3 4 5
21