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

#   \[RESOLU\] manque product\_code dans fiche produit.

##

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

Less More

- Posts: 257
- Thank you received: 7
-
-
-
- [](http://jardinpromo.com)
-

14 years 1 month ago -  14 years 1 month ago [\#71456](#71456) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  *[\[RESOLU\] manque product\_code dans fiche produit.](/forum/5-support-en-francais-french-support-/71456-resolu-manque-product-code-dans-fiche-produit#71456 "Pourtant dans le fichier product /show&#95;default.php  J'ai bien  Dans la config &quot;Système/configuration général/affichage&quot; j'ai bien coché :  Si je décoche le prix, il ne s'affiche pas.")* was created by *[oliv](/forum/user/7307-oliv "View oliv's Profile")*

Pourtant dans le fichier product /show_default.php

J'ai bien
Code:

&lt;span id="hikashop_product_code_main" class="hikashop_product_code_main"&gt; &lt;?php echo $this-&gt;element-&gt;product_code; ?&gt; &lt;/span&gt;

Dans la config "Système/configuration général/affichage" j'ai bien coché :

[ ![1&#95;2012-10-22-3.JPG](/forum/attachment/6408) ](/forum/attachment/6408 "...12-10-22-3.JPG")

Si je décoche le prix, il ne s'affiche pas.

- [ ![1&#95;2012-10-22-3.JPG](/forum/attachment/6408) ](/forum/attachment/6408 "...12-10-22-3.JPG") [ ](/forum/attachment/6408?download=1 "...12-10-22-3.JPG")

Last edit: 14 years 1 month ago by [oliv](/forum/user/7307-oliv "View oliv's Profile"). Reason: [RESOLU]

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

14 years 1 month ago [\#71560](#71560) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: manque product\_code dans fiche produit.](/forum/5-support-en-francais-french-support-/71456-resolu-manque-product-code-dans-fiche-produit#71560 "Pourtant dans le fichier product /show&#95;default.php  J'ai bien  Dans la config &quot;Système/configuration général/affichage&quot; j'ai bien coché :  Si je décoche le prix, il ne s'affiche pas.")*

Etes vous sûr de modifier la vue dans le bon template ?

Dans la vue show_default, essayez de supprimer: Code:

if ($this-&gt;config-&gt;get('show_code')) {

Est-ce que le code s'afficher désormais ?

Vérifiez aussi dans le fichier css si il n'y a pas un "display:none;" appliqué sur la classe: ".hikashop_product_code_main{}"

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

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

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

Less More

- Posts: 257
- Thank you received: 7
-
-
-
- [](http://jardinpromo.com)
-

14 years 1 month ago [\#71582](#71582) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[Re: manque product\_code dans fiche produit.](/forum/5-support-en-francais-french-support-/71456-resolu-manque-product-code-dans-fiche-produit#71582 "Pourtant dans le fichier product /show&#95;default.php  J'ai bien  Dans la config &quot;Système/configuration général/affichage&quot; j'ai bien coché :  Si je décoche le prix, il ne s'affiche pas.")*

Merci Xavier,
Il y a bien un "display: none;" sur .hikashop_product_code_main
Maintenant, pour ne pas perdre ma mise en page lors de prochaines mise à jour, est-il possible de modifier les codes CSS depuis HikaShop ou j'y vais directement sur le fichier?

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

14 years 1 month ago [\#71585](#71585) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: manque product\_code dans fiche produit.](/forum/5-support-en-francais-french-support-/71456-resolu-manque-product-code-dans-fiche-produit#71585 "Pourtant dans le fichier product /show&#95;default.php  J'ai bien  Dans la config &quot;Système/configuration général/affichage&quot; j'ai bien coché :  Si je décoche le prix, il ne s'affiche pas.")*

Vous pouvez modifier le fichier css depuis HikaShop &gt; Configuration &gt; Display, edit the frontend css file.

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

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

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

Less More

- Posts: 257
- Thank you received: 7
-
-
-
- [](http://jardinpromo.com)
-

14 years 1 month ago [\#71589](#71589) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[Re: manque product\_code dans fiche produit.](/forum/5-support-en-francais-french-support-/71456-resolu-manque-product-code-dans-fiche-produit#71589 "Pourtant dans le fichier product /show&#95;default.php  J'ai bien  Dans la config &quot;Système/configuration général/affichage&quot; j'ai bien coché :  Si je décoche le prix, il ne s'affiche pas.")*

Excellent, je tiens à féliciter toute l'équipe de HikaShop pour la diligence, la promptitude, la politesse et la justesse de leurs réponses sur ce forum.

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