Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
Manish Goswami's user avatar
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 ...
HimanshuK's user avatar
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/...
MageComp Project Team's user avatar
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 ...
Ronak's user avatar
  • 476
0 votes
0 answers
80 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
  • 419
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 ?
SURENDER SINGH's user avatar
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 ...
Andy's user avatar
  • 57
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; ...
Muhammad Hossain's user avatar
1 vote
1 answer
466 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
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 ...
makeMonday's user avatar
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.
Chala Chalapathi's user avatar
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 ...
Tom's user avatar
  • 87
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/...
CvRChameleon's user avatar
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 ...
Kirti Nariya's user avatar
  • 3,091
0 votes
1 answer
98 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
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 ...
JGeer's user avatar
  • 1,422
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-...
Mohamed Abbas's user avatar
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.
Mohamed Abbas's user avatar
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.
Mohamed Abbas's user avatar
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?
Mukesh Prajapati's user avatar
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 ...
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
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 $...
Miron's user avatar
  • 79
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 ...
Knight017's user avatar
  • 632
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 ...
Mehran's user avatar
  • 522
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.
Bayzel's user avatar
  • 187
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.
witcher's user avatar
  • 21
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.
Bayzel's user avatar
  • 187
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 ...
Justin Collins's user avatar
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 { ...
mechanic's user avatar
  • 440
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 ...
Justin Collins's user avatar
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.
cjochum's user avatar
  • 141
1 vote
2 answers
617 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
998 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
  • 177
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 ...
Daga's user avatar
  • 21
1 vote
0 answers
52 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
  • 794
0 votes
1 answer
233 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
  • 187
0 votes
1 answer
203 views

"Provided countryId does not exist" Error 500

Magento: 2.4.3 Delivery method: In-Store Delivery Stage: "Select Store" dialog in the checkout. corresponding line in the log: [2022-05-06 11:50:34] main.CRITICAL: Report ID: webapi-...
Senku's user avatar
  • 45
0 votes
3 answers
995 views

Magento 2: How to create multiple custom shipping methods in a single module?

I am referring this (https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/#step-1-declare-a-shipping-module) to create a custom shipping method. But I need to create multiple shipping ...
MagentoDev's user avatar
0 votes
1 answer
513 views

Multiple shipping method for single order

I wanted to build a functionality where user can choose or select shipping method per cart item. For example I have 3 items in my cart as below- Item-1 Item-2 Item-3 On cart page all the available ...
manish_khot's user avatar
1 vote
0 answers
24 views

Shipping costs per vendor (looking for extension)

We are employing drop shipping for the product of our Magento 2 instance, but we need to have separate shipping costs for each vendor that sends the product to the customer on their own. So if Vendor ...
fritzmg's user avatar
  • 757
1 vote
1 answer
661 views

How can i add $5 Handling fee if free shipping method is selected?

I need to add $5 Handling Fee if Free Shipping method is selected.
Muhammad Hamza's user avatar
1 vote
1 answer
178 views

How to add conditions on shipping methods over price?

I need to trigger the free shipping option over $150 and charge a flat $5 handling fee with free shipping but if a specific product is added in cart this rule should not be applicable.
Muhammad Hamza's user avatar
0 votes
0 answers
112 views

send methods do not update after changing zip code at checkout

I have a problem checking out magento that I just don't know what to do. If the user goes to checkout and fills in the zip code, the shipping methods are not and do not appear, however, if I have a ...
lucas's user avatar
  • 309
1 vote
0 answers
442 views

Magento 2: Apply shipping rate to quote

I want to apply the matrix rate shipping method which has multiple rates based on quantity in the cart. I tried the following code but it is not working $shippingAddress->setCollectShippingRates(...
Toji's user avatar
  • 610
0 votes
0 answers
126 views

Some options are not rendering on front side USPS Shipping

I'm using the USPS shipping method for checkout. But some options are not rendering on the front side. You can see the admin and front sides on the screenshot.I'm using Magento2.4.2 Admin: Frontside :...
Mahmood Rehman's user avatar
0 votes
1 answer
283 views

How to remove shipping details from cart and email

I want to hide shipping method from cart and emails. /checkout/cart/ /checkout/#payment
Vinod Kumar's user avatar
2 votes
1 answer
549 views

Magento 2 : custom shipping method not appearing on checkout page

I have installed an extension https://onboard.hub-box.com/download/magento2-extension in this extension there is a shipping method "Free In-store Collection" i have enabled it from backend ...
devhs's user avatar
  • 240
0 votes
1 answer
261 views

Dimensional weight shipping UPS API Magento

I am using UPS as shipping but want to calculate shipping charges on dimensional weight of package. Which UPS API can I use to calculate shipping based on height length and width? Thanks In Advance.
Deep Joshi's user avatar
0 votes
1 answer
215 views

No Shipping Method on Frontend

there is no shipping method available on frontend whether its flat rate or custom shipping method. Even though the module is enabled, I can see the shipping methods if I try to create order from the ...
nix's user avatar
  • 129

1
2 3 4 5
9