Post by oberheimer » Mon May 29, 2017 8:46 pm

How do i remove wishlist, downloads, rewards points and returns in account.
I have tried to remove it in template/account/account.tpl
But it's still there I have also cleared my cache...
I'm using opencart 2.3.0.2 (latest)

New member

Posts

Joined
Fri Jun 22, 2012 5:28 am

Post by sachin6609 » Mon May 29, 2017 9:39 pm

Hii

It is in the catalog\view\theme\default (YOUr theme folder)\template\extension\module then open the account.tpl file

Take the file backup first and do changes

All The Best

Thanks

Sachin

Active Member

Posts

Joined
Thu Jul 23, 2015 2:57 pm

Post by oberheimer » Tue May 30, 2017 3:39 pm

Thanks, now I found it. The lines with code where very long so i missed it.
Why not have everything on different lines?
It was the default theme.

New member

Posts

Joined
Fri Jun 22, 2012 5:28 am

Post by Blueey » Fri Oct 12, 2018 7:00 am

Do I just remove the whole file or empty the file of all the code?

Newbie

Posts

Joined
Tue Oct 09, 2018 8:57 am

Post by xxvirusxx » Fri Oct 12, 2018 3:43 pm

You need to delete a line.
Example: From account\account.tpl, remove this line:

Code: Select all

<li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
And so on.
Then refresh OCmod, clear VQmod

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by Blueey » Fri Oct 12, 2018 9:58 pm

xxvirusxx wrote:
Fri Oct 12, 2018 3:43 pm
You need to delete a line.
Example: From account\account.tpl, remove this line:

Code: Select all

<li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
And so on.
Then refresh OCmod, clear VQmod
Thank you xxxvirusxx,
As of currently, I am not using OCmod or VQmod. Are these very important tools to have? If so, how do I know if either is compatible with my store? (Basel theme)

Newbie

Posts

Joined
Tue Oct 09, 2018 8:57 am

Post by IP_CAM » Sat Oct 13, 2018 9:34 am

Are these very important tools to have?
VqMod and OcMod are both so-called Override-Functions. Such VqMod and/or OcMod
Files are written, to look for ANCHORS/TAGS, somewhere in one or more specific OC Source
or Theme Files, to then either:
1. ADD some Custom CODE, before or after the Anchor/Tag addressed/targeted,
2. CHANGE/MODIFY/REMOVE the existing Anchor/Tag CODE LINE , in parts, or in full.
3. Extensions, containing VqMods/OcMods, might also consist out of custom
system/... , catalog/... , admin/... Core Files, just to have this mentioned too.
---
Therefore, instead of changing default OC-Core Code, in order to add something, change
something, or remove something, the use VqMod or OcMod is very useful, since such files
can always be removed, to so restore the DEFAULT Values again.
But they also have their limits, since ANCHORS/TAGS have to consist out of one single Line,
to be addressed.

And depending on the Theme and/or Custom Modules used, possibly consisting out of Files, to
be placed inside of the OC Directories, some of those VqMods/OcMods need to be slightly
rewritten, to then match the possibly not exactly 'OC-Code like' written Custom File/Theme
Code.
In real professional OC Installations, ONLY one of BOTH Override Functions should be
installed and used. And to make sure, to AVOID any Problems, one should better install
the Integrated VqMod, created by JNeuhoff, if one really needs to use VqMods
with the default OcMod Engine, which is installed by Default in all later OC Versions. It might
keep one from a lot of problems, due to the different Caching Systems, if used otherways... ;)
https://www.opencart.com/index.php?rout ... n_id=19501
I hope, it helps a little...
Ernie

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by straightlight » Sat Oct 13, 2018 10:09 pm

Blueey wrote:
Fri Oct 12, 2018 7:00 am
Do I just remove the whole file or empty the file of all the code?
Deleting a simple line from the account page will not prevent users to access the page from URL on anyhow. The best option is by using a search tool such as: TextCrawler.

Wishlist results:

Code: Select all

catalog/view/theme/<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/wishlist.tpl
catalog/view/theme/<your_theme>/template/common/footer.tpl
catalog/view/theme/<your_theme>/template/common/header.tpl
catalog/view/theme/<your_theme>/template/product/category.tpl
catalog/view/theme/<your_theme>/template/product/manufacturer_info.tpl
catalog/view/theme/<your_theme>/template/product/product.tpl
catalog/view/theme/<your_theme>/template/product/search.tpl
catalog/view/theme/<your_theme>/template/product/special.tpl
catalog/view/theme/<your_theme>/template/extension/module/account.tpl
catalog/view/theme/<your_theme>/template/extension/module/bestseller.tpl
catalog/view/theme/<your_theme>/template/extension/module/featured.tpl
catalog/view/theme/<your_theme>/template/extension/module/latest.tpl
catalog/view/theme/<your_theme>/template/extension/module/special.tpl
Downloads results:

Code: Select all

catalog/view/theme/<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/download.tpl
catalog/view/theme/<your_theme>/template/common/header.tpl
catalog/view/theme/<your_theme>/template/information/sitemap.tpl
catalog/view/theme/<your_theme>/template/mail/order_add.tpl
catalog/view/theme/<your_theme>/template/extension/module/account.tpl
Reward results:

Code: Select all

catalog/view/theme<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/reward.tpl
catalog/view/theme/<your_theme>/template/checkout/cart.tpl
catalog/view/theme/<your_theme>/template/product/product.tpl
catalog/view/theme/<your_theme>/template/extension/module/account.tpl
catalog/view/theme/<your_theme>/template/extension/payment/pp_braintree_confirm.tpl
catalog/view/theme/<your_theme>/template/extension/payment/pp_express_confirm.tpl
catalog/view/theme/<your_theme>/template/extension/total/reward.tpl
Return results:

Code: Select all

catalog/view/theme/<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/login.tpl
catalog/view/theme/<your_theme>/template/account/order_info.tpl
catalog/view/theme/<your_theme>/template/account/return_form.tpl
catalog/view/theme/<your_theme>/template/account/return_info.tpl
catalog/view/theme/<your_theme>/template/account/return_list.tpl
catalog/view/theme/<your_theme>/template/account/tracking.tpl
catalog/view/theme/<your_theme>/template/affiliate/login.tpl
catalog/view/theme/<your_theme>/template/checkout/checkout.tpl
catalog/view/theme/<your_theme>/template/checkout/guest.tpl
catalog/view/theme/<your_theme>/template/checkout/guest_shipping.tpl
catalog/view/theme/<your_theme>/template/checkout/login.tpl
catalog/view/theme/<your_theme>/template/checkout/payment_address.tpl
catalog/view/theme/<your_theme>/template/checkout/payment_method.tpl
catalog/view/theme/<your_theme>/template/checkout/register.tpl
catalog/view/theme/<your_theme>/template/checkout/shipping_address.tpl
catalog/view/theme/<your_theme>/template/checkout/shipping_method.tpl
catalog/view/theme/<your_theme>/template/common/footer.tpl
catalog/view/theme/<your_theme>/template/product/product.tpl
catalog/view/theme/<your_theme>/template/extension/credit_card/squareup.tpl
catalog/view/theme/<your_theme>/template/extension/module/account.tpl
catalog/view/theme/<your_theme>/template/extension/module/amazon_login.tpl
catalog/view/theme/<your_theme>/template/extension/module/amazon_pay.tpl
catalog/view/theme/<your_theme>/template/extension/module/pp_braintree_button.tpl
catalog/view/theme/<your_theme>/template/extension/module/pp_login.tpl
catalog/view/theme/<your_theme>/template/extension/payment/eway.tpl
catalog/view/theme/<your_theme>/template/extension/payment/globalpay.tpl
catalog/view/theme/<your_theme>/template/extension/payment/laybuy.tpl
catalog/view/theme/<your_theme>/template/extension/payment/paymate.tpl
catalog/view/theme/<your_theme>/template/extension/payment/payza.tpl
catalog/view/theme/<your_theme>/template/extension/payment/pp_braintree.tpl
catalog/view/theme/<your_theme>/template/extension/payment/pp_standard.tpl
catalog/view/theme/<your_theme>/template/extension/payment/realex.tpl
catalog/view/theme/<your_theme>/template/extension/payment/skrill.tpl
catalog/view/theme/<your_theme>/template/extension/payment/twocheckout.tpl
catalog/view/theme/<your_theme>/template/extension/recurring/squareup.tpl

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by khnaz35 » Sun Oct 14, 2018 1:06 pm

straightlight wrote:
Sat Oct 13, 2018 10:09 pm
Blueey wrote:
Fri Oct 12, 2018 7:00 am
Do I just remove the whole file or empty the file of all the code?
Deleting a simple line from the account page will not prevent users to access the page from URL on anyhow. The best option is by using a search tool such as: TextCrawler.

Wishlist results:

Code: Select all

catalog/view/theme/<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/wishlist.tpl
catalog/view/theme/<your_theme>/template/common/footer.tpl
catalog/view/theme/<your_theme>/template/common/header.tpl
catalog/view/theme/<your_theme>/template/product/category.tpl
catalog/view/theme/<your_theme>/template/product/manufacturer_info.tpl
catalog/view/theme/<your_theme>/template/product/product.tpl
catalog/view/theme/<your_theme>/template/product/search.tpl
catalog/view/theme/<your_theme>/template/product/special.tpl
catalog/view/theme/<your_theme>/template/extension/module/account.tpl
catalog/view/theme/<your_theme>/template/extension/module/bestseller.tpl
catalog/view/theme/<your_theme>/template/extension/module/featured.tpl
catalog/view/theme/<your_theme>/template/extension/module/latest.tpl
catalog/view/theme/<your_theme>/template/extension/module/special.tpl
Downloads results:

Code: Select all

catalog/view/theme/<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/download.tpl
catalog/view/theme/<your_theme>/template/common/header.tpl
catalog/view/theme/<your_theme>/template/information/sitemap.tpl
catalog/view/theme/<your_theme>/template/mail/order_add.tpl
catalog/view/theme/<your_theme>/template/extension/module/account.tpl
Reward results:

Code: Select all

catalog/view/theme<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/reward.tpl
catalog/view/theme/<your_theme>/template/checkout/cart.tpl
catalog/view/theme/<your_theme>/template/product/product.tpl
catalog/view/theme/<your_theme>/template/extension/module/account.tpl
catalog/view/theme/<your_theme>/template/extension/payment/pp_braintree_confirm.tpl
catalog/view/theme/<your_theme>/template/extension/payment/pp_express_confirm.tpl
catalog/view/theme/<your_theme>/template/extension/total/reward.tpl
Return results:

Code: Select all

catalog/view/theme/<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/login.tpl
catalog/view/theme/<your_theme>/template/account/order_info.tpl
catalog/view/theme/<your_theme>/template/account/return_form.tpl
catalog/view/theme/<your_theme>/template/account/return_info.tpl
catalog/view/theme/<your_theme>/template/account/return_list.tpl
catalog/view/theme/<your_theme>/template/account/tracking.tpl
catalog/view/theme/<your_theme>/template/affiliate/login.tpl
catalog/view/theme/<your_theme>/template/checkout/checkout.tpl
catalog/view/theme/<your_theme>/template/checkout/guest.tpl
catalog/view/theme/<your_theme>/template/checkout/guest_shipping.tpl
catalog/view/theme/<your_theme>/template/checkout/login.tpl
catalog/view/theme/<your_theme>/template/checkout/payment_address.tpl
catalog/view/theme/<your_theme>/template/checkout/payment_method.tpl
catalog/view/theme/<your_theme>/template/checkout/register.tpl
catalog/view/theme/<your_theme>/template/checkout/shipping_address.tpl
catalog/view/theme/<your_theme>/template/checkout/shipping_method.tpl
catalog/view/theme/<your_theme>/template/common/footer.tpl
catalog/view/theme/<your_theme>/template/product/product.tpl
catalog/view/theme/<your_theme>/template/extension/credit_card/squareup.tpl
catalog/view/theme/<your_theme>/template/extension/module/account.tpl
catalog/view/theme/<your_theme>/template/extension/module/amazon_login.tpl
catalog/view/theme/<your_theme>/template/extension/module/amazon_pay.tpl
catalog/view/theme/<your_theme>/template/extension/module/pp_braintree_button.tpl
catalog/view/theme/<your_theme>/template/extension/module/pp_login.tpl
catalog/view/theme/<your_theme>/template/extension/payment/eway.tpl
catalog/view/theme/<your_theme>/template/extension/payment/globalpay.tpl
catalog/view/theme/<your_theme>/template/extension/payment/laybuy.tpl
catalog/view/theme/<your_theme>/template/extension/payment/paymate.tpl
catalog/view/theme/<your_theme>/template/extension/payment/payza.tpl
catalog/view/theme/<your_theme>/template/extension/payment/pp_braintree.tpl
catalog/view/theme/<your_theme>/template/extension/payment/pp_standard.tpl
catalog/view/theme/<your_theme>/template/extension/payment/realex.tpl
catalog/view/theme/<your_theme>/template/extension/payment/skrill.tpl
catalog/view/theme/<your_theme>/template/extension/payment/twocheckout.tpl
catalog/view/theme/<your_theme>/template/extension/recurring/squareup.tpl
Can you please share the tool link :)

Always help others it's always come back, give and receive :)


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm

Post by xxvirusxx » Sun Oct 14, 2018 1:38 pm

lol @khnaz35

https://www.digitalvolcano.co.uk/tcdownloads.html

Or you can use Notepad++, can open multiple Files..search in them...

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by khnaz35 » Sun Oct 14, 2018 2:35 pm

xxvirusxx wrote:
Sun Oct 14, 2018 1:38 pm
lol @khnaz35

https://www.digitalvolcano.co.uk/tcdownloads.html

Or you can use Notepad++, can open multiple Files..search in them...
Offcourse i am using Notepad++ am just writing it here for some little fun and for those people who are just beginner ;) ;D

Always help others it's always come back, give and receive :)


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm

Post by xxvirusxx » Sun Oct 14, 2018 3:47 pm

So you make spam :laugh:

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by khnaz35 » Sun Oct 14, 2018 5:44 pm

xxvirusxx wrote:
Sun Oct 14, 2018 3:47 pm
So you make spam :laugh:
Error Error Error :laugh: :laugh: :joker:

Always help others it's always come back, give and receive :)


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Who is online

Users browsing this forum: No registered users and 3 guests