I have version 1.5.3
And I have "allow downloads" set to no in the admin.
Why are all the "download" links still there? You would think that the reason for this setting in the admin is to make those links go away if you don't offer downloads right?
How would I remove those links from all spots on the site? I think there are links on the site map page, my account page (under my orders), and under the account module. Could be more I guess too.
Any extensions that do this?
also, this brings up another question - Isn't there a way to edit what is listed under the 'accounts' module?
Thanks!
And I have "allow downloads" set to no in the admin.
Why are all the "download" links still there? You would think that the reason for this setting in the admin is to make those links go away if you don't offer downloads right?
How would I remove those links from all spots on the site? I think there are links on the site map page, my account page (under my orders), and under the account module. Could be more I guess too.
Any extensions that do this?
also, this brings up another question - Isn't there a way to edit what is listed under the 'accounts' module?
Thanks!
Open account.tpl in
catalog-->view-->theme-->yourtheme-->template--->account
and
catalog-->view-->theme-->yourtheme-->template--->module
find and remove this code
it is to remove link download in account page and account module.
note*
backup account.tpl first before you do this.
catalog-->view-->theme-->yourtheme-->template--->account
and
catalog-->view-->theme-->yourtheme-->template--->module
find and remove this code
Code: Select all
<li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
note*
backup account.tpl first before you do this.
Thank you! That worked! Now another problem:
When you place an order and get the - 'Your Order Has Been Processed!' page, you will still get "If your purchase has an associated download, you can go to the account downloads page to view them"
I tried to remove that line from catalog:language:english:checkout:success.php - <p>If your purchase has an associated download, you can go to the account <a href="%s">downloads</a> page to view them.</p>
but then link for the line below it - "Please direct any questions you have to the store owner" - went to the downloads page instead of the contact us page!
Can somebody help me with this?
When you place an order and get the - 'Your Order Has Been Processed!' page, you will still get "If your purchase has an associated download, you can go to the account downloads page to view them"
I tried to remove that line from catalog:language:english:checkout:success.php - <p>If your purchase has an associated download, you can go to the account <a href="%s">downloads</a> page to view them.</p>
but then link for the line below it - "Please direct any questions you have to the store owner" - went to the downloads page instead of the contact us page!
Can somebody help me with this?
open success.php in
catalog-->controller-->checkout
find and remove this code
catalog-->controller-->checkout
find and remove this code
Code: Select all
$this->url->link('account/download', '', 'SSL')
Hmmm... So I tried that, and I get - Warning: sprintf() [function.sprintf]: Too few arguments in /home3/modolivi/public_html/catalog/controller/checkout/success.php on line 53
at the top of the page and all the main text is gone from the page (except "your order has been processed")
So this is what I have:
if ($this->customer->isLogged()) {
$this->data['text_message'] = sprintf($this->language->get('text_customer'), $this->url->link('account/account', '', 'SSL'), $this->url->link('account/order', '', 'SSL'), $this->url->link('information/contact'));
Do you see a problem?
Thanks for your help!
at the top of the page and all the main text is gone from the page (except "your order has been processed")
So this is what I have:
if ($this->customer->isLogged()) {
$this->data['text_message'] = sprintf($this->language->get('text_customer'), $this->url->link('account/account', '', 'SSL'), $this->url->link('account/order', '', 'SSL'), $this->url->link('information/contact'));
Do you see a problem?
Thanks for your help!
That line that has download in it is not on checkout.php. It is on success.php as far as I can see. So it is back to the same problem (see the top of the thread)alijzari wrote:go to catalog/langauge/english/checkout and just delete the line that has the download part in it including the href
Has anyone figured this out? Thanks!
You have to remove the part from catalog/controller/checkout/success.php:
and then remove from catalog/language/english/checkout/success.php and it should works!
Code: Select all
, $this->url->link('account/download', '', 'SSL')
Code: Select all
<p>If your purchase has an associated download, you can go to the account <a href="%s">downloads</a> page to view them.</p>
catalog-->view-->theme-->yourtheme-->template--->information
sitemap.tpl
remove
sitemap.tpl
remove
Code: Select all
<li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
Excellent!!!!! Workedlundgren2 wrote: ↑Thu Aug 23, 2012 11:23 pmYou have to remove the part from catalog/controller/checkout/success.php:and then removeCode: Select all
, $this->url->link('account/download', '', 'SSL')
from catalog/language/english/checkout/success.php and it should works!Code: Select all
<p>If your purchase has an associated download, you can go to the account <a href="%s">downloads</a> page to view them.</p>
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Who is online
Users browsing this forum: No registered users and 34 guests