Is there is way of editing or remove downloads and recurring payments in the right hand menu of accounts in version OC 3.0.2.0.
Thank you.
What did you exactly delete? I tried the same and i can still see the links in the right hand side menu in account page ?
In /catalog/view/theme/YOUR THEME/template/extension/module/account.twig
Line 9 - comment out the Menu items you do not want - in Twig, you comment out by placing {# #} around the code you do not want.
Below, I commented out Wish List, Order, Downloads, Recurring Payments, Rewards, Returns and Transactions.
Line 9 - comment out the Menu items you do not want - in Twig, you comment out by placing {# #} around the code you do not want.
Below, I commented out Wish List, Order, Downloads, Recurring Payments, Rewards, Returns and Transactions.
Code: Select all
<a href="{{ address }}" class="list-group-item">{{ text_address }}</a> {#<a href="{{ wishlist }}" class="list-group-item">{{ text_wishlist }}</a>#} <a href="{{ order }}" class="list-group-item">{{ text_order }}</a> {#<a href="{{ download }}" class="list-group-item">{{ text_download }}</a>#} {#<a href="{{ recurring }}" class="list-group-item">{{ text_recurring }}</a>#} {# <a href="{{ reward }}" class="list-group-item">{{ text_reward }}</a>#} {# <a href="{{ return }}" class="list-group-item">{{ text_return }}</a>#} {# <a href="{{ transaction }}" class="list-group-item">{{ text_transaction }}</a>#} <a href="{{ newsletter }}" class="list-group-item">{{ text_newsletter }}</a>
Last edited by straightlight on Sun Mar 29, 2020 7:07 am, edited 2 times in total.
Reason: Added code tags.
Reason: Added code tags.
thank u, opencart loves , it's simple Re: Edit/Remove downloads and recurring payments in accounts go to your catalog/view/theme/*/template/account/ account.twig and catalog/view/theme/*/template/module/account.twig the code is {#.........#} example {#<li><a href="{{ transaction }}">{{ text_transaction }}</a></li>#}
go to module /account change it
go to module /account change it
Who is online
Users browsing this forum: No registered users and 40 guests