Jump to content
Sign in to follow this  
keks1986

Ошибка после оформления заказа...

Recommended Posts

Знающих людей прошу помочь!

После оформления заказа вылетает ошибка, которая в прочем ни на что не влияет, но хотелось бы её устранить...

Warning: sprintf() [function.sprintf]: Too few arguments in /home/kodzbash/magazinn.com.ua/www/catalog/controller/checkout/success.php on line 56

 

post-682630-0-19689600-1401826388_thumb.jpg

Share this post


Link to post
Share on other sites

Не выводит текст "Об успешном завершении заказа", можно в контроллере поставить заглушку (если у вас один язык):

Открыть файл: catalog/controller/checkout/success.php

в нём находите строки:

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('account/download', '', 'SSL'), $this->url->link('information/contact'));
		} else {
    		$this->data['text_message'] = sprintf($this->language->get('text_guest'), $this->url->link('information/contact'));
		}

меняете на:

/*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('account/download', '', 'SSL'), $this->url->link('information/contact'));
		} else {
    		$this->data['text_message'] = sprintf($this->language->get('text_guest'), $this->url->link('information/contact'));
		}*/
$this->data['text_message'] = 'Спасибо за заказ, администрация свяжется с Вами по указанным контактам при оформлении.';

Share this post


Link to post
Share on other sites

Прошу помочь.

Установили Opencart, при оплате в самом конце где нужно оплачивать пишет ,,оплата единой картой не включена,,

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.