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

#   taxe par defaut non selectionne dans nouveau prod

##

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

11 years 4 months ago [\#209512](#209512) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[taxe par defaut non selectionne dans nouveau prod](/forum/5-support-en-francais-french-support-/878379-taxe-par-defaut-non-selectionne-dans-nouveau-prod#209512 "-- HikaShop version -- : 250  Bonjour  Dans gerer les taxes j'ai Electronic goods &amp; services désactivé et taxe France activé si je cree un nouveau produit la axe par defaut (la seule active) n'est pas sélectionnée  comment faire pour qu'elle le soit toujours ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

-- HikaShop version -- : 250

Bonjour

Dans gerer les taxes j'ai Electronic goods &amp; services désactivé et taxe France activé
si je cree un nouveau produit la axe par defaut (la seule active) n'est pas sélectionnée

comment faire pour qu'elle le soit toujours ?

merci

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 4 months ago [\#209532](#209532) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[taxe par defaut non selectionne dans nouveau prod](/forum/5-support-en-francais-french-support-/878379-taxe-par-defaut-non-selectionne-dans-nouveau-prod#209532 "-- HikaShop version -- : 250  Bonjour  Dans gerer les taxes j'ai Electronic goods &amp; services désactivé et taxe France activé si je cree un nouveau produit la axe par defaut (la seule active) n'est pas sélectionnée  comment faire pour qu'elle le soit toujours ?  merci")*

Bonjour,

L'édition produit continu de sélectionner la première catégorie de taxe, et cela en fonction de l'ordering.
Il n'y a aucun changement vis à vis de l'ancienne interface.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

11 years 4 months ago [\#209617](#209617) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[taxe par defaut non selectionne dans nouveau prod](/forum/5-support-en-francais-french-support-/878379-taxe-par-defaut-non-selectionne-dans-nouveau-prod#209617 "-- HikaShop version -- : 250  Bonjour  Dans gerer les taxes j'ai Electronic goods &amp; services désactivé et taxe France activé si je cree un nouveau produit la axe par defaut (la seule active) n'est pas sélectionnée  comment faire pour qu'elle le soit toujours ?  merci")*

non aucunes taxes ne sont sélectionnées et si on oublie de le faire le prix est faux

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 4 months ago [\#209630](#209630) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[taxe par defaut non selectionne dans nouveau prod](/forum/5-support-en-francais-french-support-/878379-taxe-par-defaut-non-selectionne-dans-nouveau-prod#209630 "-- HikaShop version -- : 250  Bonjour  Dans gerer les taxes j'ai Electronic goods &amp; services désactivé et taxe France activé si je cree un nouveau produit la axe par defaut (la seule active) n'est pas sélectionnée  comment faire pour qu'elle le soit toujours ?  merci")*

Bonjour,

Alors on va appliquer le patch qui le force.
Dans le fichier "administrator/components/com_hikashop/views/product/view.html.php" remplacez Code:

} if(empty($product_id) &amp;&amp; empty($product-&gt;categories)) {

Par Code:

} else { $product-&gt;product_quantity = -1; $categoryClass = hikashop_get('class.category'); $mainTaxCategory = 'tax'; $categoryClass-&gt;getMainElement($mainTaxCategory); $query = 'SELECT category_id FROM '. hikashop_table('category'). ' WHERE category_type = ' . $db-&gt;Quote('tax') . ' AND category_parent_id = '.(int)$mainTaxCategory.' ORDER BY category_ordering DESC'; $db-&gt;setQuery($query); $product-&gt;product_tax_id = $db-&gt;loadResult(); } if(empty($product_id) &amp;&amp; empty($product-&gt;categories)) {

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

11 years 4 months ago [\#209637](#209637) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[taxe par defaut non selectionne dans nouveau prod](/forum/5-support-en-francais-french-support-/878379-taxe-par-defaut-non-selectionne-dans-nouveau-prod#209637 "-- HikaShop version -- : 250  Bonjour  Dans gerer les taxes j'ai Electronic goods &amp; services désactivé et taxe France activé si je cree un nouveau produit la axe par defaut (la seule active) n'est pas sélectionnée  comment faire pour qu'elle le soit toujours ?  merci")*

ligne 1637
c'est fait ca marche impec !

merci

vous le rajoutez dans la prochaine build ? ![:-)](/media/kunena/emoticons/3.png ":-)")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 4 months ago [\#209640](#209640) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[taxe par defaut non selectionne dans nouveau prod](/forum/5-support-en-francais-french-support-/878379-taxe-par-defaut-non-selectionne-dans-nouveau-prod#209640 "-- HikaShop version -- : 250  Bonjour  Dans gerer les taxes j'ai Electronic goods &amp; services désactivé et taxe France activé si je cree un nouveau produit la axe par defaut (la seule active) n'est pas sélectionnée  comment faire pour qu'elle le soit toujours ?  merci")*

> vous le rajoutez dans la prochaine build ?

Oui, c'était prévu ![:)](/media/kunena/emoticons/3.png ":)")

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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