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

#   Prix en TTC dans widgets

##

- **[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")**
- [![hikaphil's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bike_skid.png)](/forum/user/37417-hikaphil "View hikaphil's Profile") Topic Author
- [ Offline](/forum/user/37417-hikaphil)

Less More

- Posts: 384
- Thank you received: 13
-
-
-

10 years 8 months ago -  10 years 8 months ago [\#233826](#233826) by [hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")  *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#233826 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")* was created by *[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8

Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît.
Mes réglages:
Listings/produits/expédiés/commandes/meilleurs

Merci.

Last edit: 10 years 8 months ago by [hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile").

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

10 years 8 months ago [\#233827](#233827) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#233827 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")*

Bonjour,

Merci de fournir une capture d'écran des options de votre widget.

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

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

- **[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")**
- [![hikaphil's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bike_skid.png)](/forum/user/37417-hikaphil "View hikaphil's Profile") Topic Author
- [ Offline](/forum/user/37417-hikaphil)

Less More

- Posts: 384
- Thank you received: 13
-
-
-

10 years 8 months ago [\#233890](#233890) by [hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")  Replied by *[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")* on topic *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#233890 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")*

Bonjour, voilà

[ ![ttc-wid1.jpg](/forum/attachment/30233) ](/forum/attachment/30233 "ttc-wid1.jpg")

[ ![ttc-wid2.jpg](/forum/attachment/30234) ](/forum/attachment/30234 "ttc-wid2.jpg")

lorsque on est sur panneau de contrôle les prix sont en ht

Merci.

- [ ![ttc-wid1.jpg](/forum/attachment/30233) ](/forum/attachment/30233 "ttc-wid1.jpg") [ ](/forum/attachment/30233?download=1 "ttc-wid1.jpg")
- [ ![ttc-wid2.jpg](/forum/attachment/30234) ](/forum/attachment/30234 "ttc-wid2.jpg") [ ](/forum/attachment/30234?download=1 "ttc-wid2.jpg")

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

10 years 8 months ago [\#233901](#233901) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#233901 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")*

Bonjour,

Vous pouvez essayer de changer la ligne:
$value=$currencyClass-&gt;format($row-&gt;Total, $row-&gt;order_currency_id);
en:
$value=$currencyClass-&gt;format($currencyClass-&gt;getTaxedPrice($row-&gt;Total, hikashop_getZone(),XXX), $row-&gt;order_currency_id);
dans le fichier "product" de la vue "dashboard" pour votre template du backend et où XXX est l'id de la catégorie de taxes que vous utilisez dans vos règles de taxes.

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

- **[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")**
- [![hikaphil's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bike_skid.png)](/forum/user/37417-hikaphil "View hikaphil's Profile") Topic Author
- [ Offline](/forum/user/37417-hikaphil)

Less More

- Posts: 384
- Thank you received: 13
-
-
-

10 years 8 months ago [\#234083](#234083) by [hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")  Replied by *[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")* on topic *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#234083 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")*

Bonjour, non ça fonctionne pas ![:/](/irritated.gif ":/")

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

10 years 8 months ago [\#234155](#234155) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#234155 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")*

Changez hikashop_getZone() par l'id de la zone de votre règle de taxes alors.

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

- **[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")**
- [![hikaphil's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bike_skid.png)](/forum/user/37417-hikaphil "View hikaphil's Profile") Topic Author
- [ Offline](/forum/user/37417-hikaphil)

Less More

- Posts: 384
- Thank you received: 13
-
-
-

10 years 8 months ago [\#234214](#234214) by [hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")  Replied by *[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")* on topic *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#234214 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")*

Bonjour,
non toujours pas. voici ma ligne 61
$value=$currencyClass-&gt;format($currencyClass-&gt;getTaxedPrice($row-&gt;Total, 74,2), $row-&gt;order_currency_id);

:dry:

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

10 years 8 months ago [\#234216](#234216) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#234216 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")*

Bonjour,

Soit:
- l'id 74 et/ou l'id 2 sont incorrects
- vous éditez le fichier pour un autre template que votre template backend

L'id 2 dans la table catégorie, c'est normalement la catégorie "product category".
La catégorie de taxe par défaut a l'id 11, et si vous en créez une autre son id doit être encore plus élevée. Donc à mon avis, vous n'avez pas mis le bon id de votre catégorie de taxes et du coup, c'est pour cela que ça ne fonctionne pas.

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

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

- **[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")**
- [![hikaphil's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bike_skid.png)](/forum/user/37417-hikaphil "View hikaphil's Profile") Topic Author
- [ Offline](/forum/user/37417-hikaphil)

Less More

- Posts: 384
- Thank you received: 13
-
-
-

10 years 8 months ago -  10 years 8 months ago [\#234259](#234259) by [hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")  Replied by *[hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile")* on topic *[Prix en TTC dans widgets](/forum/5-support-en-francais-french-support-/883228-prix-en-ttc-dans-widgets#234259 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Bonjour , je fais un top 20 des ventes de mes produits et je voudrais mettre les prix en ttc lorsque le widget apparaît. Mes réglages: Listings/produits/expédiés/commandes/meilleurs  Merci.")*

Effectivement c'est l'id catégorie qui été pas bon !!! désolé pour le dérangement occasionné ![:unsure:](/media/kunena/emoticons/18.png ":unsure:")

Last edit: 10 years 8 months ago by [hikaphil](/forum/user/37417-hikaphil "View hikaphil's Profile").

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

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