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

alexComposer

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

alexComposer's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Подскажите, есть ли модули чтобы настроить выгрузку из 1с в мультимагазин, чтобы по поддоменам, которые являются городами выгрузить цены и каталоги отдельно?
  2. Я новичок в опенкарте, реализовал добавление двух подарочных товаров в корзину вместе с добавлением первого платного if (!$json) { $this->cart->add($this->request->post['product_id'], $quantity, $option, $recurring_id); $cart_contents = $this->cart->countProducts(); if ($cart_contents == 1) { $this->cart->add('656', '1'); $this->cart->add('657', '1'); } } Помогите реализовать удаление этих двух товаров вместе с последним платным из корзины. вот моя попытка (не работает) if (isset($this->request->post['key'])) { $this->cart->remove($this->request->post['key']); $cart_contents = $this->cart->countProducts(); if (isset($this->request->post['product_id'])) { if ($cart_contents == 3) { $this->cart->remove($this->request->post['product_id']); $this->cart->remove('656'); $this->cart->remove('657'); } }
×
×
  • 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.