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

jammarra

Newbie
  
  • Posts

    1
  • Joined

  • Last visited

jammarra's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Здравствуйте, пытаюсь добавить отображение веса в категориях. За основу взял отображение цены. Создаю в массиве вес catalog\controller\product\category.php как пример используя цену: if ($this->config->get('config_tax')) { $tax = $this->currency->format($this->tax->calculate($result['weight'], $result['weight_class_id'], $this->config->get('config_tax'))); } else { $tax = false; } соответственно он создает строку вида: А вот дальше проблемы, не понимаю где хранится функция модели для формирования config_tax Насколько я понял нужно создать подобную функцию для формирования веса и создать в БД в сетенге строку для привязки значения 0, 1 к граммам и килограммам на подобии этой, но я не совсем понимаю её связей: setting_id 28938 store_id 0 group config key config_tax value 1 serialized 0 Если кто то может поделится инфой по этой тематике или доками с прицепами работы буду благодарен.
Guest
×
  • 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.