[Skip to main content](#vessel-content)

#   Bon de commande

##

- **[vapurete](/forum/user/35860-vapurete "View vapurete's Profile")**
- [![vapurete's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35860-vapurete "View vapurete's Profile") Topic Author
- [ Offline](/forum/user/35860-vapurete)

Less More

- Posts: 24
- Thank you received: 1
-
-

9 years 6 months ago -  9 years 6 months ago [\#268861](#268861) by [vapurete](/forum/user/35860-vapurete "View vapurete's Profile")  *[Bon de commande](/forum/5-support-en-francais-french-support-/890110-bon-de-commande#268861 "J'aimerais savoir ou et comment est-il possible de modifier le champ dans le plugin &quot;Bon De Commande&quot; afin que que ce soit la date courante qui y apparaitrait par defaut dans le cas ou le client ne...")* was created by *[vapurete](/forum/user/35860-vapurete "View vapurete's Profile")*

J'aimerais savoir ou et comment est-il possible de modifier le champ dans le plugin "Bon De Commande" afin que que ce soit la date courante qui y apparaitrait par defaut dans le cas ou le client ne rempli pas le champ ou ne soumet pas d'info lors du checkout.

Last edit: 9 years 6 months ago by [vapurete](/forum/user/35860-vapurete "View vapurete's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkwMTEwLWJvbi1kZS1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 6 months ago [\#268891](#268891) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bon de commande](/forum/5-support-en-francais-french-support-/890110-bon-de-commande#268891 "J'aimerais savoir ou et comment est-il possible de modifier le champ dans le plugin &quot;Bon De Commande&quot; afin que que ce soit la date courante qui y apparaitrait par defaut dans le cas ou le client ne...")*

Bonjour,

Je suis désolé mais je ne vois pas de quoi vous voulez parler.
Nos plugins on des nom en Anglais donc je ne connais pas de plugin "bon de commande". Vous voulez parler du plugin PDF invoice ?
De quel champs voulez vous parler ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkwMTEwLWJvbi1kZS1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vapurete](/forum/user/35860-vapurete "View vapurete's Profile")**
- [![vapurete's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35860-vapurete "View vapurete's Profile") Topic Author
- [ Offline](/forum/user/35860-vapurete)

Less More

- Posts: 24
- Thank you received: 1
-
-

9 years 6 months ago [\#269048](#269048) by [vapurete](/forum/user/35860-vapurete "View vapurete's Profile")  Replied by *[vapurete](/forum/user/35860-vapurete "View vapurete's Profile")* on topic *[Bon de commande](/forum/5-support-en-francais-french-support-/890110-bon-de-commande#269048 "J'aimerais savoir ou et comment est-il possible de modifier le champ dans le plugin &quot;Bon De Commande&quot; afin que que ce soit la date courante qui y apparaitrait par defaut dans le cas ou le client ne...")*

c'Est le plugin Hikashop Purchase Order Payment Plugin

j'aimerais juste avoir une date par default dans le cas ou le client n'utiliserai pas le champ de numero de bon decommande apparaissant dans le plug in

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkwMTEwLWJvbi1kZS1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 6 months ago [\#269089](#269089) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bon de commande](/forum/5-support-en-francais-french-support-/890110-bon-de-commande#269089 "J'aimerais savoir ou et comment est-il possible de modifier le champ dans le plugin &quot;Bon De Commande&quot; afin que que ce soit la date courante qui y apparaitrait par defaut dans le cas ou le client ne...")*

Bonjour,

Dans ce cas, il va falloir modifier le code: Code:

if($usable_method &amp;&amp; $usable_method-&gt;payment_type == 'purchaseorder' &amp;&amp; empty($_SESSION['hikashop_purchase_order_number'])) { $app = JFactory::getApplication(); $app-&gt;enqueueMessage(JText::_('PLEASE_ENTER_A_PURCHASE_ORDER_NUMBER')); return false; }

dans le fichier plugins/hikashoppayment/purchaseorder/purchaseorder.php pour mettre la date courante dans Code:

$_SESSION['hikashop_purchase_order_number']

au lieu d'afficher un erreur.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkwMTEwLWJvbi1kZS1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.047 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
