0

Magento2 checkoutcart page error like undefined Property on shipping method like canada post and not Calculated tax

function inside on here general/locale/weight_unit like

public function getStoreWeightUnit($storeId)
    {
        return $this->_scopeConfig->getValue(
            'general/locale/weight_unit',
            \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
            $storeId
        ) == 'kbs' ? 'KILOGRAM' : 'GRAM';
    }

So give me solution.

Thank You, Your Faithfully, Mehul Kanjariya

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.