Post by nicholas.young » Fri Jan 26, 2018 11:16 pm

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.


Posts

Joined
Tue Nov 07, 2017 1:59 am

Post by cyclops12 » Sat Jan 27, 2018 3:31 am

Yes go into catalog/view/theme/YOUR_THEME/template/extension/module/account.twig and you can comment out/remove from there

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by nicholas.young » Sat Jan 27, 2018 3:58 am

:) :) :)
Thank you. That worked great. I knew it had to be there somewhere.


Posts

Joined
Tue Nov 07, 2017 1:59 am

Post by eryk2kartman » Wed Feb 07, 2018 5:32 am

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 ?

New member

Posts

Joined
Mon Oct 27, 2014 4:46 pm

Post by kavlito » Sun Mar 29, 2020 6:29 am

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.

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.

Newbie

Posts

Joined
Fri Mar 11, 2016 7:43 pm

Post by her63 » Sun May 31, 2020 6:23 pm

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

New member

Posts

Joined
Mon Mar 29, 2010 2:17 pm
Who is online

Users browsing this forum: No registered users and 40 guests