We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://developer.adobe.com/commerce/php/tutorials/frontend/custom-checkout/add-shipping-carrier/
In the guide for Add a custom shipping carrier section 3 i.e. https://developer.adobe.com/commerce/php/tutorials/frontend/custom-checkout/add-shipping-carrier/#step-3-create-the-carrier-model at line number 20 and 22, variables $_code and $_isFixed type declaration not required and if we add variable type, Will give fatal error like:
Add a custom shipping carrier
$_code
$_isFixed
Fatal Error : Type of Vendor\CustomShipping\Model\Carrier\Customshipping:$_code must not be defined
Not required variable type declaration as it will be taken care by base class.
No response
The text was updated successfully, but these errors were encountered:
@magento-docs @magento I am working on this
Sorry, something went wrong.
pawan
No branches or pull requests
Is there an existing issue for this?
Which topic?
https://developer.adobe.com/commerce/php/tutorials/frontend/custom-checkout/add-shipping-carrier/
What's wrong with the content?
In the guide for
Add a custom shipping carrier
section 3 i.e. https://developer.adobe.com/commerce/php/tutorials/frontend/custom-checkout/add-shipping-carrier/#step-3-create-the-carrier-model at line number 20 and 22, variables$_code
and$_isFixed
type declaration not required and if we add variable type, Will give fatal error like:Fatal Error : Type of Vendor\CustomShipping\Model\Carrier\Customshipping:$_code must not be defined
What changes do you propose?
Not required variable type declaration as it will be taken care by base class.
Anything else that can help to cover this?
No response
The text was updated successfully, but these errors were encountered: