Questions tagged [shipping-methods]

Denotes questions about shipping methods configuration and implementation.

448 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
238 views

Shipping method filtering based on order total

I have a magento 2.2.3 site. In checkout we have enabled two shipping options. Table rates and free shipping. Orders above 100$ we provide free shipping charges. But sometimes this does not work ...
2
votes
0answers
140 views

Magento2: How can I set to a model in “specificcountry” on config.xml file?

I want to set default values with a model from declared class in system.xml. The result of the model is extracted from the database, from a custom table and the result looks like this: AF,AL,DE,BE,FR ...
2
votes
1answer
223 views

Shipping methods in Magento

In which table Magento 1.9 stores shipping methods like free shipping ,flat rate ? Please help to find it out.
2
votes
0answers
185 views

How to remove shipping method in checkout page Magento 2

I want to remove shipping method from checkout page. Can you guide me how can I do?
2
votes
0answers
38 views

No price field at backend on my custom shipping method

I am using webkul shipping module to moderate my shipping method, here I have no backend field to put the shipping price into. I'll bellow put my php class. Where should I implement the backend ...
2
votes
1answer
78 views

How can i show USPS Media Mail Only For Books not for other Products?

I have different kinds of products, USPS Media mail is good for books, but not for all products. How can i restrict Media Mail Not allowed for other products. Condition: 1) If cart consists both ...
2
votes
0answers
79 views

how to change shipping method text from view order and emails in magento2

how to show shipping method title only rather than carrier title?? like: how generate this : go to myaccount=>myorders=>order information in magento2 frontend. currently showing : "Express - Express" ...
2
votes
1answer
911 views

Magento 2 Get Shipping Rates of All active shipping methods

I have a special case where I want to show all active shipping methods with applied estimated shipping cost to login customer if customer has default shipping address set in address book. The ...
2
votes
0answers
190 views

Magento 2 Shipping Price based on quantity dilemma

I have a scenario like, a Customer will purchase a product with 25 Qty, but during the checkout time, the bill or cart subtotal is generated for 25 qty. Later while checkout, shipping charges(fedex ...
2
votes
1answer
480 views

400 bad request from rest/default/V1/carts/mine/estimate-shipping-methods

Whenever I go to cart page or checkout page after adding products, console always throws 400 Bad Request. I tried reinstalling Magento and did many things but there is no luck. Estimate shipping ...
2
votes
0answers
208 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
195 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
305 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
688 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
396 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
408 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
696 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
674 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
412 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
382 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
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
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
0answers
209 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
425 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
738 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 ...
1
vote
0answers
19 views

Custom shipping rate logic

I have created a custom shipping method. I need to implement the following logic: Shipping rate = Item weight * Item quantity * Zone rate How to get zone rates in collectRates method?
1
vote
0answers
12 views

Ignore a product for shipping rate calculation

Is there some way to ignore a product price and weight for the shipping rate calculation? I´m working with the FedEx module and I don´t want FedEx to add extra shipping rate when certain products are ...
1
vote
0answers
19 views

Magento 2 jsLayout won't work with checkout_index_index,.xml

I am trying to convert a static form in checkout_index_index.xml to a dynamic one using jsLayout. Here is my original xml: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
0answers
17 views

Shipping Method is hide if Estimate Shipping and Tax values are empty

Problem : Shipping methods are display already in cart page. But I did not want that. What I want : I want that when cart page is load, any shipping method must not be load. after the page load i ...
1
vote
0answers
14 views

How to create more than one option on the same shipping method?

I need insert more than one radio on the same shipping method but I dont know to do this. Someone person to help me? <?xml version="1.0"?> <config> <modules> <...
1
vote
0answers
104 views

Problems with shipping methods - Magento 2.3.1

For the Shipping Method, I have configured the table rates with a CSV (to set a different price for the countries we send). This is the CSV that I am using (): Country, Region/State, Zip/Postal Code,#...
1
vote
1answer
23 views

Magento 2 - Duplicating the Shipping Method Section

I am trying to split the order (creating 2 orders) based on product attribute selection which has been done. but now i want to add two separate shipping method section so i can send order with ...
1
vote
2answers
94 views

Overriding shipping.html file in custom module

I am trying to override shipping.html file to my custom module, but it's not working for me. requirejs-config.js var config = { paths: { 'Magento_Checkout/template/shipping': "...
1
vote
1answer
33 views

How to restrict Shipping Method Based on Product in the add-to-cart?

I have couple of shipping methods DHL & FedEx, if selected products exits in cart show only selected shipping method, how to achieve using shopping cart pricing rule or any other way to do this?
1
vote
0answers
50 views

Order tracking, different url based on selected carrier

I have added tracking link to default carrier by adding the following code to [mytheme]/template/email/order/shipment/track.phtml <?php $i=0; foreach ($_shipment->getAllTracks() as $_item): $i++...
1
vote
0answers
51 views

How to set shipping Method Programmatically if product have custom attribute

I want to set custom shipping method programmatically if product have custom attribute in magento 2 .I am using checkout_cart_add_product_complete event and getting product attribute after adding in ...
1
vote
0answers
16 views

Sense for splitting shipping text into title and method name

For Shipping "table rate" I have to define a title and the method name. Why are there two fields available? I need only one text for checkout/cart like "depends on balance". I try to find a sense for ...
1
vote
1answer
90 views

In Magento 2, Why it is not refreshing shipping methods after State field select

In Magento 2, after Country filed select then shipping methods refreshing automatically. But why it is not refreshing shipping methods after State field select and how to apply refresh to state field ...
1
vote
0answers
30 views

Magento 2: How to show shipping amount without refreshing my cart page?

I try to bring the amount of the shipment from the backend without javascript. But when the cart page is displayed for the first time, the shipping amount is displayed as follows: but when I refresh ...
1
vote
0answers
7 views

In Magento 2, can I have a per item shipping cost of $1, but only for items from a specific category?

I know I can set a rule to set the shipping to free. I know I can set a table rate for the whole site. I want to keep my regular table rate for most products which is a weight based table. What I ...
1
vote
0answers
61 views

Magento 2 : Add tooltip to shipping methods

Can I add a tooltip to each shipping method in Magento 2? If so, how? I need to display additional information to each shipping method say place of origin. I cannot seem to add a column to the ...
1
vote
1answer
52 views

Magento2 - Checkout shipping method when click Ship here

http://siteurl/rest/default/V1/carts/mine/shipping-information - return 404 with below error. "message":"Carrier with such method not found: %1, %2","parameters":["matrixrate","matrixrate_57395"],...
1
vote
1answer
65 views

Free shipping code is not working for UPS in magento 2

If you create a cart price rule for free shipping, it works on all shipping methods (Flat rate, table rates, ...) except in the UPS method. I have tried several configurations but nothing. I have ...
1
vote
0answers
27 views

M1 & M2 - Incorrect FedEx Rates (Out-of-Area Costly Surcharges Excluded)

ISSUE - M1 & M2 - Incorrect FedEx Rates (Out-of-Area Costly Surcharges Excluded) Generate a FedEx rate within the Magento shopping cart in either version 1.9.x or 2.x for New Zealand post code ...