Questions tagged [shipping-methods]
Denotes questions about shipping methods configuration and implementation.
1,032 questions
0 votes
0 answers
27 views
Custom Discount Breaks Shipping Rate Calculation in Quote
<?php declare(strict_types=1); namespace Vendor\Module\Model\Quote\Total; use Magento\Quote\Api\Data\ShippingAssignmentInterface; use Magento\Quote\Model\Quote; use Magento\Quote\Model\Quote\...
0 votes
0 answers
56 views
Call to a member function __toArray() on array
I’m passing new information from my custom shipping method to the frontend following the previous answer Need to get additional data in custom shipping method Magento 2? namespace Sway\ShipSmart\Model\...
0 votes
1 answer
75 views
Add different shipping price on the basis of the product attributes and Country
I have this qty_more attribute showing on the Grouped Product PDP. I have a table of the shipping costs of the different countries that will only apply if the product having attribute is add to cart ...
0 votes
1 answer
249 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
2 answers
364 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
1 answer
221 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
1 answer
83 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
67 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
59 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
2 answers
152 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
121 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
413 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
102 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
443 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
547 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.