Questions tagged [shipping-methods]

Denotes questions about shipping methods configuration and implementation.

Filter by
Sorted by
Tagged with
2
votes
0answers
212 views

Add checkbox to shipping method for extra charge

I would like to add checkbox in shipping method for extra charge if selected. for that I have overrided checkout/cart/shipping.phtml, it displays correctly on shipping method like this Screencast ...
2
votes
1answer
196 views

Magento 2: Disable all methods when free shipping method is applicable

We're using following table rates for our store and these are working fine. When weight is 0-1(kg) , rate will be 4.5 When weight is 1.1- ~ (kg), rate will be 4.9 We also enabled Free shipping when ...
2
votes
0answers
177 views

Calculate UPS and USPS Shipping Cost in Custom phtml page

I am using Magento 1.9.3.6. I am adding Product Programmatically. I want to calculate the Shipping Cost in that phtml page. Like which is calculated in the cart page based on quote(Shown in the below)...
2
votes
1answer
314 views

how to use shopping cart rules to restrict postcode

We have small business and we deliver goods to only specific postcodes.How can i restrict purchase to only those postcodes.I have read that i can do it from shopping cart rules.So,I created one rule ...
2
votes
0answers
701 views

Magento 2 - Set custom shipping price to quote

I want to set custom shipping price irrespective of customer address. Below is the code. I tried to change it by adding - $cart->setShippingAmount('800'); but its not working. Is there any way to ...
2
votes
1answer
405 views

Check if free shipping method is active programmatically in Magento 2

In my custom module I've created model/carrier.php to add custom shipping method, one of my custom shipping method will show up if magento free shipping method is not active, is there a way to do this?...
2
votes
0answers
188 views

Magento2 plugin does not working on class Magento\OfflineShipping\Model\Carrier\Freeshipping

Create a plugin using for class Magento\OfflineShipping\Model\Carrier\Freeshipping. Use after method (afterCollectRates) for CollectRates function. But this does not work here list of files: app/...
2
votes
0answers
415 views

Magento 2 : How do I hide a Customized Checkout Step

I have added a custom step in checkout. I would like to use some JS to hide or disable the step based on if the associated shipping option is selected or not. I tried to wrap it in if statement but ...
2
votes
1answer
717 views

Can't set shipping method on order created programmatically

I have been searching for an answer on the web, but have tried all the solutions I have found and nothing seems to work. The order adds fine, but in the admin panel is shows "No shipping information ...
2
votes
1answer
855 views

Magento 2: How to change Weight field for DHL Shipping Method [SOLVED]

For Product apart from Magento Field Weight, we have another Attribute Called Total Weight. Every product has this attribute. So when user will select DHL Shipping Method, instead of Product's ...
2
votes
1answer
684 views

Magento 2: How to Show method if not applicable Country Wise?

I'm using DHL Shipping Method. I have set Show Method if Not Applicable to Yes. Displayed Error Message will be displayed, when it's applicable. I would like to show this Error Message by Specific ...
2
votes
0answers
419 views

magento2 checkout shipping methods render

Please, help me. Magento 2 checkout page rerender shipping methods when i change country in "Shipping address". I've added one more select field with shippment type ( courier, pickup or both of it) ...
2
votes
0answers
178 views

Products Weight not calculated at shipping

Single products weight calculated perfectly, when i add three products, three products of weight not calculated. Am using WEBSHOPS MATRIX RATES
2
votes
1answer
389 views

Overriding Magento 1.9 interface

I've just started writing Magento 1.9 plugins and I started with a basic example of writing a basic Shipping Method plugin that will return static rates. Here is what the structure of the model file ...
2
votes
1answer
986 views

Importing table rates “Invalid Region/State” [Magento]

in configuration system in payment method, i want to add shipment cost for a product based on destination, and then i added my country ID , Region/state ,... etc when i import this file and click ...
2
votes
1answer
1k views

How to set up flat rate shipping

From what I've seen on the web Magento 2 should have an option for flat rate shipping in stores -> config -> sales -> shipping methods My install doesn't have anything to do with flat rate ...
2
votes
0answers
88 views

Magento 1.7.1 shipping method [closed]

I am not sure what is wrong with my shipping method, Every order above 500 getting shipping price 0.Even it blocking other shipping method and make the shipping price to 0. Before I add a price rule ...
2
votes
0answers
30 views

how can i apply two shipping types?

i have this requirement of applying two kind of shipping method. I have obtained the required shipping rates calculation via flat rate and table rate, now i have to let users choose two of the ...
2
votes
1answer
141 views

Is there a way to choose the lower priced shipping method of two carriers under a generic name?

So I will try to explain this as good as possible. We will ship with FedEx and UPS, and some items also with USPS. As we all know FedEx has the Express Saver which is comparable to UPS 3 Day Select. ...
2
votes
0answers
63 views

How to compare value in the Table rate and display the equivalent Price from Table Rate

I have a table rate imported and it's rule is Weight vs. Destination. On my onepage checkout I want to check the weight of the total Items ordered over the Table Rates weight and Display the ...
2
votes
0answers
52 views

Table rates don't appear in other stores

I am having a weird trouble whith Magento 1.9.1.1 I have imported local table rates to MAIN config and it works great on www.domain.com but when I use a different language store, the paid shipping ...
2
votes
1answer
4k views

Fedex Shipping method is not showing up on frontend [closed]

I obtained the key, password, account id and meter number from FedEx and then enabled FedEx shipping method from Magento backend using that information. But After Adding the product into cart, FedEx ...
2
votes
0answers
210 views

Discrepancies with $_item->getFreeShipping() - can't find whether order item had free shipping

I have a script which runs through order items. I also set up a Shopping Cart Promotional Rule for Free Shipping on certain items 'For matching items only' which I've matched by SKU in the Actions ...
2
votes
1answer
470 views

Magento2 - Add Custom fields block after shipping method

Want to add custom fields after shipping method at Magento 2 checkout page. I have created custom module with checkout_index_index.xml and able to add custom fields block at after shipping address ...
2
votes
1answer
742 views

Magento 2: Flatrate shipping price is not updating

In the first checkout step, where we are providing shipping address I'm updating flatrate price according to the zip code given. The updated price is saving to core_config_data table as usual.But when ...
2
votes
2answers
2k views

Magento 2.1 :- Update Display Error Message in Checkout Cart Page

See the below image, I want to update display error message in estimate checkout cart page with custom module. I know that we change display error using admin-panel but i want to need custom module. ...
2
votes
2answers
859 views

Add data to Mage_Shipping_Model_Rate_Request

I need to add a value to Mage_Shipping_Model_Rate_Request depending on user selection. To be more detailed: the frontend shows a checkbox depending on the selection (or not) of the checkbox my ...
1
vote
3answers
2k views

Hide Shipping method from cart page in magento

I want to hide or remove the Shipping Method from cart page. The reason to hide is we are giving free delivery on order above 15 pound. but since magento save the users shipping method in session it ...
1
vote
2answers
314 views

How to know the correct path to extend in Magento?

I am new in Magento. I am having a lot of problems to achieve each step in the learning curve. I needed to add a custom shipping method. I was fallowging this tutorial: https://www.mageplaza.com/...
1
vote
2answers
2k views

Extend checkout order summary section in Magento 2

I am trying to add custom text in beside shipping method section in Order Summary from Magento 2. But my data is not affecting. For this, I have added custom text in root\vendor\magento\module-...
1
vote
2answers
3k views

Magento 2 - Shipping fee using table rates always zero when adding more items in cart

I'm using "weight vs destination" and I have imported the csv successfully. I have checked the "shipping_tablerate" table and the data is correct. When I added an item with weight = 1.00 to the cart, ...
1
vote
1answer
532 views

Restrict Cash on delivery based on Country under shipping method

I want to restrict COD based on country we select under billing address in checkout page
1
vote
1answer
3k views

Get the available (and Working) Shipping Methods for a quote

I'm working on a mobile application, that is creating an order on Magento programmatically through a custom REST implementation, and everything is working fine, except one thing that i can't find any ...
1
vote
2answers
928 views

magento Plugin is not working on CollectRates method shipping method class

Target: Using plugin before method, want to changes some behavior of method collectRates(RateRequest $request) of Magento\OfflineShipping\Model\Carrier\Freeshipping Issue: Getting 500 Internal ...
1
vote
2answers
436 views

how to get order shipment comments in MG2 using DI ( dependecency injection)

I can obtain shipment object from Observer object as follows. $shipment = $observer->getEvent()->getShipment(); But from here how can I get shipment comments? I mean the comment added in ...
1
vote
2answers
2k views

Add shipping method programmaticaly

I'm creating quote / order programmaticaly. But when I do this, I have an exception : (in english, "select shipping method") Magento\Framework\Exception\LocalizedException: Sélectionnez un mode ...
1
vote
1answer
1k views

Magento 2 : Hide shipping method if customer not logged in

I want to hide shipping method when user is not logged in in checkout page. After selecting the city shipping methods to be shown in checkout page. So, Is there any solution for this I have try this ...
1
vote
1answer
917 views

Hiding Shipping Method for current Logged in/Guest user if a condition method

I'm using Magento 2.1. Currently, I'm having two shipping methods. One is UPS and another is Flatrate. If my product's attribute returns true, I want to hide Flatrate shipping method from frontend ...
1
vote
1answer
773 views

allow only some zip codes to place an order

we are using customized shipping method something like "flat rate" shipping method. we have to restrict the customers from buying products for some zip codes. app/code/local/extension/module/Model/...
1
vote
1answer
543 views

UPS verse UPS XML

We switched to using UPS XML recently in Magento EE 1.13. How ever we noticed that UPS "Next Day Air Saver" is no longer available? Is there an update for this or is this a setting we have to get ...
1
vote
1answer
36 views

Shipping by Product

Does anyone know if there is a way to determine the cost of shipping as a product vs. destination? Basically I need the price of shipping various depending on the destination and by product or should ...
1
vote
2answers
1k views

When and where is used the getAllowedMethods method?

I'm implementing a custom carrier and did notice the getAllowedMethods method defined at Mage_Shipping_Model_Carrier_Interface. I know that it returns an array with the allowed methods but I can't yet ...
1
vote
1answer
2k views

How to apply shipping rules promotions

I have setup different shipping methods in my store and I want to offer 3 promotions with 3 different coupon codes wherein: Promo 1: ORDERS over $25 get free Priority Mail shipping upgrade Promo 2: ...
1
vote
4answers
4k views

Remove shipping method from quote?

Is there any way to remove shipping method from quote, programmatically. I have try this code Mage::getSingleton('checkout/session')->getQuote()->unsShippingAddress(); but not working. And ...
1
vote
1answer
35 views

Magento checkout page

I attached a new option to the delivery method, which the customer can choose. The question is, which is the best solution to store the value of that custom field in the form of the transport method.
1
vote
2answers
53 views

Dealing with magento templates

I want to insert my custom .phtml code in one of the magento core page. To be more specific i want to put my code in order to be displayed in <my-server-name>/index.php/admin/sales_order/view/...
1
vote
3answers
790 views

how to get shipping method using order id in magento 2

I am trying to get the shipping method using Object Manager $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create('Magento\Sales\Api\Data\...
1
vote
1answer
260 views

How to enable a shipping method for a specific SKU?

I'd like to create a module to enable the Table Rate Shipping Method if a product with a specific SKU is the customer cart. How could I do that?
1
vote
1answer
254 views

Can't see the custom shipping method just added

I need to add a custom shipping method. I was fallowging this tutorial: https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/ I was able to configure my custom shipping method. I set ...
1
vote
1answer
533 views

Can't upload and save table rates in magento 2

this my csv sample file. I upload csv file and press save config then show this is my setting.How can i fix this.