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


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Found 15 results

  1. Buenas, tengo un problema y espero que puedan ayudarme. Actualmente estoy trabajando con Prestashop 1.6 y necesito saber como puedo poner que la referencia id sea igual al pedido id. El caso es que con el siguiente código se pone igual, pero el problema es que cuando elimino el pedido la referencia se pierde. Necesito que cuando se haga un nuevo pedido la referencia siga siendo la misma que el id pedido. Ese es el código que hace que la referencia sea igual al pedido: $last_id = Db::getInstance()->getValue(' SELECT MAX(id_order) FROM '._DB_PREFIX_.'orders'); return str_pad((int)$last_id + 1, 9, '000000000', STR_PAD_LEFT); Ahora necesito saber lo siguiente. Adjunto pantallazos para que vean. Espero que puedan ayudarme. Gracias
  2. I am trying to insert the Order ID (not reference) {id_order} and Product ID {id_product} into my email confirmation. Neither one is being processed when the email is being sent. In both cases just the variable is showing in the email. Any ideas?
  3. Hello everyone, First, I apologize for the long post, but I believe this requires details. I am having these problems with shopping carts, on both PS 1.6.09 and 1.5.6 (I have two different stores): 1- when a customer (new or old) logs in, an empty ghost cart is created automatically in BO (showing 0.00 RON/EUR value). These empty shopping carts have the "delete" option, but I don't think that creating empty carts at login is normal behavior. 2- after placing an order, the shopping cart is converted into an order and it's visible in "orders" section, but it also remains in the "customers/shopping carts" section, without the "delete" option there. 3- in 1.5.6 only, I have enabled the guest check-out option. In this store I have guest shopping carts that have not been transformed into orders but are still in in the "customers/shopping carts" section and do not have the "delete" option. 4- I have noticed that the Shopping Cart ID's are not in order, but are in a random order, on both 1.6.09 and 1.5.6. Whereas the Orders ID's are in the right order. Does anyone encountered these issues and managed to fix them? What would be the appropriate way of fixing these issues, without re-installing PS from scratch? I also mention: - On both stores BO's I have been using the "database optimization" module from https://mypresta.eu/modules/administration-tools/database-optimization.html, but I have stopped using it after I had issues with the shopping cart in FO (users could not add products to cart, or had products in cart that were not added by them). - I checked and fixed the database with Prestashop Cleaner official module and the FO shopping carts issues were fixed, but I still have the above issues in BO. - Both stores use non-default themes. Can anyone give me a hint where should I look in order to fix these problems? Thank you. http://coloranti-naturali.ro http://www.cake-bake.eu
  4. Hi everybody. I installed modrefchange in order to turn order reference from alphabetical to numerical, but it doesn't work; it says "data updated", though. I use Prestashop I installed the module in another site I manage and worked perfectly.
  5. I created a payment module for credit card processing. I have a problem where my customer is receiving a email confirming their order before they have entered their credit card information. This has caused a bit of confusion for the customer. The current process is as follows: User chooses payment method User confirms that they want to use this payment method Module runs validateOrder because one of the variable required by the payment gateway is order id. Email gets sent to user saying that their order has been confirmed User gets redirected to payment gateways site If user inputs everything correctly on the site, the user will be redirected back to my site I change the status of the order based on whether the users transaction has been approved or not. My questions are : Is it possible to get the order id before I validate order? (I can see how this may not make sense with multiple transactions happening at the same time) if not, can I prevent the order from sending a order confirmed email until step 4? Your help is greatly appreciated.
  6. how to enable order id in numbers? we prefer to order id in number not alphabets is there any option ? Thanks
  7. Hello, Can someone please help me with how I can pass the order ID, order total, and zip code through my bizrate code? Thanks!
  8. To replace uppercase in the Order reference and replace with numbers (id_order as in older versions) I made this simple code override in /override/classes/order/Order.php: <?php class Order extends OrderCore { public function getUniqReference() { $query = new DbQuery(); $query->select('MIN(id_order) as min, MAX(id_order) as max'); $query->from('orders'); $query->where('id_cart = '.(int)$this->id_cart); $query->orderBy('id_order'); $order = Db::getInstance()->getRow($query); /*if ($order['min'] == $order['max']) return $this->reference; else return $this->reference.'#'.($this->id + 1 - $order['min']);*/ return sprintf('%06d', $this->id); } public static function getUniqReferenceOf($id_order) { $order = new Order($id_order); return $order->getUniqReference(); } } To return to the original letters designation, you must remove comment from 'if' and add comment to //return sprintf('%06d', $this->id); .
  9. we have recently migrated to prestashop and want to add a manual payment system for customers to pay cash at a paypoint out let, I have managed to set up the payment system but need to be able to add a reference to the payment, in our old system i was set up to automatically add the order ID to the payment. I am having a few problems because i can't figure out the command for the order ID or Reference. We need to add the order id in the url below where the red part is, https://www.credecard.com/uk/Barcode/BarcodeDistribute.aspx?seq=29568929&ref=order-detail&validitydays=365&validitymonths=0&enc=0 Can anyone help Thanks In Advance
  10. I am trying to insert the tracking code of an affiliate I am abuot to start working with. They have their own system and publishers, but I need to insert their tracking code in my site. I have two questions: Where should I insert the code? Is it at the end of the order_confirmation.tpl? How can I make variable oder values and id's? I include here the code for your review. <iframe src="https://www.xxxxxxx.com/scripts/check_sale.php?ordervalue=0&order_id=2&advertiser_id=926" scrolling="no" frameborder="0" width="1" height="1"></iframe> Any help would be extremelly appreciated guys!!! Thanks a lot in advance Rasmy
  11. Hi, when a user buys a product as a guest it is usefull after the confirmation dialog to show the order reference, not the order id which is only internal... You can see that if you go to buy as guest and then select one of: bank wire, COD, or cheque. The text displays the id no which is something like #00000013 and not the reference no which is like YUIWGEHJKJ/ I found that this info is in order-confirmation.tpl in line 42 but how can I show the reference number? I tried with: {$reference_order}, {$reference} but with no luck..
  12. Hello all I need to start the order id from a specific and custom number. For example I don't want my first order start from 1, but from, say, 255344... I don't seem to find anywhere to do this. I know that i can do this for Invoice (starting from a custom number) anyone got this to work? I appreciate any help... Ed
  13. Greetings. Don't know if this is the right place, but i have this problem i need solved. In the email the customer recieve upon paying ( order confirm email ), where they can see what they bought and for how much.. in there i need to change the order id so it will show the cart id... i figured how to do this in mailalerts ( the one i recieve when they buy ). And in the backoffice so those order id's are the cart id's aswell... but on the customers order confirm, i can't figure out how to do it.. please help.. Greets Martin
  14. Hi all, I have a client who is persistent about getting the invoice ID number and order ID number removed from customer correspondence, namely the PDF Invoice and Order Email - How would I go about this? Any info is greatly appreciated!
  15. Hi, I'm trying to add the order id on the email order confirmation subject that its sent to a customer. I want the subject to be like "Subject [order id]". I've tried adding '['.$order->id.']'. Edit: I added that to PaymentModule.php and seems to work. Now I need to add it to the order statuses like "Waiting for payment" or "Payment accepted" but I have no idea of where to put it because I don't see anything related to that in the files. Any ideas?
  • Create New...