Page 1 of 1

[SOLVED]how to edit right-column in my account page ?

Posted: Tue Feb 28, 2017 8:52 am
by qtwrk
how to edit right-column in my account page ?

like what i quoted in screenshots.

Image

I tried catalog/view/theme/default/template/account/account.tpl

but couldn't find related code in there ...

someone please help out , much appreciated.

OC 2.3.0.2

Re: how to remove right-column in my account page ?

Posted: Tue Feb 28, 2017 2:41 pm
by knowband.plugins
You need to remove below code in file catalog/view/theme/your_theme_name/template/account/account.tpl
<?php echo $column_right; ?>

Re: how to remove right-column in my account page ?

Posted: Tue Feb 28, 2017 3:45 pm
by qtwrk
knowband.plugins wrote:
Tue Feb 28, 2017 2:41 pm
You need to remove below code in file catalog/view/theme/your_theme_name/template/account/account.tpl
<?php echo $column_right; ?>
Thanks for reply

But I don't wanna remove it completely, just removed few lines like "download" and "return"

Re: how to remove right-column in my account page ?

Posted: Tue Feb 28, 2017 8:04 pm
by paulfeakins

Re: how to remove right-column in my account page ?

Posted: Wed Mar 01, 2017 4:57 am
by qtwrk
paulfeakins wrote:
Tue Feb 28, 2017 8:04 pm
Can you not do it this way?
www.antropy.co.uk/blog/how-do-opencart-layouts-work/
no luck , i can either add more column beneath it or remove it , but i can not edit the content of existing column

Re: how to remove right-column in my account page ?

Posted: Wed Mar 01, 2017 5:26 am
by cyclops12
Your screenshot in your first post is not showing properly and you havent stated which oc version you are using or which template
Also your title is you want to remove right column, but now you only want to edit/remove some parts of right column.
Getting the information correct to start with will help others help you.
If you want to remove the whole right column then the answer is posted above, if you want to edit the right column then it will be in account.tpl as posted above(if using default theme)
No offence meant ;D

Re: how to remove right-column in my account page ?

Posted: Wed Mar 01, 2017 6:54 am
by qtwrk
cyclops12 wrote:
Wed Mar 01, 2017 5:26 am
Your screenshot in your first post is not showing properly and you havent stated which oc version you are using or which template
Also your title is you want to remove right column, but now you only want to edit/remove some parts of right column.
Getting the information correct to start with will help others help you.
If you want to remove the whole right column then the answer is posted above, if you want to edit the right column then it will be in account.tpl as posted above(if using default theme)
No offence meant ;D
none taken , I'm sorry for being rude.

I'm gonna edit post to be correct form.
thanks for the advice.

Re: [SOLVED]how to edit right-column in my account page ?

Posted: Thu Mar 02, 2017 6:46 am
by qtwrk
updated on myself.

actually the file needs to be edited is
/catalog/view/theme/default/template/extension/module/account.tpl