AJIekS Posted August 16, 2013 Report Share Posted August 16, 2013 Здравствуйте! Подскажите пожалуйста в каком файле правится форма печати заказа? Quote Link to post Share on other sites
Noxter Posted August 16, 2013 Report Share Posted August 16, 2013 simpla/design/html/order_print.tpl Quote Link to post Share on other sites
AJIekS Posted August 16, 2013 Author Report Share Posted August 16, 2013 simpla/design/html/order_print.tplСпасибо! Quote Link to post Share on other sites
AJIekS Posted August 16, 2013 Author Report Share Posted August 16, 2013 Подскажите еще пожалуйста, не пойму как убрать артикул товара в форме печати заказа??? Quote Link to post Share on other sites
mart Posted August 16, 2013 Report Share Posted August 16, 2013 Уберите {$purchase->sku} Quote Link to post Share on other sites
AJIekS Posted August 16, 2013 Author Report Share Posted August 16, 2013 Точно, точно) не увидел, там прямо подписано) Спасибо! ) Quote Link to post Share on other sites
butuff Posted November 9, 2013 Report Share Posted November 9, 2013 Добрый день, а в админке в шаблонах должен быть виден order_print.tpl? у меня почему то его нет, а хотелось бы отредактировать, как это сделать не подскажете? Quote Link to post Share on other sites
Rash Posted November 9, 2013 Report Share Posted November 9, 2013 Добрый день, а в админке в шаблонах должен быть виден order_print.tpl? у меня почему то его нет, а хотелось бы отредактировать, как это сделать не подскажете? Увидеть можно только через FTP, в админке части относящиеся к шаблону. Quote Link to post Share on other sites
butuff Posted November 10, 2013 Report Share Posted November 10, 2013 Понял, спасибо, хочу в стандартный бланк добавить стоимость доставки, т.к. по умолчанию она туда не попадает. Quote Link to post Share on other sites
Alexeylab Posted November 11, 2013 Report Share Posted November 11, 2013 А как сделать, чтобы в заказе печатались картинки? (почти разобрался)И если товаров много, то они не вылазили за поля документа....? Quote Link to post Share on other sites
den_k2 Posted March 1, 2015 Report Share Posted March 1, 2015 подскажите, добавляю вторую кнопку печати заказа в карточке.Поправил идобавил необходимые файлы, в т.ч. в OrderAdmin.php добавил // Метки заказов $labels = $this->orders->get_labels(); $this->design->assign('labels', $labels); $this->design->assign('order_labels', $order_labels); if($this->request->get('view') == 'print') return $this->design->fetch('order_print.tpl'); else return $this->design->fetch('order.tpl'); if($this->request->get('view') == 'print2') return $this->design->fetch('order_print2.tpl'); else return $this->design->fetch('order.tpl'); Но все равно не открывает новую форму.Выкидывает на форму заказа в админке обратноГде упустил? Quote Link to post Share on other sites
Kors Posted March 1, 2015 Report Share Posted March 1, 2015 if($this->request->get('view') == 'print') return $this->design->fetch('order_print.tpl'); elseif($this->request->get('view') == 'print2') return $this->design->fetch('order_print2.tpl'); else return $this->design->fetch('order.tpl'); Quote Link to post Share on other sites
den_k2 Posted March 1, 2015 Report Share Posted March 1, 2015 Ок. Спасибо Quote Link to post Share on other sites
Joe Posted January 26, 2016 Report Share Posted January 26, 2016 а как вывести общее количество товаров в заказе в печати заказа? в корзине за это отвечает {$cart->total_products}. Попробовал {$order->total_products} - ничего не происходит Quote Link to post Share on other sites
Kors Posted January 27, 2016 Report Share Posted January 27, 2016 {$purchases_count} Quote Link to post Share on other sites
Joe Posted January 27, 2016 Report Share Posted January 27, 2016 спасибо большое!) Quote Link to post Share on other sites
Julija Posted June 20, 2019 Report Share Posted June 20, 2019 simpla/design/html/order_print.tplа где этот файл найти? Quote Link to post Share on other sites
chocolate_moles Posted June 20, 2019 Report Share Posted June 20, 2019 а где этот файл найти? Я думаю что пока вы не сможете найти этот файл самостоятельно, то вносить в него изменения вам не стоит Quote Link to post Share on other sites
Noxter Posted June 21, 2019 Report Share Posted June 21, 2019 Я думаю что пока вы не сможете найти этот файл самостоятельно, то вносить в него изменения вам не стоит100% Quote Link to post Share on other sites
Julija Posted July 16, 2019 Report Share Posted July 16, 2019 но все же? значок оценки яндекс маркета я уже смогла сама внести в код, так что помучаюсь да выйдет что нибудь.. Quote Link to post Share on other sites
Noxter Posted July 16, 2019 Report Share Posted July 16, 2019 но все же? значок оценки яндекс маркета я уже смогла сама внести в код, так что помучаюсь да выйдет что нибудь..Лучше не стоит этого делать... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.