Skip to content

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 $rateResultFactory; protected $rateMethodFactory; public function __construct( ScopeConfigInterface $scopeConfig, ErrorFactory $rateErrorFactory, LoggerInterface $logger, ResultFactory $rateResultFactory, MethodFactory $rateMethodFactory, array $data… Read More »I created a simple shipping method, I want to set the country rate manually? Example US x2

Hard Drive Mounting Problem

I installed a new Nvme 1 TB about a week ago due to running out of space on my server. After that, I successfully mounted a new drive and us… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1883964&goto=newpost

Hostmantis became a scam: review as a new client

I got a good review about hostmantis in a blog and decided to order a reseller plan. I ordered Enterprise cPanel Reseller Entry Plan. The se… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1883947&goto=newpost

How to create Shipping Cost Calculator by select country in magento 2?

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;… Read More »How to create Shipping Cost Calculator by select country in magento 2?