OpenCart 2.x. 如何编辑退货页面
2016年3月16日
OpenCart 2.x. 如何编辑退货页面
本教程展示了如何 在OpenCart中编辑返回页面:
-
Navigate to 目录/视图/主题/ themeXXX /模板/账户/ return_info.tpl 在你的网站内部 directory on server via FTP or in your 托管cPanel并使用任何代码编辑器打开它.
我们强烈建议 编辑前备份文件.
-
在那里您可以编辑表单代码.
-
The Return ID 字段由以下代码设置:
#
The Date added code:
The Order ID code:
#
The Order Date code:
To remove the 产品名称部分,你需要删除这部分代码:
line 37
and line 44
The code for Model section:
line 38
and line 45
的代码 Quantity 字段如下:
line 39
and line 46
的代码 Reason area:
line 53
and line 60
The Opened 通过下面的代码设置状态:
line 54
and line 61
The Action 字段,即返回的产品状态的类型,在此代码的帮助下显示:
line 55
and line 62
-
And the 返回的评论 Section由以下代码设置:
-
要删除字段,请删除用于它们的代码.
要更改字段宽度,请更改代码中的百分比. 请确保百分比金额适合nice的行 layout.
完成所有必要的更改后,单击 Save 并刷新网站以查看更改:
请随时查看下面的详细视频教程:
OpenCart 2.x. 如何编辑退货页面