You get a bonus - 1 coin for daily activity. Now you have 1 coin

How to remove the product return option everywhere in OpenCart

Practice




How do I remove the product return option everywhere in OpenCart
1. Open the file /catalog/view/theme/default/template/common/footer.tpl and cut out or comment out this line (14):
code:
<li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>


2. Open the file /catalog/view/theme/default/template/account/account.tpl and remove or comment out this line (27):
code:
<li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>


3. Open the file /catalog/view/theme/themename/template/module/account.tpl and remove or comment out this line (17):
code:
<li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
4. Open the file /catalog/view/theme/themename/template/account/order_info.tpl and cut out this line (97):
code:
<option value="return"><?php echo $text_return; ?></option>
or
code:
<td class="right"><a href="<?php echo $product['return']; ?>"> <img src="catalog/view/theme/default/image/return.png" alt="<?php echo $button_return; ?>" title="<?php echo $button_return; ?>" /></a> </td>

Comments

Саня Щірскій 17-10-2018
Доброго дня Руслан! Пхахах
Руслан 17-10-2018
Спасибо все понятно, исправил

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Running server side scripts using PHP as an example (LAMP)"

Terms: Running server side scripts using PHP as an example (LAMP)