Jump to content

Search the Community

Showing results for tags 'order_id'.

  • 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 5 results

  1. I'm removing the order reference number from anything customer facing and replacing it with id_order, but I can't seem to do it on the order-details.tpl. I think maybe the variable doesn't exist on that page, but I'm not enough of a programmer to figure out how to get it there. This is the code I'd like to change: <strong>{l s='Order Number %s placed on' sprintf=$order->getUniqReference()} {dateFormat date=$order->date_add full=0}</strong> I tried replacing sprintf=$order->getUniqReference() with sprintf=$order->id_order but that did not work. Any ideas? I'm using PrestaShop 1.6.1.18 and a custom copy of the default bootstrap theme.
  2. Hi All, I'm trying to get customer details and shipping address after the orders are processed from selective carts. I've got the cart Id to start with. But I'm having difficulty retrieving the customer's first name, last, name and shipping address. I've tried the following so far. $cart_id = $value['cart_id']; $result = false; $order = Order::getOrderByCartId((int)($cart_id)); $order_details = OrderDetail::getList((int)$order); if(isset($order_details[0])) { $order_id = $order_details[0]['id_order']; $customer = new Customer ($order_id); if (!Validate::isLoadedObject($customer)) { print_r($customer); } } The above code is giving me the entire customer object. But I'm not sure how to get the firstname, lastname, address and email from it. Appreciate you taking out time for this. Regards B
  3. Hello, guys i have one question how to get order refference in hookDisplayAdminOrder i try this method but nothing public function hookDisplayAdminOrder() { $orderid - Tools::getValue('id_order'); echo $orderid; } I just want to get order refference and make it variable with him
  4. Hola, estoy teniendo problemas con la página de contacto. He hecho un montón de pruebas, pero haga lo que haga me llega así: No aparecen nunca los adjuntos ni el id de pedido. El fichero que entra en juego aquí creo que es controllers\front\ContactController.php, a la altura de la línea 173: if (isset($ct) && Validate::isLoadedObject($ct) && $ct->id_order) { $order = new Order((int)$ct->id_order); $var_list['{order_name}'] = $order->getUniqReference(); $var_list['{id_order}'] = (int)$order->id; } $ct siempre llega con valor null. Un poco más arriba está su inicialización: $ct = new CustomerThread($id_customer_thread); pero como $id_customer_thread siempre es un booleano a false... siempre me carga un null. No sé qué está pasando ahí... ¿Alguien que me pueda echar una mano? Gracias.
  5. Hi, I have changed my invoices and order-history pages to show the order id instead of an order reference. So im showing it like this.. If the id of the order is 9 then it is showing as ORD0000009 using {l s='#ORD'}{$order_invoice->id_order|string_format:"%06d"} This works fine in the order invoice, order history and order details page. However I am having trouble finding how to change this in the emails that get sent to the customer when the order status changes for example when it is a new order, order processing, order shipped, credits, delivered and cancelled. I tried editing the {order_name} variable in the mailalerts module mailalerts.php but this does not change. The email still shows the order reference number. I was able to get the new order email to change by editing PaymentModule.php and updating the {order_name} variable. Does anyone know what files I need to edit for the other order statuses? Or what file handles sending out emails when the order status changes? Thanks,
×
×
  • Create New...