Add custom block in Magento sales_order_view.xml
Display Total Order Weight in Sales Order View
- Download the extension .zip file and extract the files.
- Copy the extension files folder to the {magento2-root-dir}/app/code
- Run the following series of command from SSH console of your server:
php bin/magento maintenance:enable
rm -rf var/cache/; rm -rf var/di/; rm -rf generated/; rm -rf var/view_preprocessed/; rm -rf pub/static/*;
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento setup:clean
php bin/magento maintenance:disable
- Go to Admin > Sales > Orders > Select any orders
Magento 2.3.1
Version 2.0.0 (2019-10-25)