Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard

Popular Content

Showing content with the highest reputation on 02/20/2011 in all areas

  1. тоже самое только с $this->cart->countProducts()
    1 point
  2. В файле contact.tplкоторый можно найти, к примеру, в стандартном шаблоне по адресу /catalog/view/theme/default/template/informationПосле кода (у меня это строка 39), добавить желаемый телефон. <?php echo $telephone; ?><br /> <br /> <br /> - переход на новую строкуps Если будете добавлять текст русскоязычный, то необходимо будет сменить кодировку на UTF-8.
    1 point
  3. в ..catalogcontrollercheckoutcart.php находим if (isset($this->error['warning'])) { $this->data['error_warning'] = $this->error['warning']; } elseif (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout')) { $this->data['error_warning'] = $this->language->get('error_stock');} else { $this->data['error_warning'] = '';}заменяем на if (isset($this->error['warning'])) { $this->data['error_warning'] = $this->error['warning']; } elseif (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout')) { $this->data['error_warning'] = $this->language->get('error_stock');} elseif ($this->cart->getTotal() < 9000) { $this->data['error_warning'] = 'need more money!';} else { $this->data['error_warning'] = '';} в ..catalogcontrollercheckoutshipping.php строчку if (!$this->cart->hasProducts() || (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout'))) {меняем на if (!$this->cart->hasProducts() || ($this->cart->getTotal() < 9000) || (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout'))) { 9000 - соответственно меняем по своему усмотрению
    1 point
×
×
  • Create New...

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.