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

#   Afficher le nombre de vente du produit \[résolu\]

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

13 years 10 months ago -  13 years 10 months ago [\#82818](#82818) by [warner](/forum/user/5380-warner "View warner's Profile")  *[Afficher le nombre de vente du produit \[résolu\]](/forum/2-general-talk-about-hikashop/76906-afficher-le-nombre-de-vente-du-produit-resolu#82818 "Bonjour,  Encore une petite question !  Comment afficher sur la page produit, le nombre de vente relatif à ce produit  Merci de votre aide")* was created by *[warner](/forum/user/5380-warner "View warner's Profile")*

Bonjour,

Encore une petite question !

Comment afficher sur la page produit, le nombre de vente relatif à ce produit

Merci de votre aide

Last edit: 13 years 10 months ago by [warner](/forum/user/5380-warner "View warner's Profile").

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

13 years 10 months ago [\#82896](#82896) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Afficher le nombre de vente du produit](/forum/2-general-talk-about-hikashop/76906-afficher-le-nombre-de-vente-du-produit-resolu#82896 "Bonjour,  Encore une petite question !  Comment afficher sur la page produit, le nombre de vente relatif à ce produit  Merci de votre aide")*

Bonjour,

Pour cela il faudrait ajouter une requête pour récupérer tous les produits ayant l'id du produit courant dans la table #__hikashop_order_product, puis ensuite additionner les valeurs de la variable "order_product_quantity". Vous pouvez ajouter cette requête dans la vue "product / show_default" (HikaShop &gt; Display &gt; Views)

Cela requiert quelques connaissances en PHP et MySQL.

The following user(s) said Thank You: [warner](/forum/user/5380-warner "View warner's Profile")

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

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