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

AlexFisher

Users

2 Followers

About AlexFisher

  • Birthday 01/01/1970

Information

  • Gender
    Мужчина
  • City:
    near

Recent Profile Visitors

17,631 profile views

AlexFisher's Achievements

Grand Master

Grand Master (14/14)

  • Dedicated Rare
  • Week One Done
  • One Year In
  • One Month Later
  • Conversation Starter

Recent Badges

203

Reputation

  1. відкрити файл моделі \catalog\model\extension\module\mymodule.php знайти return json_decode($query->row['setting'], true); замінити на $settings = json_decode($query->row['setting'], true); $settings['module_id'] = $module_id; return $settings; вуаля, маємо id в $setting['module_id']
  2. Там же написано: змінна повертає булеве значення, а очікується масив. Що в тих строках? /sites/storage/modification/catalog/controller/product/product.php on line 873, 834 ?
  3. controller: $data['secondimg'] = $this->model_tool_image->resize($result['images'][0], 100, 100); template: <?php echo $secondimg; ?>
  4. $product_option_value_data[] = array( 'quantity' => ($product_option_value['option_value_id'] == 'id опції') ? '1000' : $product_option_value['quantity'],
  5. Так само, як і скрізь. Додати в контролери адмін-чекауту/мейлу/тощо special if (!is_null($result['special']) && (float)$result['special'] >= 0) { $data['special'] = $this->currency->format($this->tax->calculate($result['special'], $result['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']); } в шаблоні умову на вивід {% if not product.special %}{{ product.price }}{% else %}<span style="text-decoration:line-through">{{ product.price }}</span> {{ product.special }}</span>
  6. Делал для создания накладньіх. В принципе, там гибкий АРІ, можно всякое сделать
  7. В шаблоне карточки товара заменить табуляцию на якори у табов. Соответственно, проставить эти якори в ключевых местах.
  8. Инкапсуляция =)
  9. Шаблон нестандартный. Что автор говорит? upd: вот это <?php echo $language; ?> за условие достаточно вывести
×
×
  • 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.