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

2sandro

Newbie
  
  • Posts

    6
  • Joined

  • Last visited

2sandro's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Спасибо, получилось, только немного подкорректировал Ваш вариант. Ниже рабочее решение для модуля xshipping: Было: $shipping_cost=$this->config->get('xshipping_cost'.$i); $free_shipping_cost=(float)$this->config->get('xshipping_free'.$i); if(empty($free_shipping_cost))$free_shipping_cost=0; if ($this->cart->getSubTotal() >= $free_shipping_cost && $free_shipping_cost!=0) { $shipping_cost = 0; } if ($status) { $quote_data['xshipping'.$i] = array( 'code' => 'xshipping'.'.xshipping'.$i, 'title' => $this->config->get('xshipping_name'.$i), 'cost' => $shipping_cost, 'tax_class_id' => $this->config->get('xshipping_tax_class_id'.$i), 'text' => $this->currency->format($this->tax->calculate($shipping_cost, $this->config->get('xshipping_tax_class_id'.$i), $this->config->get('config_tax'))) ); Стало: $shipping_cost=$this->config->get('xshipping_cost'.$i); $cost = $this->currency->convert($shipping_cost, 'UAH', 'USD'); $free_shipping_cost= (float)$this->currency->convert($this->config->get('xshipping_free'.$i), 'UAH', 'USD'); if(empty($free_shipping_cost))$free_shipping_cost=0; if ($this->cart->getSubTotal() >= $free_shipping_cost && $free_shipping_cost!=0) { $cost = 0; } if ($status) { $quote_data['xshipping'.$i] = array( 'code' => 'xshipping'.'.xshipping'.$i, 'title' => $this->config->get('xshipping_name'.$i), 'cost' => $cost, 'tax_class_id' => $this->config->get('xshipping_tax_class_id'.$i), 'text' => $this->currency->format($this->tax->calculate($cost, $this->config->get('xshipping_tax_class_id'.$i), $this->config->get('config_tax'))) );
  2. Здравствуйте. При создании сайта на OcStore столкнулся с одной проблемой: в админке основная валюта выставлена в долларах, в ней же заносится товар, для пользователя выставлена гривна, курсы забиты, все пересчитывается как надо, но! Стоимость доставки забивается тоже в долларах, а хотелось бы в гривнах... Пример: я стоимость доставки указал 15.00, а пользователь видит сумму в 335 гривен. Где осуществляется этот пересчет? Я уже находил хорошие модули по этому плану - Валюта плюс(немного не то, но с его помощью можно выкрутится) или Менеджер валют ПРО, но они стоят немало денег и ради одной правки не хотелось бы к ним прибегать.
  3. разобрался, причина крылась в модуле magic footer, после его отключения все стало на свои места
  4. <meta name="viewport" content="width=device-width, initial-scale=1"> с этим тоже ничего не меняется
  5. Скорее container, но я это и так сделал #container { width: 980px; margin-left: auto; margin-right: auto; text-align: left; }
  6. В общем сама суть проблемы - некорректно отображается сайт на мобильных устройствах. Немного похимичил со стандартным шаблоном, все вроде бы и красиво, но есть одно но - проверил на планшете, сайт почему-то влазит "во весь рост" (в смысле по высоте) и отображается очень мелким - скриншоты привожу. Почему он не растягивается на всю ширину экрана?
×
×
  • 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.