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

OlehK

Newbie
  
  • Posts

    23
  • Joined

  • Last visited

OlehK's Achievements

Explorer

Explorer (4/14)

  • First Post
  • Collaborator
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. сделал на HTML5 всем спасибо!
  2. никто не подскажет как сделать select обязательным полем?
  3. мой косяк подправил <option value="0"><?php echo $buyoneclick_select_country; ?></option>
  4. Помогите с валидацией <select
  5. Все привет! держите решение // Send to main admin email if new account email is enabled if (in_array('account', (array)$this->config->get('config_mail_alert'))) { //select data from country and zone $country_query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "country` WHERE country_id = '" . (int)$data['country_id'] . "'"); $country = $country_query->row['name']; $zone_query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "zone` WHERE zone_id = '" . (int)$data['zone_id'] . "'"); $zone = $zone_query->row['name']; $message = $this->language->get('text_signup') . "\n\n"; $message .= $this->language->get('text_website') . ' ' . html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8') . "\n"; $message .= $this->language->get('text_firstname') . ' ' . $data['firstname'] . "\n"; $message .= $this->language->get('text_lastname') . ' ' . $data['lastname'] . "\n"; $message .= $this->language->get('text_customer_group') . ' ' . $customer_group_info['name'] . "\n"; $message .= $this->language->get('text_email') . ' ' . $data['email'] . "\n"; $message .= $this->language->get('text_telephone') . ' ' . $data['telephone'] . "\n"; $message .= $this->language->get('text_country') . ' ' . $country . "\n"; $message .= $this->language->get('text_zone') . ' ' . $zone . "\n";
  6. catalog\controller\account\address.php есть как привязать до тела письма 'address' => str_replace(array("\r\n", "\r", "\n"), '<br />', preg_replace(array("/\s\s+/", "/\r\r+/", "/\n\n+/"), '<br />', trim(str_replace($find, $replace, $format)))), catalog\model\account\customer.php // Send to main admin email if new account email is enabled if (in_array('account', (array)$this->config->get('config_mail_alert'))) { $message = $this->language->get('text_signup') . "\n\n"; $message .= $this->language->get('text_website') . ' ' . html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8') . "\n"; $message .= $this->language->get('text_firstname') . ' ' . $data['firstname'] . "\n"; $message .= $this->language->get('text_lastname') . ' ' . $data['lastname'] . "\n"; $message .= $this->language->get('text_customer_group') . ' ' . $customer_group_info['name'] . "\n"; $message .= $this->language->get('text_email') . ' ' . $data['email'] . "\n"; $message .= $this->language->get('text_telephone') . ' ' . $data['telephone'] . "\n";
  7. а как инфу вставить письмо $message .= $this->language->get('text_address') . ' ' . $address_info['??????'] . "\n";
  8. Сообщение Зарегистрирован новый клиент OpenCart Version 2.3.0.2 подскажите как правильно преобразовать ID в название country_id = '" . (int)$data['country_id'] . "', zone_id = '" . (int)$data['zone_id'] . "', с базы $this->db->query("INSERT INTO " . DB_PREFIX . "address SET customer_id = '" . (int)$customer_id . "', firstname = '" . $this->db->escape($data['firstname']) . "', lastname = '" . $this->db->escape($data['lastname']) . "', company = '" . $this->db->escape($data['company']) . "', address_1 = '" . $this->db->escape($data['address_1']) . "', address_2 = '" . $this->db->escape($data['address_2']) . "', city = '" . $this->db->escape($data['city']) . "', postcode = '" . $this->db->escape($data['postcode']) . "', country_id = '" . (int)$data['country_id'] . "', zone_id = '" . (int)$data['zone_id'] . "', custom_field = '" . $this->db->escape(isset($data['custom_field']['address']) ? json_encode($data['custom_field']['address']) : '') . "'"); предал на мейл $message .= $this->language->get('text_country') . ' ' . $data['country_id'] . "\n"; $message .= $this->language->get('text_zone') . ' ' . $data['zone_id'] . "\n";
  9. Подскажите, а где код письма, которое приходит админу, после регистрации нового пользователя?
  10. на этом сайте, она же индексируется и выдает 404
  11. OpenCart Version 2.3.0.2 http://zadarovstock.com/en/index.php?route=product/manufacturer/info&amp;manufacturer_id=
  12. Спасибо большое! привязал к journal-search
  13. Помогите разобраться http://zadarovstock.com OpenCart Version 2.3.0.2, Journal 2 Пропала кнопка вверх ошибка скрипта
×
×
  • 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.