Jump to content

Search the Community

Showing results for tags 'order-carrier.tpl'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Addons
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 7 results

  1. I have a strange issue with couriers' error messages at checkout in PS 1.6.1.14 (Default Theme). To emulate a minimum amount for purchases needed for a specific group, I've disabled its assigned couriers below a certain purchase amount (let's say 150). The behavior is correct and there's an error showing until the cart reaches 150 euros. But the error message is printed twice for every assigned courier! The message comes from order-carrier.tpl, I guess: if I change that line into tpl file, it changes in error box too (and, of course, it is repeated two times for every courier that is active for that group). The url that shows the error is /quick-order Some years ago someone modified a controller to have this thing of minimum purchase amount working. Something like this: https://www.prestashop.com/forums/topic/585753-set-minimum-order-purchase-for-customers-group-prestashop-16/ Any suggestion on on what to do? Where to check? Is there a way to force a single error message to be printed? PS: of course the message "The product selection cannot be delivered by the available carrier(s). Please amend your cart." has been translated to fit the need of warining about minum purchase amount. Thanks for your time
  2. Dear PrestaShop community, For few days, I'm fighting with the following problem. I want to add very simple check-box in the carrier list in check-out (one more below "I agree with terms and conditions..."). My guess is that this check-box is hidden in the .../themes/your_theme/order-carrier.tpl (or few other files with prefix "order"). But the problem comes when I make any changes in these files. Nothing shows up on the live site. Even after deleting whole "div" with the checkbox, it still shows on the site - what is a bit weird. I tried it the "hard-way" and deleted whole "order-carrier.tpl" file from the site. That page in the check-out was missing and it showed blank page. But after adding it back with no content (zero of code in the "order-carrier.tpl"), it showed up back again in all it's glory.... Could please anyone point me the right direction? Thank you very much for any help, MP
  3. Не отображается способы доставки в режиме 5 шагов, только рамка. То же самое в одностраничном режиме. Все настройки по доставке сделанной: зоны, страна, область, курьеры, шкала цен и веса, доставка. Когда отключаю перевозчиков, выдает сообщение: "Нет доступных способов доставки по адресу". Консоль ошибок не выдает, только для шаблона order-carrier.tpl переменные $delivery_option_list и $delivery_option: Smarty_Variable Object (3) -> value = Array (0) -> nocache = false -> scope = "Smarty root" Версия PrestaShop 1.5.4.1, обновил до последней (1.5.5) - не помогло. Почему эти переменные не получают свои массивы значений? Помогите!
  4. Hello, I am having serious trouble removing the free shipping option. I followed the instructions from this module http://www.prestashop.com/forums/topic/243702-solved-how-to-remove-shipping-carrier-sorting-best-pricefastest-speed/ to comment out the proper code from order-carrier.tpl, but it still shows a radio button as a blank option. I attached a screen shot below. Someone please help!!
  5. hello, i have modified \classes\cart.php getTotalShippingCost() function, because i wanted change the way to obtain the shipping_cost it is working correctly in cart confirm, it is working correctly in shipping calculation.... but the first time i go to the "select carrier page" which uses order-carrier.tpl is not getting the correct shipping cost. If i go to confirm the cart , then the shiping cost is correct; at this moment if i go back to the select carrier page then appears the correct shipping cost. how calculate "select carrier page" which uses order-carrier.tpl the shipping cost (firs time, before selecting the carrier and confirm it) i have see that uses $option.total_price_without_tax value resumed in the attached image Thank you!
  6. Подскажите, как правильно сделать, чтобы в зависимости от ID метода доставки, выводились разные надписи. Мне нужно что бы в графе забрать в магазине стояло напротив слово БЕСПЛАТНО. Пробывал прописать в order-carrier.tpl {if ($this->id_carrier==23)} {l s='Free!'}{/if} не помогает, заполняет этим словом все колоки.
  7. Ciao a tutti, Nella form contenuta in order-carrire.tpl ho aggiunto un nuovo campo di testo che in teoria dovrebbe "portare con se" un valore lungo tutto il percorso dell'ordine, sino alla sua chiusura e ovviamente scrivere il dato in un nuovo record( tipo text) contenuto nella tabella ps_orders. chiamato ws_ddt inoltre questo valore lo dovrò riportare in fattura. Premetto che sono già riuscito a legare la presenza o meno del campo testo in base al gruppo di utenza collegato.Mi spiegerò meglio più avanti con l'esempio pratico. Diciamo che il comportamento dovrebbe essere simile a quello del valore gift_message, ma senza la necessità di abilitare o meno la confezione regalo. Ovviamente voglio mantenere integro il codice inerente la scelta o meno della confezione regalo legata al suo messaggio. questo è quello che ho fatto. creo un corriere legato solo a un gruppo di utenza. ho forzato il codice del file "order-carrier.tpl" in questo modo: {if $carrier.id_carrier == 22} <p id="ws_ddt" class="textarea"> <label for="ws_ddt">{l s='DDT n'}</label> <textarea rows="1" cols="15" id="ws_ddt" name="ws_ddt" >{$cart->ws_ddt|escape:'htmlall':'UTF-8'}</textarea> </p> {else} {$carrier.delay|escape:'htmlall':'UTF-8'} {/if} dove 22 è il valore dell'id del correre che intendo utilizzare per un solo gruppo di utenza. ho modificato la classe Order.php in questo modo: public $ws_ddt; protected $fieldsValidate = array( 'id_address_delivery' => 'isUnsignedId', .... .... 'ws_ddt' => 'isMessage' ); poi ho aggiunto : public function getFields() { parent::validateFields(); $fields['id_address_delivery'] = intval($this->id_address_delivery); .... .... $fields['ws_ddt'] = pSQL($this->ws_ddt); return $fields; } Ho apportato anche le modifice nel file order.php contenuto nella root di prestashop intorno alla riga 217 /* Carrier step */ function processCarrier() { global $cart, $smarty, $isVirtualCart, $orderTotal; $errors = array(); $cart->recyclable = (isset($_POST['recyclable']) AND !empty($_POST['recyclable'])) ? 1 : 0; $cart->ws_ddt = ($_POST['ws_ddt']); nonostante tutto il valore della variabile "ws_ddt" si perde subito dopo il suo inserimento, già nella fase di scelta della forma di pagamento, mentre , pur simulandone il "comportamento", il valore inserito nel campo "gift_message" viene trascinato sino alla fine del processo dell'ordine e scritto nel database . qualcuno è in grado di aiutarmi?? Grazie per la disponibilità. Ale. p.s. ho dato già un occhiata al seguente topic http://www.prestasho...-order-carrier/
×
×
  • Create New...