I have created a new module in app/code/namespace/Mymodule. Now, I'm trying to display the information about Custom_order or exactly.

I want to copy module sales in vendor/magento/module-sales. I tried to research, but I can't find any guides specific to the problem I'm having.

This picture show at namespace/sales/order/view/order_id/4/

enter image description here

How can I show in another module?

有帮助吗?

解决方案

  1. Go to root > vendor > magento > module-sales
  2. Download all files from this location
  3. Created your module at app > code like app/code/namespace/mymodule
  4. Upload all files from your storage to your newly created module's folder
  5. Then run the following commands:

    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:clean
    
许可以下: CC-BY-SA归因
scroll top