Project

General

Profile

Actions

Bug #7

open
YS XL

用户中心无法打印invoice和credit memo

Bug #7: 用户中心无法打印invoice和credit memo

Added by yong shi about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Start date:
04/23/2026
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

客户在用户中心查看自己的订单无法打印相关订单的invoice和credit memo。
据客户描述之前改过核心代码:
/vendor/magento/module-sales/view/frontend/templates/order/invoice/items.phtml
/vendor/magento/module-sales/view/frontend/templates/order/creditmemo/items.phtml
此次修改需恢复magento对应版本的这两个文件,并修复“用户中心无法打印invoice和credit memo”的问题

需要记录:由于客户之前修改过Vendor下面的核心代码,这是个非常大的隐患,在后期功能开发、bug修复、系统升级前请对比相关核心代码并恢复对应核心代码,如却有必要的修改,请在恢复原核心代码后按照规范标准重写核心代码的修改

XL Updated by xue li about 2 months ago Actions #1

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

stage站点恢复了vendor下的打印按钮显示相关代码,但是打印仍然报错,同时测试了正是站以及原生的magento2.4.8-p2版本,打印均无问题。调试过程中stage站点注册用户无法登录,也没有报错,没有继续进行了,建议直接重新搭建stage站点

Actions

Also available in: PDF Atom