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

#   comment afficher prix au litre

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

12 years 9 months ago [\#138024](#138024) by [bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")  *[comment afficher prix au litre](/forum/25-install-update/864603-comment-afficher-prix-au-litre#138024 "-- url of the page with the problem -- :   bioasis83.fr  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5 Bonjour. J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits. Comment mettre en place cet option ? j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif merci")* was created by *[bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")*

-- url of the page with the problem -- : [ bioasis83.fr](http://bioasis83.fr)
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5
Bonjour.
J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits.
Comment mettre en place cet option ?
j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif
merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NDYwMy1jb21tZW50LWFmZmljaGVyLXByaXgtYXUtbGl0cmU/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 9 months ago [\#138032](#138032) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[comment afficher prix au litre](/forum/25-install-update/864603-comment-afficher-prix-au-litre#138032 "-- url of the page with the problem -- :   bioasis83.fr  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5 Bonjour. J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits. Comment mettre en place cet option ? j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif merci")*

Bonjour,

Vous pouvez faire comme expliqué dans la section "I sell packed products, how can I change "each" text in the product page ?" de la FAQ:
[ www.hikashop.com/support/documentation/106-faq.html#tran](http://www.hikashop.com/support/documentation/106-faq.html#tran)

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

12 years 9 months ago [\#138104](#138104) by [bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")  Replied by *[bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")* on topic *[comment afficher prix au litre](/forum/25-install-update/864603-comment-afficher-prix-au-litre#138104 "-- url of the page with the problem -- :   bioasis83.fr  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5 Bonjour. J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits. Comment mettre en place cet option ? j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif merci")*

Bonsoir,
je vous remercie de votre rapidité, j'ai pas encore totalement réussi mais c'est en bonne voie.
c'est juste que je ne retrouve pas "écho JText :: _ ('PER_UNIT'); " pour faire l'échange, mais c'est surement une question de vue.
A moins que j'ai fait une erreur.
Pouvez vous juste me confirmer qu'en s'arrêtant a cet étape je dois voir apparaitre ceci dans ma page produit.

[ ![h7185eea.png](/forum/attachment/14475) ](/forum/attachment/14475 "h7185eea.png")

merci bonne soirée

- [ ![h7185eea.png](/forum/attachment/14475) ](/forum/attachment/14475 "h7185eea.png") [ ](/forum/attachment/14475?download=1 "h7185eea.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NDYwMy1jb21tZW50LWFmZmljaGVyLXByaXgtYXUtbGl0cmU/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 9 months ago [\#138131](#138131) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[comment afficher prix au litre](/forum/25-install-update/864603-comment-afficher-prix-au-litre#138131 "-- url of the page with the problem -- :   bioasis83.fr  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5 Bonjour. J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits. Comment mettre en place cet option ? j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif merci")*

Je confirme.

Il ne vous reste plus qu'à modifier le code dans la bonne vue comme expliqué dans la documentation.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

12 years 9 months ago [\#138178](#138178) by [bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")  Replied by *[bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")* on topic *[comment afficher prix au litre](/forum/25-install-update/864603-comment-afficher-prix-au-litre#138178 "-- url of the page with the problem -- :   bioasis83.fr  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5 Bonjour. J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits. Comment mettre en place cet option ? j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif merci")*

Bonjour,

merci de cet confirmation. j'ai chercher de partout le fichier listing_price dans mon template d'administration, je ne l'ai pas trouver.
Donc j'en déduit que c'est dans mon template public.

Par contre j'ai un doute, je n'ai aucune compétence en écriture de code source, mais cela me semble bizarre de me retrouver avec un ; et un . à la suite. Pouvez vous juste me confirmer l'écriture ?
echo '&lt;span class="hikashop_product_price_per_unit"&gt;'.if (isset ($ this-&gt; element-&gt; principal)) echo JText :: _ ($ this-&gt; element-&gt; main-&gt; salemethod ); elseif (isset ($ this-&gt; rangée)) echo JText :: _ ($ this-&gt; row-&gt; salemethod); JText else echo :: _ ($ this-&gt; element-&gt; salemethod);.'&lt;/span&gt;';

Autre question, est t'il possible via ce forum de trouver une personne capable de peaufiner et contrôler la qualité de mon site au alentour de Toulon. Car comme vous l'avez surement compris ce n'ai pas mon travail. J'apprend a base de tuto, mais j'aimerais quand même un site de qualité.

Quoi qu'il en sois un grand merci a vous.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

12 years 9 months ago [\#138191](#138191) by [bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")  Replied by *[bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")* on topic *[comment afficher prix au litre](/forum/25-install-update/864603-comment-afficher-prix-au-litre#138191 "-- url of the page with the problem -- :   bioasis83.fr  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5 Bonjour. J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits. Comment mettre en place cet option ? j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif merci")*

Bonjour,
j'ai essayer toute les méthode.
j'arrive donc a afficher l'unité. ok
mais nul part je doit remplir le litrage pour qu'il calcul le prix au litre.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

12 years 9 months ago [\#138212](#138212) by [bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")  Replied by *[bioasis83](/forum/user/30414-bioasis83 "View bioasis83's Profile")* on topic *[comment afficher prix au litre](/forum/25-install-update/864603-comment-afficher-prix-au-litre#138212 "-- url of the page with the problem -- :   bioasis83.fr  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5 Bonjour. J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits. Comment mettre en place cet option ? j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif merci")*

Pardon je devrais préciser qu'il me faut le poids réel pour calculer les frais de port mais aussi afficher les prix au litre.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 9 months ago [\#138251](#138251) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[comment afficher prix au litre](/forum/25-install-update/864603-comment-afficher-prix-au-litre#138251 "-- url of the page with the problem -- :   bioasis83.fr  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5 Bonjour. J'ai un problème, je ne sais pas comment affiché les prix au litre de mes produits. Comment mettre en place cet option ? j'aimerais que ce soi fait automatiquement pour ne pas avoir a retoucher la description a chaque mouvement de tarif merci")*

Bonjour,
Le problème est que dans Hikashop les produits sont vendus en fonction de leurs quantités, la solution serai donc par exemple d'initialisé le poids de vos produits à 1 KG, et donc de les vendre au KG.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NDYwMy1jb21tZW50LWFmZmljaGVyLXByaXgtYXUtbGl0cmU/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.111 seconds

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

[](#top)
