Post by saleh411 » Thu May 03, 2018 7:10 pm

Hello there,

Using 3.0.2.0

How do I remove the links from the column right in the account area?

I want to remove these:
Downloads
Recurring Payment

Hope somebody can help!

Newbie

Posts

Joined
Sat Apr 07, 2018 5:44 pm

Post by DigitCart » Thu May 03, 2018 9:21 pm

Hi,

For default theme, in this file:

Code: Select all

catalog\view\theme\default\template\extension\module\account.twig
Remove:

Code: Select all

<a href="{{ download }}" class="list-group-item">{{ text_download }}</a><a href="{{ recurring }}" class="list-group-item">{{ text_recurring }}</a> 
Then clear your caches.

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by saleh411 » Fri May 04, 2018 6:01 am

Thank you for your reply.
i did your solution(removing th e code and clearing caches) but it is not working. the links still shown.
is there a solution ?

Newbie

Posts

Joined
Sat Apr 07, 2018 5:44 pm

Post by DigitCart » Fri May 04, 2018 1:00 pm

Hi,
if you're using a custom theme, do the same for your theme.
Make sure you've cleared your caches. (twig cache, modifications).

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by saleh411 » Fri May 04, 2018 6:42 pm

Thank you for your reply.

i dont have custome theme. but i cleared the browser caches , how do i clear (twig cache, modifications)?

Newbie

Posts

Joined
Sat Apr 07, 2018 5:44 pm

Post by DigitCart » Fri May 04, 2018 7:10 pm

For twig:
https://stackoverflow.com/questions/452 ... opencart-3

For Modifications:
Go to extensions / modifications / click refresh icon.

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by saleh411 » Sat May 05, 2018 3:32 pm

Thank you very much it is working good.

Newbie

Posts

Joined
Sat Apr 07, 2018 5:44 pm

Post by DigitCart » Sat May 05, 2018 3:36 pm

You're welcome!

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by saleh411 » Sat May 05, 2018 5:18 pm

how can I remove it from the same page (account page) at the left side ?

Newbie

Posts

Joined
Sat Apr 07, 2018 5:44 pm

Post by DigitCart » Sat May 05, 2018 5:35 pm

Edit this file:

Code: Select all

catalog\view\theme\default\template\account\account.twig

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by saleh411 » Sat May 05, 2018 5:50 pm

Thank you very much it is working good. you are really expert.

Newbie

Posts

Joined
Sat Apr 07, 2018 5:44 pm

Post by viethemes » Sat May 05, 2018 11:19 pm

You may like my extension Visual Theme Editor to hide these links :)

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by saleh411 » Sun May 06, 2018 12:33 am

Great works

Newbie

Posts

Joined
Sat Apr 07, 2018 5:44 pm
Who is online

Users browsing this forum: Supadm Shukla and 22 guests