OpenCart - 中文论坛
标题:
return_info.tpl 关于退货页的代码 这样改有问题吗?
[打印本页]
作者:
syg44ry
时间:
2012-11-13 22:10
标题:
return_info.tpl 关于退货页的代码 这样改有问题吗?
原文 <table class="list">
<thead>
<tr>
<td class="left" colspan="2"><?php echo $text_return_detail; ?></td>
</tr>
</thead>
<tbody>
<tr>
<td class="left" style="width: 50%;"><b><?php echo $text_return_id; ?></b> #<?php echo $return_id; ?><br />
<b><?php echo $text_date_added; ?></b> <?php echo $date_added; ?></td>
<td class="left" style="width: 50%;"><b><?php echo $text_order_id; ?></b> #<?php echo $order_id; ?><br />
<b><?php echo $text_date_ordered; ?></b> <?php echo $date_ordered; ?></td>
</tr>
</tbody>
</table>
<h2><?php echo $text_product; ?></h2>
<table class="list">
<thead>
<tr>
<td class="left" style="width: 33.3%;"><?php echo $column_product; ?></td>
<td class="left" style="width: 33.3%;"><?php echo $column_model; ?></td>
<td class="right" style="width: 33.3%;"><?php echo $column_quantity; ?></td>
</tr>
</thead>
<tbody>
<tr>
<td class="left"><?php echo $product; ?></td>
<td class="left"><?php echo $model; ?></td>
<td class="right"><?php echo $quantity; ?></td>
</tr>
</tbody>
</table>
<table class="list">
<thead>
<tr>
<td class="left" style="width: 33.3%;"><?php echo $column_reason; ?></td>
<td class="left" style="width: 33.3%;"><?php echo $column_opened; ?></td>
<td class="left" style="width: 33.3%;"><?php echo $column_action; ?></td>
</tr>
</thead>
<tbody>
<tr>
<td class="left"><?php echo $reason; ?></td>
<td class="left"><?php echo $opened; ?></td>
<td class="left"><?php echo $action; ?></td>
</tr>
</tbody>
</table>
<table class="list">
<?php if ($comment) { ?>
<thead>
<tr>
<td class="left"><?php echo $text_comment; ?></td>
</tr>
</thead>
<tbody>
<tr>
<td class="left"><?php echo $comment; ?></td>
</tr>
</tbody>
</table>
<?php } ?>
<?php if ($histories) { ?>
<h2><?php echo $text_history; ?></h2>
<table class="list">
<thead>
<tr>
<td class="left" style="width: 33.3%;"><?php echo $column_date_added; ?></td>
<td class="left" style="width: 33.3%;"><?php echo $column_status; ?></td>
<td class="left" style="width: 33.3%;"><?php echo $column_comment; ?></td>
</tr>
</thead>
<tbody>
<?php foreach ($histories as $history) { ?>
<tr>
<td class="left"><?php echo $history['date_added']; ?></td>
<td class="left"><?php echo $history['status']; ?></td>
<td class="left"><?php echo $history['comment']; ?></td>
</tr>
<?php } ?>
</tbody>
</table>
<?php } ?>
我全给删了
换成一句
<div class="content">The returns you requested could not be found!</div>
求大神指点 会出问题吗
欢迎光临 OpenCart - 中文论坛 (https://bbs.opencart.cn/)
Powered by Discuz! X3.2