Jump to content

Search the Community

Showing results for tags 'order'.

  • 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


  1. Bonjour, Lors de la saisie de commande dans le Back Office avant de valider on à la possibilité de rajouter un Message sur la commande mais je souhaiterais pouvoir rajouter une Information sur la commande et non un message, car je reprend cette information sur le Bon de Préparation. Quelqu'un serait comment modifier ça , ou via un module ? Merci,
  2. Hi, I'm building a very simple module for PS1.6, mostly for learning purposes. It has an admin interface like you can see in this picture: I've added the position field to the list table and it shows perfectly, but the drag and drop feature doesn't work. In my module admin controller, I have this code (just the fields list part): $this->fields_list = array( 'id_quicklinks' => array( 'title' => $this->l('ID'), 'align' => 'center', 'width' => 25 ), 'titulo' => array( 'title' => $this->l('Titulo'), 'width' => 'auto' ) , 'lead' => array( 'title' => $this->l('Subtitulo'), 'width' => 'auto' ), 'position' => array( 'title' => $this->l('Ordem'), 'filter_key' => 'a!position', 'position' => 'position', 'align' => 'center', 'class' => 'fixed-width-md' ), 'active' => array( 'title' => $this->l('Publicado'), 'width' => '25', 'active' => 'status' ) ); This makes the listing table show the position field in the table like you can see in the printscreen above, but I can't drag and drop to reorder... What is missing here? Some javascript? Some option? Appreciate any help.
  3. Hi everybody. I'm currently using the webservice API and I have a problem when creating an order: the API doesn't honor the current_state value. And I'm forced to change the state later. The problem is that in the history the first state is visible. Below are provided the full http messages/responses, but for the sake of the explanation I copy there some excerpts: I send <id_cart>375</id_cart> <id_currency>1</id_currency> <id_lang>1</id_lang> <id_customer>1</id_customer> <id_carrier>1</id_carrier> <current_state>5</current_state> I receive: <ID><ID><![CDATA[218]]><![CDATA[21 </ID> <ID_ADDRESS_DELIVERY xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></ID_ADDRESS_DELIVERY> <ID_ADDRESS_INVOICE xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></ID_ADDRESS_INVOICE> <ID_CART xlink:href="http://XXXXXXXXXXXX.fr/api/carts/375"><![CDATA[375]]></ID_CART> <ID_CURRENCY xlink:href="http://XXXXXXXXXXXX.fr/api/currencies/1"><![CDATA[1]]></ID_CURRENCY> <ID_LANG xlink:href="http://XXXXXXXXXXXX.fr/api/languages/1"><![CDATA[1]]></ID_LANG> <ID_CUSTOMER xlink:href="http://XXXXXXXXXXXX.fr/api/customers/1"><![CDATA[1]]></ID_CUSTOMER> <ID_CARRIER xlink:href="http://XXXXXXXXXXXX.fr/api/carriers/1"><![CDATA[1]]></ID_CARRIER> <CURRENT_STATE xlink:href="http://XXXXXXXXXXXX.fr/api/order_states/"></CURRENT_STATE> As you see the current_state 5 is not there. When I retrieve the full order I get: <ID><ID><![CDATA[218]]><![CDATA[218]]></ID></ID> <ID_ADDRESS_DELIVERY<ID_ADDRESS_DELIVERY xlink:hrefxlink:href="http://XXXXXX.fr/api/addresses/1"><![CDATA[1]]></ID_ADDRESS_DELIVERY> <ID_ADDRESS_INVOICE xlink:href="http://XXXXXX.fr/api/addresses/1"><![CDATA[1]]></ID_ADDRESS_INVOICE> <ID_CART xlink:href="http://XXXXXX.fr/api/carts/375"><![CDATA[375]]></ID_CART> <ID_CURRENCY xlink:href="http://XXXXXX.fr/api/currencies/1"><![CDATA[1]]></ID_CURRENCY> <ID_LANG xlink:href="http://XXXXXX.fr/api/languages/1"><![CDATA[1]]></ID_LANG> <ID_CUSTOMER xlink:href="http://XXXXXX.fr/api/customers/1"><![CDATA[1]]></ID_CUSTOMER> <ID_CARRIER xlink:href="http://XXXXXX.fr/api/carriers/1"><![CDATA[1]]></ID_CARRIER> <CURRENT_STATE xlink:href="http://XXXXXX.fr/api/order_states/11"><![CDATA[11]]></CURRENT_STATE> As you see, the current_state is at the value 11 The problems are that: the state 11 is a prestashop state, state that marks the order as payed, and generates an order receipt I need to use a state that doesn't mark the order as payed, and so on I don't want to mess with prestashop states I can change the state later but in the history the previous state is visible[1] Have someone an idea about how to force prestashop to accept at order's creation time a specific state, or to set a default arbitrary state (instead of 11) ? [1] to be more precise I would like to have the order in a state of quotation, then change the price of a product in the order, and finally to mark as payed the order ; when I do this the history keep the first price as, I suppose, the order was marked as payed P.S. : here the full Http messages Cart creation message sent: <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <cart> <id/> <id_address_delivery>1</id_address_delivery> <id_address_invoice>1</id_address_invoice> <id_currency>1</id_currency> <id_customer>1</id_customer> <id_guest/> <id_lang>1</id_lang> <id_shop_group>1</id_shop_group> <id_shop>1</id_shop> <id_carrier>1</id_carrier> <recyclable/> <gift/> <gift_message/> <mobile_theme/> <delivery_option/> <secure_key/> <allow_seperated_package/> <date_add/> <date_upd/> <associations> <cart_rows> <cart_row> <id_product>330</id_product> <id_product_attribute>0</id_product_attribute> <id_address_delivery>1</id_address_delivery> <quantity>1</quantity> </cart_row> </cart_rows> </associations> </cart> </prestashop> Cart creation message answer : <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <cart> <id><![CDATA[375]]></id> <id_address_delivery xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></id_address_delivery> <id_address_invoice xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></id_address_invoice> <id_currency xlink:href="http://XXXXXXXXXXXX.fr/api/currencies/1"><![CDATA[1]]></id_currency> <id_customer xlink:href="http://XXXXXXXXXXXX.fr/api/customers/1"><![CDATA[1]]></id_customer> <id_guest></id_guest> <id_lang xlink:href="http://XXXXXXXXXXXX.fr/api/languages/1"><![CDATA[1]]></id_lang> <id_shop_group><![CDATA[1]]></id_shop_group> <id_shop><![CDATA[1]]></id_shop> <id_carrier><![CDATA[1]]></id_carrier> <recyclable></recyclable> <gift></gift> <gift_message></gift_message> <mobile_theme></mobile_theme> <delivery_option></delivery_option> <secure_key></secure_key> <allow_seperated_package></allow_seperated_package> <date_add><![CDATA[2018-06-11 14:39:08]]></date_add> <date_upd><![CDATA[2018-06-11 14:39:08]]></date_upd> <associations> <cart_rows nodeType="cart_row" virtualEntity="true"> <cart_row> <id_product xlink:href="http://XXXXXXXXXXXX.fr/api/products/330"><![CDATA[330]]></id_product> <id_product_attribute xlink:href="http://XXXXXXXXXXXX.fr/api/combinations/0"><![CDATA[0]]></id_product_attribute> <id_address_delivery xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></id_address_delivery> <quantity><![CDATA[1]]></quantity> </cart_row> </cart_rows> </associations> </cart> </prestashop> Now to the order creation message: <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <order> <id/> <id_address_delivery>1</id_address_delivery> <id_address_invoice>1</id_address_invoice> <id_cart>375</id_cart> <id_currency>1</id_currency> <id_lang>1</id_lang> <id_customer>1</id_customer> <id_carrier>1</id_carrier> <current_state>5</current_state> <module>XXXXX_lodgepayment</module> <invoice_number/> <invoice_date/> <delivery_number/> <delivery_date/> <valid/> <date_add/> <date_upd/> <shipping_number/> <id_shop_group>1</id_shop_group> <id_shop>1</id_shop> <secure_key/> <payment>CB - Paiement à la loge</payment> <recyclable/> <gift/> <gift_message/> <mobile_theme/> <total_discounts/> <total_discounts_tax_incl/> <total_discounts_tax_excl/> <total_paid>3.5</total_paid> <total_paid_tax_incl/> <total_paid_tax_excl/> <total_paid_real>3.5</total_paid_real> <total_products>2.92</total_products> <total_products_wt>3.5</total_products_wt> <total_shipping/> <total_shipping_tax_incl/> <total_shipping_tax_excl/> <carrier_tax_rate/> <total_wrapping/> <total_wrapping_tax_incl/> <total_wrapping_tax_excl/> <round_mode/> <round_type/> <conversion_rate>1</conversion_rate> <reference/> <associations> <order_rows> <order_row> <id/> <product_id>330</product_id> <product_attribute_id>0</product_attribute_id> <product_quantity>1</product_quantity> <product_name/> <product_reference/> <product_ean13/> <product_isbn/> <product_upc/> <product_price/> <unit_price_tax_incl/> <unit_price_tax_excl/> </order_row> </order_rows> </associations> </order> </prestashop> and the server response: <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <order> <id><![CDATA[218]]></id> <id_address_delivery xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></id_address_delivery> <id_address_invoice xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></id_address_invoice> <id_cart xlink:href="http://XXXXXXXXXXXX.fr/api/carts/375"><![CDATA[375]]></id_cart> <id_currency xlink:href="http://XXXXXXXXXXXX.fr/api/currencies/1"><![CDATA[1]]></id_currency> <id_lang xlink:href="http://XXXXXXXXXXXX.fr/api/languages/1"><![CDATA[1]]></id_lang> <id_customer xlink:href="http://XXXXXXXXXXXX.fr/api/customers/1"><![CDATA[1]]></id_customer> <id_carrier xlink:href="http://XXXXXXXXXXXX.fr/api/carriers/1"><![CDATA[1]]></id_carrier> <current_state xlink:href="http://XXXXXXXXXXXX.fr/api/order_states/"></current_state> <module><![CDATA[triethic_lodgepayment]]></module> <invoice_number></invoice_number> <invoice_date></invoice_date> <delivery_number></delivery_number> <delivery_date></delivery_date> <valid></valid> <date_add></date_add> <date_upd></date_upd> <shipping_number notFilterable="true"></shipping_number> <id_shop_group><![CDATA[1]]></id_shop_group> <id_shop><![CDATA[1]]></id_shop> <secure_key></secure_key> <payment><![CDATA[CB - Paiement à la loge]]></payment> <recyclable></recyclable> <gift></gift> <gift_message></gift_message> <mobile_theme></mobile_theme> <total_discounts></total_discounts> <total_discounts_tax_incl></total_discounts_tax_incl> <total_discounts_tax_excl></total_discounts_tax_excl> <total_paid><![CDATA[3.5]]></total_paid> <total_paid_tax_incl></total_paid_tax_incl> <total_paid_tax_excl></total_paid_tax_excl> <total_paid_real><![CDATA[3.5]]></total_paid_real> <total_products><![CDATA[2.92]]></total_products> <total_products_wt><![CDATA[3.5]]></total_products_wt> <total_shipping></total_shipping> <total_shipping_tax_incl></total_shipping_tax_incl> <total_shipping_tax_excl></total_shipping_tax_excl> <carrier_tax_rate></carrier_tax_rate> <total_wrapping></total_wrapping> <total_wrapping_tax_incl></total_wrapping_tax_incl> <total_wrapping_tax_excl></total_wrapping_tax_excl> <round_mode></round_mode> <round_type></round_type> <conversion_rate><![CDATA[1]]></conversion_rate> <reference></reference> <associations> <order_rows nodeType="order_row" virtualEntity="true"> <order_row> <id><![CDATA[304]]></id> <product_id><![CDATA[330]]></product_id> <product_attribute_id><![CDATA[0]]></product_attribute_id> <product_quantity><![CDATA[1]]></product_quantity> <product_name><![CDATA[Repassage | Jogging]]></product_name> <product_reference><![CDATA[BSREP0289]]></product_reference> <product_ean13></product_ean13> <product_isbn></product_isbn> <product_upc></product_upc> <product_price><![CDATA[2.916667]]></product_price> <unit_price_tax_incl><![CDATA[3.500000]]></unit_price_tax_incl> <unit_price_tax_excl><![CDATA[2.916667]]></unit_price_tax_excl> </order_row> </order_rows> </associations> </order> </prestashop> And when you check the full order (through a call to http://XXXXXXXXXXXX.fr/api/orders/218) : <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <order> <id><![CDATA[218]]></id> <id_address_delivery xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></id_address_delivery> <id_address_invoice xlink:href="http://XXXXXXXXXXXX.fr/api/addresses/1"><![CDATA[1]]></id_address_invoice> <id_cart xlink:href="http://XXXXXXXXXXXX.fr/api/carts/375"><![CDATA[375]]></id_cart> <id_currency xlink:href="http://XXXXXXXXXXXX.fr/api/currencies/1"><![CDATA[1]]></id_currency> <id_lang xlink:href="http://XXXXXXXXXXXX.fr/api/languages/1"><![CDATA[1]]></id_lang> <id_customer xlink:href="http://XXXXXXXXXXXX.fr/api/customers/1"><![CDATA[1]]></id_customer> <id_carrier xlink:href="http://XXXXXXXXXXXX.fr/api/carriers/1"><![CDATA[1]]></id_carrier> <current_state xlink:href="http://XXXXXXXXXXXX.fr/api/order_states/11"><![CDATA[11]]></current_state> <module><![CDATA[triethic_lodgepayment]]></module> <invoice_number><![CDATA[203]]></invoice_number> <invoice_date><![CDATA[2018-06-11 14:40:37]]></invoice_date> <delivery_number><![CDATA[0]]></delivery_number> <delivery_date><![CDATA[0000-00-00 00:00:00]]></delivery_date> <valid><![CDATA[1]]></valid> <date_add><![CDATA[2018-06-11 14:40:36]]></date_add> <date_upd><![CDATA[2018-06-11 14:40:37]]></date_upd> <shipping_number notFilterable="true"></shipping_number> <id_shop_group><![CDATA[1]]></id_shop_group> <id_shop><![CDATA[1]]></id_shop> <secure_key><![CDATA[3ebfc2cd81af35637a9baffa10eaca19]]></secure_key> <payment><![CDATA[CB - Paiement à la loge]]></payment> <recyclable><![CDATA[0]]></recyclable> <gift><![CDATA[0]]></gift> <gift_message></gift_message> <mobile_theme><![CDATA[0]]></mobile_theme> <total_discounts><![CDATA[0.000000]]></total_discounts> <total_discounts_tax_incl><![CDATA[0.000000]]></total_discounts_tax_incl> <total_discounts_tax_excl><![CDATA[0.000000]]></total_discounts_tax_excl> <total_paid><![CDATA[3.500000]]></total_paid> <total_paid_tax_incl><![CDATA[3.500000]]></total_paid_tax_incl> <total_paid_tax_excl><![CDATA[2.920000]]></total_paid_tax_excl> <total_paid_real><![CDATA[3.500000]]></total_paid_real> <total_products><![CDATA[2.920000]]></total_products> <total_products_wt><![CDATA[3.500000]]></total_products_wt> <total_shipping><![CDATA[0.000000]]></total_shipping> <total_shipping_tax_incl><![CDATA[0.000000]]></total_shipping_tax_incl> <total_shipping_tax_excl><![CDATA[0.000000]]></total_shipping_tax_excl> <carrier_tax_rate><![CDATA[20.000]]></carrier_tax_rate> <total_wrapping><![CDATA[0.000000]]></total_wrapping> <total_wrapping_tax_incl><![CDATA[0.000000]]></total_wrapping_tax_incl> <total_wrapping_tax_excl><![CDATA[0.000000]]></total_wrapping_tax_excl> <round_mode><![CDATA[2]]></round_mode> <round_type><![CDATA[2]]></round_type> <conversion_rate><![CDATA[1.000000]]></conversion_rate> <reference><![CDATA[MBUHDONBV]]></reference> <associations> <order_rows nodeType="order_row" virtualEntity="true"> <order_row> <id><![CDATA[304]]></id> <product_id><![CDATA[330]]></product_id> <product_attribute_id><![CDATA[0]]></product_attribute_id> <product_quantity><![CDATA[1]]></product_quantity> <product_name><![CDATA[Repassage | Jogging]]></product_name> <product_reference><![CDATA[BSREP0289]]></product_reference> <product_ean13></product_ean13> <product_isbn></product_isbn> <product_upc></product_upc> <product_price><![CDATA[2.916667]]></product_price> <unit_price_tax_incl><![CDATA[3.500000]]></unit_price_tax_incl> <unit_price_tax_excl><![CDATA[2.916667]]></unit_price_tax_excl> </order_row> </order_rows> </associations> </order> </prestashop>
  4. I am developing a tool that communicates with API (Prestashop API) using Python. When I try to create an order with a product, everything seems to work fine, but the I want to put a personnal reference and I dont find any empty parameters. I have try to change id and reference but it dont want to change. Details: Order creation successful with the specified product Stock but need an empty parameters to put my reference I have try to change id and reference but it dont want to change. When I save the order, prestashop put their reference. # This is the order parameters: orderJ = { 'reference': 'test', 'id_currency': 1, 'id_carrier': 1, 'id_lang': 1, 'current_state': 'PS_OS_PAYMENT_ACCEPTED', 'module': 'ps_checkpayment', 'payment': 'ps_checkpayment', 'total_paid': order["base_subtotal"], 'total_paid_real': order["base_shipping_amount"], 'total_products': order["base_shipping_incl_tax"], 'total_products_wt': '13.120000', 'conversion_rate': order["total_incl_tax"], } response = ord.createOrder(userJ, addressJ, billadressJ, cartJ, itemJ, orderJ) I have try this too: # Mise a jour de la reference # ord = prestashop.get('orders', response['prestashop']['order']['id']) # ordid = ord['order']['id'] # ord['order']['reference'] = 'test' # edit = prestashop.edit('orders', ordid, ord) # print(edit) How can I put paramaters to find my reference in order? Thanks for your help
  5. Buenos días gente, estoy intentando enviar los archivos adjuntos de todos los productos que se hayan comprado, para ello lo que tengo que hacer es adjuntarlos en el $file_attachment del mensaje que se envía por correo al hacer un pedido y que lleguen al correo. El problema que tengo, es que no se como puedo recorrer los productos y a su vez recorrer los attachments que tengan estos productos para ir añadiéndolos al correo. No me sirve hacerlo mediante un producto virtual, es algo importante dejarlo claro antes. El archivo que estoy editando es el PaymentModule.php que se encuentra en la carpeta classes. A ver si alguien puede echarme una manita por favor, que no consigo solucionarlo Un saludo y gracias de antemano!
  6. Does any one know how to easily get the order details, i.e is there an object that loads the order details ready to be used in my script. looking for something like $order = new Order((int)$params['id_order']); It needs to hold product name, quantity, unit price, ex vat prices and incl prices. I can code this myself and get it out of the database but I'd thought I'd check if this is already included in the core programming.
  7. in some order same message show and this message not this customer how to solve this issue
  8. Abandoned Cart Serial Reminders The cart abandonment is one of the major challenges for the online businesses but by using the right retargeting tools online store owner can overcome this challenge. Abandoned Cart Module allows the store admin to send the reminder emails to the customers. Admin can also set up a series of the reminders to encourage the customer to complete their order. More info and purchase here: Abandoned Cart Serial Reminders FRONT DEMO BACKOFFICE DEMO Features of Abandoned Cart Serial Reminders Module: 1) Mark Abandoned Cart: The store admin can set the time duration after which the cart will be considered as abandoned. 2) Email reminders: The store admin can set up the email reminder for the abandoned carts. 3) Customized email templates: This Abandoned Cart Module offers a variety of email templates which can be customized by the admin as per the need. 4) Cron setup: In order to send the series of reminder emails admin can set up the cron for the reminder emails. Admin can send the simple reminder emails or emails with special discounts. 5) View Abandoned Carts: The store admin can view the abandoned carts from the module back office. 6) Converted Carts: Admin can view the converted carts. 7) Analytics: The store admin can check the analytics of the abandoned carts and converted carts for the module back-office. Module link: https://addons.prestashop.com/en/remarketing-shopping-cart-abandonment/18297-knowband-abandoned-cart-serial-reminders-smart.html
  9. When I place an order via my back office for one item I get this message No carrier can be applied to this order and I can not create the order However when I increase the units to two or order a second product so the total becomes 2 all of the usual carries are applied and the order can be placed. Can you please advise how to correct this See photos below 1x item = £5 2x item = £10 my free delivery kits in at £25 when i do it via the website like a customer would do it appears to still be ok so looks like the issue is with the back office Thank you Esther https://esthermarie.co.uk/shop/en/
  10. Hi All, Greetings of the day. The prestashop addon helps the administrator to add multiple rotating banner images of products, stores, category as per time interval configure from back-office with URL to redirect from back-office. The module works on multiple devices. The addon helps to advertise multiple rotating banners in the front end and banner management in the admin panel. The banners management extension allows the administrator to advertise multiple banner images in the front-end with URLs to redirect and date adding features from the admin panel. The banner images will be shown on the front end. This helps to showcase products in an interactive way, advertise offers on products, and easy navigation using click-on images. We can add multiple banner images from the admin panel. These images rotate on the time interval of settings as per the back-office configure option, for example, 8000 microseconds, and change the image on time interval. This module can be shown at the left or right block in any order from top to bottom. This module will help customers to understand your products, services, and information about your company and store. This will helps in digital marketing, Search engine optimization, and increase sales. This module allows showing banners of affiliates and URLs to click on images. This helps to generate affiliate sales and money from affiliate accounts as well. This module will help customers to understand your products, services, and information about your company and store. This will helps in digital marketing, Search engine optimization, and increase sales. This helps to promote products in an interactive way, advertise offers and promotions on products, and easy navigation using click-on images. Features: - Facility to add banners from back-office with URL and Dates. - Banners will be shown on the selected date range. For example 01-11-2020 to 30-11-2025 - The number of clicks counts on each banner image by visitors or guests or customers. - The banners can be shown randomly or in order in which they were added in the back-office as per requirements. - Search facility in back-office. - Product offers and promotions in the front office in an interactive way. - Facility to change the banners at a time interval. This will allow showcasing of multiple banners. - Easy navigation on image click. - Showcase products. - Show banners block selected categories and sub-categories. - It is branding, and marketing tool that can generate notable traffic to your store. - SEO friendly. - Compatible with PrestaShop 1.5.x,1.6.x,1.7.x and 8.x.x - Support all browsers: Firefox, Chrome, IE, Safari, etc. - Lightweight. (Smaller file size, which loads faster.) - Increase sales, conversion rates, and product promotions. - Maintain existing customers & Attract new customers. - Lower marketing expenses, exposure to potential customers, and reach targeted audiences. - Multiple browser compatibility (IE, Firefox, Opera, Safari, Chrome, and Edge). - Mobile, Tablet, and all devices compatible. - Multi-language and Multi Store compatible. - Module works without making any change in the existing file on PrestaShop store versions. - 24*7 Support - Good Documentation - Module can hook into the left column, right column, header, footer, or any other place in the store. - Customer selects a category from the top menu or category left menu or any location of a website and the blog shows images based on category. - Customer gets interactive information about the product based on selected categories. - This helps to showcase products based on category. - This will helps in digital marketing, Search engine optimization, and increase sales. - This module will help customers to understand your products, services, and information about your company and store. Installation : Step 1: Upload the module zip file from the back-office Module & Services menu tab. Module Manager area using the upload button. After the successful installation module menu, the link will appear in the left menu or top menu in the back-office more area. Step 2: Install the module using the install button. Step 3: Visit the module management page from the back-office "More" area (section) in the left menu in the back-office. Step 4: The module installation process is very easy, how module configuration works can be seen in the demo instance. Step 5: Please visit our demo instance for module configuration and usage demo. Step 6: Please watch our demo video on our YouTube Channel for module configuration and usage demo. - Module works without making any change in the existing PrestaShop file so that existing customization and theme change do not affect. - We provide free technical and feature support in installation, and configuration, as well as access to updates available for this product. - Free support on installation, configuration, and customization as per store requirements, for example, new hook addition to your store. For a demo on version 1.7.x visit the below links Front-office Demo URL => https://www.hrms-systems.com/presta-addons/en/ Back-office Demo URL => https://www.hrms-systems.com/presta-addons/admin619j6kpbb/index.php For a demo on version 1.6.x visit below links Front-office Demo URL => https://www.hrms-systems.com/presta-apps/en/ Back-office Demo URL => https://www.hrms-systems.com/presta-apps/admin539fyipwq/index.php OUR PRESTASHOP ADDONS MARKETPLACE URL PrestaShop Marketplace URL => https://addons.prestashop.com/en/2_community-developer?contributor=301729 Alternate module download URL => https://www.presta-addons-modules.com
  11. Hi All, Greetings of the day. The module allows new visitors to register and existing customers to log in using different social media networks like Facebook, Google, GitHub.This helps to save time and make it easy for people to securely login on to the website. Social login helps in a higher conversion rate for registrations of customers. It is a mission-critical tool that websites must provide if they’re asking for user registrations. With this login tool, users can sign up for a site using their social network credentials. They can take their pick from networks such as Facebook, Twitter, Google+, many more and use their account information from that specific network to sign into a PrestaShop online store. Social credentials will only be shared if the purpose of your website is clearly visible and understood. Displaying clarity of purpose is one of the ways to improve website credibility, and thus get people to use Social Login on your site. Social Login is an integral part of your website’s social media matrix because it makes the lives of your user’s easier, and by association also helps create an environment for better user engagement. - Simple. Easy. Fast = More sign-ups. - Permission-based contact details like email ID can be pulled in from social networks. - Most people only have one social profile on each network, making the retrievable data more authentic. Fake emails will no longer penetrate your sign-ups! - Social logins provide familiarity - Gain tremendous visitor data - Easier conversions, especially on mobile - Validated Email registration to overcome wrong email problems. Features - Possible lower cart abandonment - Helps in the time-consuming registration process, make creating accounts easy and fast. - User Engagement Friendly. - Helps in the enhancement of the user’s experience in the online stores. - Fully responsive 100%. - SEO friendly. - Support all browsers: Firefox, Chrome, IE, Safari, etc. - Lightweight. (Smaller file size which loads faster.) - Increase sales, conversion rates, and product promotions. - Maintain existing customers & Attract new customers. - Lower marketing expenses, exposure to potential customers, reach targeted audiences. - Compatible with PrestaShop 1.5.x, 1.6.x and 1.7.x. - Multiple browsers compatibility (IE, Firefox, Opera, Safari, Chrome, and Edge). - Mobile, Tablet and all devices compatible. - Multi-language and Multi Store compatible. - Module works without doing any change in existing files on PrestaShop store versions. - 24*7 Support - Good Documentation. Benefits for customer : - It helps to easily login with a social account and avoid remembering usernames and passwords for the account. - It helps to save the customer's time. - Helps to log in on multiple devices and different browsers in multiple operating systems used by customers. - Greater personalized experience - Possible fewer failed logins Installation : Step 1: Upload module zip file from back-office Module & Services menu tab. Module Manager area using upload button. After successful installation module menu link will appear in left menu or top menu in back-office more area. Step 2: Install the module using install button. Step 3: Visit module management page from back-office "More" area (section) in left menu in back-office. Step 4: The module installation process is very easy, how module configuration works can be seen in demo instance. Step 5: Please visit our demo instance for module configuration and usage demo. - Module works without making any change in the existing PrestaShop file so that existing customization and theme change do not affect. - We provide free technical and feature support in installation,configuration, as well as access to updates available for this product. - Free support on installation,configuration and customization as per store requirements for example new hook addition on your store. What's New in Version 14.5.0(05/17/2022) The enhancements in the module for multiple social networks and an email notification with login credentials of the new user.The email notification to administrator and new user.Nice social media buttons.Feature to hook module on login,left,right column,checkout,cart and many other pages of the website.Single,multi-shop,multi-Shop groups support,multiple language support,multiple device compatibility (iPhone phones,android phones,tablet,PC),browsers and latest versions of PrestaShop Les améliorations apportées au module pour plusieurs réseaux sociaux et une notification par e-mail avec les identifiants de connexion du nouvel utilisateur. La notification par e-mail à l'administrateur et au nouvel utilisateur. De jolis boutons de médias sociaux. et de nombreuses autres pages du site Web. Prise en charge de groupes uniques, multi-boutiques, multi-boutiques, prise en charge de plusieurs langues, compatibilité de plusieurs appareils (téléphones iPhone, téléphones Android, tablet I miglioramenti nel modulo per più social network e una notifica e-mail con le credenziali di accesso del nuovo utente. La notifica e-mail all'amministratore e al nuovo utente. Bei pulsanti dei social media. Funzionalità per agganciare il modulo all'accesso, colonna sinistra, destra, cassa, carrello e molte altre pagine del sito web. Supporto per gruppi singoli, multi-negozio, multi-negozio, supporto per più lingue, compatibilità con più dispositivi (telefoni iPhone, telefoni Android, tablet, PC De verbeteringen in de module voor meerdere sociale netwerken en een e-mailmelding met inloggegevens van de nieuwe gebruiker. De e-mailmelding aan beheerder en nieuwe gebruiker. Leuke sociale media-knoppen. Functie om module te haken bij inloggen, linkerkolom, rechterkolom, afrekenen, winkelwagen en vele andere pagina's van de website. Ondersteuning voor één, meerdere winkels, meerdere winkels, ondersteuning voor meerdere talen, compatibiliteit met meerdere apparaten (iPhone-telefoons, Android-t Forbedringerne i modulet til flere sociale netværk og en e-mail-meddelelse med login-oplysninger for den nye bruger. E-mail-meddelelsen til administrator og ny bruger. Dejlige knapper på sociale medier. Funktion til at tilslutte modul på login, venstre, højre kolonne, kassen, indkøbskurv og mange andre sider på webstedet.Single, multi-shop, multi-Shop grupper support, multiple sprog support, multiple device kompatibilitet (iPhone-telefoner, Android-telefoner, tablet, pc), browsere og seneste ver Ulepszenia w module dla wielu sieci społecznościowych i powiadomienia e-mail z danymi logowania nowego użytkownika.Powiadomienie e-mail dla administratora i nowego użytkownika.Ładne przyciski mediów społecznościowych.Funkcja zaczepienia modułu na logowanie,lewa,prawa kolumna,kasa,koszyk i wiele innych stron witryny.Pojedynczy,wiele sklepów,wiele sklepów,obsługa grup,wiele języków,kompatybilność z wieloma urządzeniami (telefony iPhone,telefony z systemem Android,tablet,komputer),przeglądarki i na Os aprimoramentos no módulo para várias redes sociais e uma notificação por e-mail com credenciais de login do novo usuário. A notificação por e-mail para o administrador e o novo usuário. Bons botões de mídia social. Recurso para conectar o módulo no login, coluna esquerda, direita, checkout, carrinho e muitas outras páginas do site.Single, multi-loja, suporte a grupos de várias lojas, suporte a vários idiomas, compatibilidade com vários dispositivos (telefones iPhone, telefones Android, tablet Las mejoras en el módulo para múltiples redes sociales y una notificación por correo electrónico con las credenciales de inicio de sesión del nuevo usuario. La notificación por correo electrónico para el administrador y el nuevo usuario. Bonitos botones de redes sociales. y muchas otras páginas del sitio web. Compatibilidad con una sola tienda, varias tiendas, grupos de varias tiendas, compatibilidad con varios idiomas, compatibilidad con varios dispositivos (teléfonos iPhone, teléfonos Android, Förbättringarna i modulen för flera sociala nätverk och ett e-postmeddelande med inloggningsuppgifter för den nya användaren. E-postmeddelandet till administratören och ny användare. Trevliga knappar för sociala medier. Funktion för att koppla modulen på inloggning, vänster, höger kolumn, kassan, varukorg och många andra sidor på webbplatsen. Stöd för enstaka, flera butiker, grupper för flera butiker, stöd för flera språk, kompatibilitet med flera enheter (iPhone-telefoner, Android-telefoner, su Улучшения в модуле для нескольких социальных сетей и уведомление по электронной почте с учетными данными для входа нового пользователя. Уведомление по электронной почте для администратора и нового пользователя. Удобные кнопки социальных сетей. и многие другие страницы веб-сайта. Поддержка групп одного, нескольких магазинов, нескольких магазинов, поддержка нескольких языков, совместимость с несколькими устройствами (телефоны iPhone, телефоны Android, планшеты, ПК), браузеры и последние версии Pre Social Networks Apps to get Client ID and Secret Key for Social Login Google Apps URL => https://console.developers.google.com/apis/credentials Facebook Apps URL => https://developers.facebook.com/apps GitHub Apps URL => https://github.com/settings/applications/new For list of modules on PrestaShop Addons Marketplace. https://addons.prestashop.com/en/2_community-developer?contributor=301729 BUY USEFUL PRESTASHOP ADDONS FOR ONLINE STORES https://www.presta-addons-modules.com/en/ For demo on version 1.7.x visit below links Front-office Demo URL => https://www.hrms-systems.com/presta-addons/en/login?back=my-account Back-office Demo URL => https://www.hrms-systems.com/presta-addons/admin619j6kpbb/ For demo on version 1.6.x visit below links Front-office Demo URL => https://www.hrms-systems.com/presta-apps/en/my-account Back-office Demo URL => https://www.hrms-systems.com/presta-apps/admin539fyipwq/index.php PrestaShop how to add social login buttons in the right column in login, cart. URL => https://www.youtube.com/watch?v=s1m-TmFMbIY&t=429s Social Login Module Block Labels and Position Management URL => https://www.youtube.com/watch?v=1ceW9q0vS7M&t=54s Prestashop configure social login module with Google apps URL => YouTube Demo Video. Prestashop configure social login module with Google apps PrestaShop configure social login module with Facebook Apps 50245181_configurationscreenshots.zip
  12. Mam problem jak na obrazku poniżej, czyli nie wiem w jaki sposób zmusić Prestę (1.7.8.8) do wyświetlania cen brutto zamiast netto. Problem występuje tylko przy tworzeniu zamówienia bezpośrednio z panelu admina. Wszelkie ustawienia dot. podatku są ustawione poprawnie. We wszelkich innych miejscach (np. przeglądając już później szczegóły zamówienia) ceny jednostkowe za produkty widnieją w kwotach brutto. Byłbym bardzo wdzięczny za wskazanie co powinienem wyedytować, bo niestety haków tam nie ma, jak i plików które były wcześniej za to odpowiedzialne (przed migracją presty na symfonię). Jeśli ktoś chce powtórzyć istniejący problem u siebie - to dokładnie ta instancja z tym samym problemem stoi na oficjalnej demówce: https://demo.prestashop.com/#/en/back
  13. In prestashop 1.7.2 we wanted to display final price with taxes in the product order details. We want to share this solution with you. Open for editing /document-root/adminfolder/themes/default/template/controllers/orders/ _product_line.tpl Add the following lines at the beginning of the file before {* Assign product price *} {* Assign retail product price wit taxes *} {assign var=product_price_retail value=$product['price'] * (($product['tax_rate']/100) +1)} Then change the variable in about line 60. <span class="product_price_show">{displayPrice price=$product_price_retail currency=$currency->id}</span>
  14. Hi, I present to you a recent development to manage customers and addresses with a VAT number valid for intra-community operations and to be exempt from paying VAT. The module is Advanced VAT Manager in sale in Prestashop addons. The Advanced VAT Manager module is the most advanced module with the most features developed for Prestashop, manages customers' VAT numbers in an advanced way so that they are exempt from paying taxes if they have a valid VAT number for intra-community operations, through the official VIES or GOV.UK systems for UK numbers. It also has many configuration options and a scanning system to check the VAT numbers of customers that are already registered in the database and to check that they still have a valid VAT number. Tax-free purchase invoices will be generated for all customers with valid VAT numbers within the European Union. In addition, this module is updated with the latest regulations on intra-community operations and Brexit. You have an option to activate the Brexit system so that customers with addresses in the United Kingdom pay the tax in the store for purchases equal to or less than 135 Pounds. For purchases of a higher amount, they will be exempt from taxes. It is also provided with an option to PROHIBIT the placing of orders whose amount is greater or less than 135 Pounds. The module has an option to check the company name inserted by the client, with the company name registered in the official system in relation to the issued VAT number. In case the company name is not correct, it does not allow the registration of that address. On the other hand, there is an option for the system itself to complete the company field with the real name registered in the official VIES or GOV.UK system. If you want to try the module before purchasing it, you can enter the demo store that we have available for this module and all the modules that we sell in Prestashop Addons. MAIN FEATURES The validation process is carried out in the address forms of the front-office and in the Back-office. Selection of the countries in which you want the VAT numbers to be validated. Brexit compliant £135 threshold. Option to not allow purchases above or below 135 GBP. Format validation system and through the official platform VIES or GOV.UK. Option to insert the VAT number of the merchant to perform the 2-way validation. Customization of legal texts and invoice notes (Multi-language). Smart and strict validation mode. Company name validation option. Option to auto-insert the registered name of the company in the "company" field of the address form. Option to allow duplicate VAT numbers from different customers. Option to save the VAT number in capital letters. Client default group assignment. Assignment of customer groups by country. Option to assign a client group and eliminate the rest of the groups. Tax exemption by group of clients. Configuration of order status with valid VAT number or pending validation. Sending emails to customers to validate their VAT numbers when they are invalid, the field is empty or it is duplicated. Notify the customer during the purchase process or in the address section if they have an invalid VAT number or do not have it configured. Option to configure the VAT number field as optional or mandatory. Option to show or hide the field if the customer fills in the company field. Sending an email to the store administrator to notify if a customer registers an address with a valid VAT number or the VIES system fails in the validation process. Customization of the VAT number field (Label and legend). Multi language. Personalization of notes and legal text in invoices exempt from VAT or regulated by Brexit. It shows the price without taxes in the product file, product list, shopping cart and cart summary. Shows a custom block in the product file (below the price) when a customer is exempt from VAT. Shows the tax-exempt label next to the price. Option to manually validate VAT numbers from the Back-office. Option to skip the VIES validation process in case it fails. Advanced database scanning system with many options from a VAT management panel installed in the Back-office. Administration of tax exemption for certain clients. CRON task to scan customers' VAT numbers on a daily basis and keep their validation updated. Selection of type of address for the exemption (Delivery address and/or billing address). Export of invoices by date range in PDF for orders exempt from VAT or related to Brexit. INTEGRATION 100% WITH MODULE ONE PAGE CHECKOUT BY PRESTEAMSHOP DEMO: https://demo.liewebs.com MORE INFORMATION ABOUT HIS MODULE IN PRESTASHOP ADDONS BY CLICKING HERE
  15. The PrestaShop Addons help to get statistics about different sales reports and data visualization like Sales By Currency, Sales By Category, Sales By Products, Monthly Sales Report, Yearly Sales Report, Sales By Country, Sales By Manufacturer, Sales By Suppliers, Sales Amount By Day, Sales Amount By Month A sales report, also known as a sales analysis report, is a document that summarizes a business's sales activities. This report typically includes information on sales volume, leads, new accounts, revenue, and costs for a given period The importance of sales reports cannot be overestimated. They help managers to monitor the performance of their sales team, plan effective sales strategies, decide on a sales forecasting process and most importantly, maintain or reduce the length of the sales cycle. Sales analysis allows you to understand your customers better, the products they like, and why, helping you identify your most profitable clients. Upon identifying these customers, you can find ways to keep them engaged with your business, increasing overall profitability Sales documents are information sources that guide your sales process. They aid your sales pipeline and help you engage with potential customers at different stages of the sales process in order to win more deals Sales data is any information that your sales team can utilize to improve their decision-making. Sales data can provide actionable insights into a sales team's performance, help them build better strategies, and improve organizational decision-making Reports will provide important detail that can be used to help develop future forecasts, and marketing plans, guide budget planning, and improve decision-making. Managers also use business reports to track progress and growth, identify trends or any irregularities that may need further investigation A sales strategy is an opportunity to work out who you are going to sell to and how you are going to do it and is crucial to revenue generation in any business. The major benefits of implementing a sales strategy are improved team performance, more effective targeting, and a higher ratio of closed-won deals A daily sales report tracks the sales activities of a business day. It gives businesses actionable insights on a team's daily activities- opportunities generated, deals closed, and other KPIs. With the help of this report, managers can track what their sales reps have done on a working day Charts, graphs, and visual representations can be processed faster, support visual learners, and show insights and actionable items that lead to increased sales productivity. Graphics in written and oral reports are invaluable aids to your audience because they condense text, clarify relationships, and highlight patterns. Good graphics display the significance of your data (which may be more exactly displayed in a table ) and allow the reader to follow your discussion Graphs help students organize and analyze information in well-structured formats, making it easier to interpret data. Visual learners respond especially well to graphs and often understand the information better without pages of text Summarize a large dataset in visual form; easily compare two or three data sets; better clarify trends than do tables; estimate key values at a glance. Disadvantages: require additional written or verbal explanation; can be easily manipulated to give false impressions Graphical charts help in Big Data Visualization. The first is that data visualization has become a faster, more effective communication and motivation tool. This has happened due to the second point of data visualization: people are, by and large, visual learners.; And third? Data visualization tools are, simply put, awesome sales tools.; Advances in technology have caused us to change our preconceived notions surrounding data presentation. What we once saw as dull and mundane, can now be seen as beautiful. Data visualization tools make it quick and easy to create charts and graphs which can be added to a customizable dashboard.; Besides looking beautiful, data visualization tools give us the ability to process information faster and to use that information to boost productivity and results. Because of the graphic representations, it’s easy to see where action can be taken to improve The top five advantages of data visualization Easy to understand Storytelling is more engaging Speed up the decision-making process List of reports statistics using column and pie charts Sales By Currency Sales By Category Sales By Products Monthly Sales Report Yearly Sales Report Sales By Country Sales By Manufacturer Sales By Suppliers Sales Amount By Day Sales Amount By Month Features - The entire module can be managed through the back -office. - SEO friendly. - Flexibility and ease of use. - Supports multiple browsers, operating systems, and platforms. - Support all browsers: Firefox, Chrome, IE, Safari, etc. - Lightweight. (Smaller file size which loads faster.) - Increase sales, conversion rates, and product promotions. - Maintain existing customers & Attract new customers. - Lower marketing expenses, exposure to potential customers, and reach targeted audiences. – Support multiple browsers and operating systems. – Helps to find targeted audience visits and conversions in sales. – Help in analysis, statistics, SEO, and marketing campaigns. – Alternate option instead of using analytics script from Google Analytics and Statcounter. – SEO friendly. – Support all browsers: Firefox, Chrome, IE, Safari, etc. – Lightweight. (Smaller file size which loads faster.) – Compatible with PrestaShop 1.5.x,1.6.x,1.7.x and 8.0. – Multiple browser compatibility(IE, Firefox, Opera, Safari, Chrome, and Edge). – Mobile, Tablet, and all devices compatible. – Multi-language and Multi Store compatible. – 24*7 Support – Good Documentation Benefits to Customers - Customer trust online store and feel comfortable. - Helps in support and communication in the customer's native language. - Customer queries and clarifications get fast solutions. - Helps to increase customer understanding and knowledge about the store. Benefits to Merchants - Reduce expenses - Increase sales - Improve customer service and loyalty - Discover customer pain points - Faster problem resolution - Customer convenience - Competitive advantages - Expand market reach - Proactive outreach - Reports and analytics - Real-Time Convenience to Customers - Cost Efficient - Stand out Amongst Competitors - Develop Deeper Customer Relationships - Increase in Conversions and Average Order Values Installation : Step 1: Upload the module zip file from the back-office Module & Services menu tab. Module Manager area using the upload button. After the successful installation module menu, the link will appear in the left menu or top menu in the back-office more area. Step 2: Install the module using the install button. Step 3: Visit the module management page from the back-office “More” area (section) in the left menu in the back office. Step 4: The module installation process is very easy, how module configuration works can be seen in the demo instance. Step 5: Please visit our demo instance for module configuration and usage demo. Step 6: Please watch our YouTube channel for demo videos on the module, and how to use and configure it on the website. – Module works without making any change in the existing PrestaShop file so that existing customization and theme change do not affect. – We provide free technical and feature support in installation, configuration, and access to updates available for this product. – Free support on installation, configuration, and customization as per store requirements, for example, new hook addition to your store. Other : Please leave your valuable feedback after using the module. This will help to increase self-confidence, improve service, and enhance the module as per requirements to make it better for different online stores. For a demo on version 1.7.x visit the below links Front-office Demo URL => https://www.hrms-systems.com/presta-addons/en/ Back-office Demo URL => https://www.hrms-systems.com/presta-addons/admin619j6kpbb/index.php For a demo on version 1.6.x visit the below links Front-office Demo URL => https://www.hrms-systems.com/presta-apps/en/ Back-office Demo URL => https://www.hrms-systems.com/presta-apps/admin539fyipwq/index.php OUR PRESTASHOP ADDONS MARKETPLACE URL PrestaShop Marketplace URL => https://addons.prestashop.com/en/2_community-developer?contributor=301729 Alternate module download URL => https://www.presta-addons-modules.com/en/seo/prestashop-sales-reports-statistics-charts-analysis.html
  16. How do I limit a cart rule to the number of customer's orders? In other words, how do I create a voucher code for customers who have no orders yet? I am thinking like this: 1. create a module which adds a check mark to cart rule form with the title of "usable for first orders only" 2. find a hook in the code where the addition of cart rule to the cart happens 3. check the number of orders and validate if this cart rule can be applied or not Do you have any ideas?
  17. Hi! Does anyone know how to sort the order summary products by category on the admin notification e-mail? Is it somewhere an "order by" which can be modified, or is there a good module for? Thanks already! Kind regards, Cedric
  18. I preferred to post my bug on the English forum to have a little more visibility. I did some research to find if anyone had reported this bug but couldn't find anything about it. Procedure: Product with a personalization text field, 2 combinations (color and size for example). I put the captured video directly to you, it will be easier than writing (the first) I end up with a double field. I am locally in version 1.7.8.7, clean installation. ---------------- Originally, it was not this bug that I wanted to report but another one. The procedure is similar but with 3 attributes. With the difference that instead of having the products with the duplicate personalization in the cart, I only had one personalization and if I continued the order, at the backend level, I only had one customization instead of 2. I also put the video --------------------------------------------------------------------------------------------------------------------------- French version : J’ai préfère poster mon bug sur le forum anglais pour avoir un peu plus de visibilité. J’ai fait des recherches pour trouver si quelqu’un avait signalé ce bug mais je n’ai rien trouvé à ce sujet. Procédure : Produit avec une champs texte de personnalisation, 2 déclinaison (couleur et taille par exemple). Je vous met directement la vidéo capturé, ce sera plus simple que d’écrire. Je me retrouve avec un champs double. Je suis en local en version 1.7.8.7, installation toute propre. --- A l’origine, ce n’est pas ce bug que je voulais déclarer mais un autre. La procédure est similaire mais avec 3 attributs. A la différence qu’au lieu d’avoir les produits avec la personnalisation en double dans le panier, je n’avais qu’une seule personnalisation et si je continuais la commande, au niveau du backend, je n’avais qu’une seule personnalisation au lieu de 2. Je vous met également la vidéo v-1-7-8-7-double.mp4 erase-custom.mp4
  19. Bom dia, estou a ter um problema no checkout. Quando coloco os dados todos certinhos. Quando chega ao passo da PSA Order Validation, ele mostra esse erro Fui no código procurar o porquê de isto acontecer. Supostamente ele não está a validar o IF e, portanto, retorna essa mensagem. Como pode ver no print a seguir. Não sei se é o request que ele faz anteriormente que está errado. Se alguem me puder ajudar, agradecia imenso.
  20. Hello all, It may be a silly question of mine, but I'm a bit stuck. When I get an order from a customer, I can modify this order in Prestashop's Back Office. Suppose a customer wants to add something extra to his order, then I can add a product. After adding the product, the customer gets an email saying that his order has been changed. So far so good. But in the back office at payments there is a red message, that the customer has already paid amount €xxx, but there is still an amount open. How can I send the customer an "additional" payment request in Prestashop? to still get the full payment. I can't seem to find how to do this, or maybe I'm overlooking it, or it's a certain tactic? ps: we are currently using a Shopify store and will be switching to Prestashop. In Shopify I automatically get the notification that there is an outstanding amount and there I can send the "extra" payment order directly to the customer. Thanks in advance for the Feedback. Greetings Fons
  21. Hi again community. I managed to make my own custom field for the checkout form, specially to the section Delivery Address. I did this: 1 - I added my custom field to the DB into the Address table. 2 - I modified the CustomerFormatterAddress file to display my custom field: $format['custom_final_customer'] = (new FormField) ->setName('custom_final_customer') ->setType('checkbox') ->setLabel( $this->translator->trans( 'I want my invoice as End Consumer', [], 'Shop.Forms.Labels' ) ); 3 - I modified the Address model file: //Custom Fields public $custom_final_customer = 0; 'other' => array('type' => self::TYPE_STRING, 'validate' => 'isMessage', 'size' => 300), 'phone' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32), 'phone_mobile' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32), 'dni' => array('type' => self::TYPE_STRING, 'validate' => 'isDniLite', 'size' => 16), 'deleted' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'copy_post' => false), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDate', 'copy_post' => false), 'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDate', 'copy_post' => false), //Custom fields 'custom_final_customer' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool') My field is displaying correctly in the front office: But two things: 1 - I don't know when even start to make that field into de position/order I want in that form. 2 - I assumed that maybe in BO / Countries / My country / Address Format, I could order my custom field like does the default fields, but nope. While my custom field is properly listed in the Address section inside the Address Format fields to add, my front office looks even worst: The final result: Thanks in advance.
  22. 0 I'm trying to get the date of selected order from a dropmenu and to display an iput, using smarty into jQuery. But I'm getting all dates {literal} <script type="text/javascript"> var my_date_aray = [];{/literal} {foreach from=$orders item=order} my_date_aray["{$order.details.reference}"] = "{$order.details.order_date}"; {/foreach} {literal} $(document).ready(function(){ $('#queryRef').on('change',function(){ //var optionValue = $(this).val(); //var optionText = $('#dropdownList option[value="'+optionValue+'"]').text(); //var optionText = $("#queryRef option:selected").text(); var input = document.getElementById("reference"); $('#reference').val(my_date_aray); var queryRef = $("#queryRef option:selected").val(); if (queryRef == 0) { $("#createTicket").attr("disabled", true); } }); }); </script> {/literal}
  23. Hello, I made a module where the customer is able to customize a product. On the front page of the module, the product is displayed as an SVG element, the customer can customize this SVG element with Javascript, the SVG element code is change in real time at every actions from the customers. When the customer add the product to shopping cart, this function is called in the module's front controller : // Add the product in shopping cart public function addToShoppingCart(){ if ($this->context->cookie->id_cart){ $cart = $this->context->cart; } if ($cart->id == null){ $cart = new Cart(); $cart->id_customer = (int)($this->context->cookie->id_customer); $cart->id_address_delivery = (int) (Address::getFirstCustomerAddressId($cart->id_customer)); $cart->id_address_invoice = $cart->id_address_delivery; $cart->id_lang = (int)($this->context->cookie->id_lang); $cart->id_currency = (int)($this->context->cookie->id_currency); $cart->id_carrier = 1; $cart->recyclable = 0; $cart->gift = 0; $cart->add(); $this->context->cookie->id_cart = (int)($cart->id); } $cart->gift_message = Tools::getValue('svgTemplateResult'); $cart->update(); // Update the shopping cart $cart->updateQty(1, $this->getProductId(), $id_product_attribute = null, $id_customization = false, $operator = 'up', $id_address_delivery = 0, $shop = null, $auto_add_cart_rule = true); } As you can see, I get the cart if it's already created or create it if not. I add Tools::getValue('svgTemplateResult') which is the SVG element code as a string, to a place in the Cart object and try to get it back in my main php file of the module with the actionValidateOrder hook like this : public function hookActionValidateOrder($params) { echo "<pre>"; print_r($params['cart']); echo "<pre>"; die(); } But the value is not in gift_message anymore and by having a look in the database, I found when it's deleted. In the checkout page, just when i chose a Carrier, BOUM, the value is deleted from the Cart object and cannot be find once the actionValidateOrder is triggered. Please, how can I do pass this value from the Cart object to the Order object. Is there an actionHook when the Carrier is chosen ? I found some but haven't tried yet. I will now. Also, I made an override to add a field to OrderDetail object, the field just wait to be filled with this value and finally get the SVG element displayed in the order details summary in Back Office.
  24. I had the problem for a client and decided to investigate. I found old post, so create this new one to help whoever may need it now. The problem is that when using the minimum purchase that Prestashop has in "Store parameters -> Order configuration" this is compared with the total of products with taxes excluded and I needed to include taxes in the minimum purchase. Although it is not the best practice, I have found the solution by modifying the /src/Adapter/Presenter/Cart/CartPresenter.php file to add a new variable with the total of products including taxes and thus replace the one that does not have taxes in the validation below. Added after line 327 in Prestashop 1.7.7.1 $productsTotalIncludingTax = $cart->getOrderTotal(true, Cart::ONLY_PRODUCTS);//Added by Nimeos.co Once we have the variable, we replace it in the validation and assignment of the "minimalPurchaseRequired" index at the end of the present() function of the same file. return [ 'products' => $products, 'totals' => $totals, 'subtotals' => $subtotals, 'products_count' => $products_count, 'summary_string' => $summary_string, 'labels' => $labels, 'id_address_delivery' => $cart->id_address_delivery, 'id_address_invoice' => $cart->id_address_invoice, 'is_virtual' => $cart->isVirtualCart(), 'vouchers' => $vouchers, 'discounts' => $discounts, 'minimalPurchase' => $minimalPurchase, 'minimalPurchaseRequired' => ($productsTotalIncludingTax < $minimalPurchase) ?//Mod by Nimeos.co $this->translator->trans( 'A minimum shopping cart total of %amount% (tax excl.) is required to validate your order. Current cart total is %total% (tax excl.).', [ '%amount%' => $this->priceFormatter->format($minimalPurchase), '%total%' => $this->priceFormatter->format($productsTotalIncludingTax),//Mod by Nimeos.co ], 'Shop.Theme.Checkout' ) : '' ]; In this way, the minimum purchase including taxes will be taken. Greetings Christian Ramírez CEO at Nimeos.co
  25. Hello, I was coding my custom listing products in a front controller, i got stack in the sort function this code is from my controller : public function postProcess() { $this->setAuctionOrder(); $this->setAuctionsData(); if (Tools::isSubmit('from-xhr')) { $this->setOrdering(); } parent::postProcess(); } private function setAuctionOrder() { if ($order = Tools::getValue('order')) { $order = explode('.', $order); $this->orderBy = isset($order[1]) ? $order[1] : 'position'; $this->orderWay = isset($order[2]) ? $order[2] : 'asc'; } else { $this->orderBy = 'position'; $this->orderWay = 'asc'; } } private function setOrdering() { ob_end_clean(); header('Content-Type: application/json'); die(json_encode($this->getAjaxProductSearchVariables())); } private function getAjaxProductSearchVariables(){ $this->setAuctionOrder(); $sort_orders = $this->getAvailableSortOrders(); $this->setAuctionsData(); $page_link = $this->context->link->getModuleLink('auctionpremium', 'allauctions'); $order_by = Tools::strtolower($this->orderBy); $order_way = Tools::strtolower($this->orderWay); $url = Tools::url($page_link, 'order=product.'.$order_by.'.'.$order_way); if ($this->p > 1) { $url = Tools::url($url, 'page='.$this->p); } $searchVariables = [ 'label' => $this->l('Auctions'), 'sort_orders' => array('sort_orders' => $sort_orders), 'pagination' => $this->getPagination(), 'js_enabled' => true, 'current_url' => $url, 'rendered_products' => $this->context->smarty->fetch( $this->module->getLocalPath() . 'views/templates/front/AuctionsList.tpl' ) ]; return $searchVariables; } private function getAvailableSortOrders(){ $page_link = $this->context->link->getModuleLink('auctionpremium', 'runningauctions'); $order_by = Tools::strtolower($this->orderBy); $order_way = Tools::strtolower($this->orderWay); return [ [ 'url' => Tools::url($page_link, 'order=product.position.asc'), 'current' => $order_by == 'position' && $order_way == 'asc', 'label' => $this->l('Relevance') ], [ 'url' => Tools::url($page_link, 'order=product.name.asc'), 'current' => $order_by == 'name' && $order_way == 'asc', 'label' => $this->l('Name, A to Z') ], [ 'url' => Tools::url($page_link, 'order=product.name.desc'), 'current' => $order_by == 'name' && $order_way == 'desc', 'label' => $this->l('Name, Z to A') ], [ 'url' => Tools::url($page_link, 'order=auction.end_time.asc'), 'current' => $order_by == 'end_time' && $order_way == 'asc', 'label' => $this->l('End time, near to far') ], [ 'url' => Tools::url($page_link, 'order=auction.end_time.desc'), 'current' => $order_by == 'end_time' && $order_way == 'desc', 'label' => $this->l('End time, far to near') ] ]; } private function setAuctionsData() { $auctions_data = $this->getAuctionsData(); $sort_orders = $this->getAvailableSortOrders(); $this->context->smarty->assign(array("auctions" => $auctions_data, "sort_orders"=>array('sort_orders' => $sort_orders),"pagination" => $this->getPagination())); } And this is a part of the Template <div class="products-select"> <div class="col-md-6 hidden-sm-down total-products"> {if $auctions|count > 1} <p>{l s='There are %s products.' mod='auctionpremium' sprintf=[$auctions|count]}</p> {else} <p>{l s='There is %s products.' mod='auctionpremium' sprintf=[$auctions|count]}</p> {/if} </div> <div class="col-md-6"> {block name='sort_by'} {include file='catalog/_partials/sort-orders.tpl' listing=$sort_orders} {/block} </div> </div> The problem is i got an error with this message ContextErrorException Notice: Undefined index: sort_selected. Any Help , And Thanks.
×
×
  • Create New...