i created a shipping method, for example, the cost of delivery is $15, but if you deliver to the USA, then multiply the amount by 2 Model/Carrier/Custom.php <?php namespace CustomShippingMethodModelCarrier; use MagentoQuoteModelQuoteAddressRateRequest; use MagentoShippingModelRateResult; use MagentoShippingModelCarrierAbstractCarrier; use MagentoShippingModelCarrierCarrierInterface; use MagentoFrameworkAppConfigScopeConfigInterface; use MagentoQuoteModelQuoteAddressRateResultErrorFactory; use PsrLogLoggerInterface; use MagentoShippingModelRateResultFactory; use MagentoQuoteModelQuoteAddressRateResultMethodFactory; class Custom […]