Page 1 of 1

order processed .tpl where ?

Posted: Mon Feb 13, 2012 9:18 pm
by jezfez
i am trying to remove

"If your purchase has an associated download, you can goto the account downloads page to view them."

can't find it in:

catalog/view/theme/mytheme/template/checkout

thanks!

Re: order processed .tpl where ?

Posted: Mon Feb 13, 2012 10:28 pm
by jty
catalog/language/english/checkout/success.php

Re: order processed .tpl where ?

Posted: Wed Feb 15, 2012 2:15 pm
by jezfez
thank you

Re: order processed .tpl where ?

Posted: Fri Mar 16, 2012 5:35 pm
by MissLiss
Hi,

I have removed the line as suggested and now the "store managers' link is the link for downloads.
My very basic understanding of PHP is that there are 4 %s strings in order and deleting the link for one, doesn't remove it.

Where so I remove the extra %s that refers to downloads?

Re: order processed .tpl where ?

Posted: Mon Mar 19, 2012 9:04 am
by MissLiss
Does anyone know the answer to this?

I probably shouldn't be saying this out loud, I'm starting to get really frustrated with the lack of support from the opencart community!

Re: order processed .tpl where ?

Posted: Mon Mar 19, 2012 2:35 pm
by qahar
Hi, You need to understand that no one have "duty" to assist/ support community question, even though moderator. You need to be more patients ;D

When you edit:catalog\language\english\checkout\success.php

Code: Select all

$_['text_customer'] = '<p>Your order has been successfully processed!</p><p>You can view your order history by going to the <a href="%s">my account</a> page and by clicking on <a href="%s">history</a>.</p><p>If your purchase has an associated download, you can go to the account <a href="%s">downloads</a> page to view them.</p><p>Please direct any questions you have to the <a href="%s">store owner</a>.</p><p>Thanks for shopping with us online!</p>';
The %s need to be consist with catalog\controller\checkout\success.php (line 53), because all %s will be replaced with the link.

Code: Select all

$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('account/download', '', 'SSL'), $this->url->link('information/contact'));

Re: order processed .tpl where ?

Posted: Mon Mar 19, 2012 3:25 pm
by MissLiss
I understand, I'm sorry!
I guess I am used to the community on another cart forum and I have an urgent cart to complete asap.

Anyway with your help I was able to compile my very first vqmod to remove downloads from the success page!
Thanks :)

Re: order processed .tpl where ?

Posted: Wed Apr 18, 2012 7:14 am
by H2O
HI MissLiss!

Would you be willing to post the vQmod for others who want to accomplish the same thing?

Re: order processed .tpl where ?

Posted: Wed Apr 18, 2012 7:41 am
by JAY6390
MissLiss wrote:I understand, I'm sorry!
I guess I am used to the community on another cart forum and I have an urgent cart to complete asap.
If you're wanting dedicated support for an urgent cart completion, you should consider hiring an opencart professional to help with your bugs. I realise it's frustrating not getting a reply quickly, but you have to remember all the people that help out on the forums do so free in their spare time. You also have to realise that the vast majority of people on these forums are in the same boat as yourself, wanting help, not giving it, and as such, there's lots of posts to answer and only a few people with the knowledge and skill to give you the help you need