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

#   Message après commande

##

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

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 5 months ago [\#159900](#159900) by [cedric.fatio](/forum/user/32630-cedric-fatio "View cedric.fatio's Profile")  *[Message après commande](/forum/5-support-en-francais-french-support-/868947-message-apres-commande#159900 "-- url of the page with the problem -- :   www.ohsec.ch  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Je souhaiterais personnaliser le message qui est affiché au client une fois qu'il a terminé sa commande. Où puis-je le faire?  Merci et meilleures salutations, Cédric")* was created by *[cedric.fatio](/forum/user/32630-cedric-fatio "View cedric.fatio's Profile")*

-- url of the page with the problem -- : [ www.ohsec.ch](http://www.ohsec.ch)
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.3
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Bonjour,

Je souhaiterais personnaliser le message qui est affiché au client une fois qu'il a terminé sa commande. Où puis-je le faire?

Merci et meilleures salutations,
Cédric

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#159903](#159903) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Message après commande](/forum/5-support-en-francais-french-support-/868947-message-apres-commande#159903 "-- url of the page with the problem -- :   www.ohsec.ch  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Je souhaiterais personnaliser le message qui est affiché au client une fois qu'il a terminé sa commande. Où puis-je le faire?  Merci et meilleures salutations, Cédric")*

Bonjour,

Il faut généralement éditer la vue "checkout / after_end", mais selon les plugins de paiement utilisés il faut parfois éditer la vue "xxx_end.php" de ce plugin.

Pour éditer la vue, cela peut être fait via le menu Dispay &gt; Views de HikaShop.

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

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

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 5 months ago [\#160041](#160041) by [cedric.fatio](/forum/user/32630-cedric-fatio "View cedric.fatio's Profile")  Replied by *[cedric.fatio](/forum/user/32630-cedric-fatio "View cedric.fatio's Profile")* on topic *[Message après commande](/forum/5-support-en-francais-french-support-/868947-message-apres-commande#160041 "-- url of the page with the problem -- :   www.ohsec.ch  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Je souhaiterais personnaliser le message qui est affiché au client une fois qu'il a terminé sa commande. Où puis-je le faire?  Merci et meilleures salutations, Cédric")*

Bonjour,

Le code du fichier after_end.php est le suivant :

&lt;?php
$app = JFactory::getApplication();
$app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') );

J'aimerais bien écrire un message personnalisé en rappelant le montant et le numéro de la commande. Comment dois-je procéder? Où est-ce que je trouve le code du JText de l'app JFactory?

Merci et meilleures salutations,
Cédric

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#160044](#160044) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Message après commande](/forum/5-support-en-francais-french-support-/868947-message-apres-commande#160044 "-- url of the page with the problem -- :   www.ohsec.ch  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Je souhaiterais personnaliser le message qui est affiché au client une fois qu'il a terminé sa commande. Où puis-je le faire?  Merci et meilleures salutations, Cédric")*

Bonjour,

Alors vous pourrez retrouver toutes les informations relatives à la commande dans l'objet php "$this-&gt;order".
En ce qui concerne la traduction du JText elle se trouve dans Configuration &gt; Languages (dans HikaShop).

Pour afficher les infos de la commande il faudra utiliser du code tel que: Code:

&lt;?php echo $this-&gt;order-&gt;order_number; ?&gt;

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

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

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 5 months ago [\#160250](#160250) by [cedric.fatio](/forum/user/32630-cedric-fatio "View cedric.fatio's Profile")  Replied by *[cedric.fatio](/forum/user/32630-cedric-fatio "View cedric.fatio's Profile")* on topic *[Message après commande](/forum/5-support-en-francais-french-support-/868947-message-apres-commande#160250 "-- url of the page with the problem -- :   www.ohsec.ch  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Je souhaiterais personnaliser le message qui est affiché au client une fois qu'il a terminé sa commande. Où puis-je le faire?  Merci et meilleures salutations, Cédric")*

Bonjour,

J'ai édité le le fichier after_end.php de la vue checkout, mais cela n'a en rien changé le message après la commande... comment est-ce possible?

Où est-ce que je trouve l'objet php "$this-&gt;order"? Dans le backend Joomla où via FTP?

Merci pour votre aide et meilleures salutations,
Cédric

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4OTQ3LW1lc3NhZ2UtYXByZXMtY29tbWFuZGU/dG1wbD1tYXJrZG93bg==) 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
-
-

12 years 5 months ago [\#160257](#160257) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Message après commande](/forum/5-support-en-francais-french-support-/868947-message-apres-commande#160257 "-- url of the page with the problem -- :   www.ohsec.ch  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Je souhaiterais personnaliser le message qui est affiché au client une fois qu'il a terminé sa commande. Où puis-je le faire?  Merci et meilleures salutations, Cédric")*

C'est soit que vous n'avez pas édité le fichier pour le bon template, soit que cette vue n'est pas utilisée.
Il est possible que ce soit une autre vue qui soit utilisée en fonction de la méthode de paiement que vous utilisé.
Malheureusement, vous n'avez pas fourni cette information pour l'instant donc je ne peux répondre avec certitude.

Dans le fichier after_end, vous avez directement accès à $this-&gt;order avec du code du genre de celui que Xavier à écrit dans son message.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4OTQ3LW1lc3NhZ2UtYXByZXMtY29tbWFuZGU/dG1wbD1tYXJrZG93bg==) 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.062 seconds

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