Questions tagged [shipping-methods]
Denotes questions about shipping methods configuration and implementation.
1,036 questions
0
votes
0
answers
9
views
Shipping Methods not displaying after user creates an account in checkout 2.3.4
We are having an issue on our storefronts if user doesn't have an account and they create an account during checkout that the shipping rates will not show.
But if user logs out and logs in manually ...
0
votes
1
answer
68
views
Magento 2 ups is not working with REST SERVICE option
I am using the UPS shipping method and I am getting shipping rates with the below option.
United Parcel Service XML
But as I change it to
United Parcel Service REST
then it stopped working and ...
0
votes
1
answer
107
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....
0
votes
0
answers
37
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 ...
0
votes
0
answers
96
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/...
0
votes
1
answer
69
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....
0
votes
0
answers
326
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 ...
0
votes
1
answer
56
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
...
0
votes
1
answer
51
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 ...
0
votes
0
answers
79
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 ...
0
votes
0
answers
44
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 ?
0
votes
1
answer
70
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.
...
0
votes
0
answers
95
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:...
1
vote
1
answer
289
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 ...
0
votes
1
answer
61
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 ...
1
vote
1
answer
357
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;
...
1
vote
1
answer
465
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.
0
votes
1
answer
220
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 ...
0
votes
2
answers
298
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 ...
0
votes
0
answers
46
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.
0
votes
0
answers
424
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
...
0
votes
1
answer
446
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 ...
0
votes
1
answer
357
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/...
1
vote
1
answer
235
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 ...
0
votes
1
answer
67
views
Getting Magento 2 developer course online
Would you please let me know
Where I can get Magento 2 online course.
Thanks
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.
0
votes
1
answer
96
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 ...
0
votes
2
answers
2k
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 ...
2
votes
0
answers
46
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-...
5
votes
2
answers
531
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.
1
vote
0
answers
41
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.
0
votes
1
answer
300
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?
0
votes
2
answers
196
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 ...
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/
0
votes
3
answers
1k
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 ...
0
votes
1
answer
58
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 $...
1
vote
1
answer
516
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 ...
3
votes
1
answer
901
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 ...
1
vote
1
answer
202
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.
0
votes
1
answer
257
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.
0
votes
1
answer
451
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 ...
1
vote
1
answer
2k
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.
2
votes
2
answers
134
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 ...
2
votes
0
answers
320
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
{
...
2
votes
0
answers
602
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 ...
1
vote
1
answer
405
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.
1
vote
2
answers
614
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.
2
votes
1
answer
997
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 ?
1
vote
0
answers
113
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 ...
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?