Questions tagged [carrier]
The carrier tag has no usage guidance.
18
questions
1
vote
1
answer
309
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 ...
1
vote
0
answers
43
views
Dropdown for Shipping carrier to show static address
I have created a custom shipping carrier in the checkout page like this.
I have to get a dropdown when I click the Pickup Shipping radio button.
On clicking the other shipping method, the dropdown ...
5
votes
3
answers
2k
views
How to properly get current quote in Carrier Collect Rates function?
I'm using Magento 2.4.1 and I want to retrieve the current quote in collectRates function in my Carrier model, but sometimes it will prompt an infinite loop error like this:
this is how i retrieve ...
0
votes
1
answer
1k
views
Magento 2 get address extension attribute value in carrier collect rate model
I successfully pass the extension attribute value to estimate-shipping-method,like this:
etc/extension_attributes.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3....
0
votes
1
answer
156
views
Magento 2 - Pass data to checkout during runtime
I created a new carrier method for express shipping. I need to show a dynamic message which I am generating based on the products in the cart. There are some product categories which are not allowed ...
1
vote
2
answers
1k
views
How to create Magento 2 custom carrier tracker?
I want to create custom carrier tracker in magento 2 as like this. I want to list my custom carrier tracker in the dropdown.
How can I do this?
4
votes
2
answers
1k
views
how to control the sort order of shipping method's rates in the same carrier class?
I'm trying to build a custom carrier-class (shipping method) that display shipping methods based on time/date related third party API, I tried to find out a solution to sort the below options but I ...
4
votes
1
answer
2k
views
Magento 2.3 - Add shipping carrier in dropdown to ship order
I want to add a new carrier to the dropdown menu inside the shipment tab of a order, to select a custom carrier.
I already tried this https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout-...
1
vote
2
answers
1k
views
Magento 2 how to create various shipping methods from REST API response?
I already know how to create a single shipping custom method, with files system.xml, config.xml and Carrier.php, however I'm working with a REST API of a Carrier provider, and when I get the response, ...
1
vote
0
answers
339
views
Allow Multiple Boxes for shipping 1 product
In our Magento store we have some products which weigh more than 150lbs. For such product FedExs shipping is not available on checkout page as FedEx does not allow weight more than 150 lbs for single ...
0
votes
0
answers
122
views
Calculating the size of a box for multiple products for carrier module in Magento 2
Example: Suppose I have three products like a phone(2w,4h,3d), power bank(12w,15h,8d), screen guard(1.2w,1.8h,1d)
By using these three dimensions to make new Box dimensions. I have to fit these three ...
0
votes
1
answer
204
views
Magento2.1.9 - Error on shipment generation save
I'm debuging code got error in exception error :
exception 'PDOException' with message 'There is no active transaction' in /public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/...
6
votes
2
answers
1k
views
CollectRates in custom carrier is not called when weight is over zero. Magento2
I'm utilizing the collectRates function in Magento2, to display custom shipping rates in the checkout.
This is working fine without any problems, while the weight of the products in the cart is 0. As ...
2
votes
1
answer
2k
views
Difference Between Offline Shipping Carrier vs Online Shipping Carrier
I am creating a module for a 3rd party rating for Magento. I only need the rates to show in the cart checkout and there is no label creation, tracking, pickup, etc for this carrier. It will send out ...
0
votes
2
answers
427
views
How to rewrite Shipping_Model_Carrier_Tablerate on Magento 1.9
I would overwrite app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php with my custom component. My code:
app/etc/modules/Infocurci_Shipping.xml
<?xml version="1.0"?>
<config>
<...
11
votes
2
answers
4k
views
Magento 2 checkout custom field validation
Magento2 checkout - what is the best method to add validation for my custom checkout field which depends on selected shipping method?
For e.g. I am adding field to address form in LayoutProcessor ...
0
votes
1
answer
206
views
Custom Carrier; price depends on grandtotal of quote
I made a custom module for my own carrier which has multiple options where the shippingcosts depend on the order total. Really simple; is it more or less than 50 euros?
MyModule/CustomCarrier/Model/...
0
votes
1
answer
1k
views
Add New Shipping Carrier
I want to Add New Shipping Carrier in the Shipping ->Shipping and Tracking Information->Drop-down. so how I can I add extra shipping carriers.