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

#   Class ou Id de page pour la page produit

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

9 years 3 months ago [\#272947](#272947) by [abiscom](/forum/user/40791-abiscom "View abiscom's Profile")  *[Class ou Id de page pour la page produit](/forum/5-support-en-francais-french-support-/890933-class-ou-id-de-page-pour-la-page-produit#272947 "Bonjour, Je cherche à savoir si il y a un moyen de rajouter une class ou id aux pages produits? Et si oui comment procéder? Merci par avance.")* was created by *[abiscom](/forum/user/40791-abiscom "View abiscom's Profile")*

Bonjour,
Je cherche à savoir si il y a un moyen de rajouter une class ou id aux pages produits? Et si oui comment procéder?
Merci par avance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkwOTMzLWNsYXNzLW91LWlkLWRlLXBhZ2UtcG91ci1sYS1wYWdlLXByb2R1aXQ/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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 3 months ago [\#272956](#272956) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Class ou Id de page pour la page produit](/forum/5-support-en-francais-french-support-/890933-class-ou-id-de-page-pour-la-page-produit#272956 "Bonjour, Je cherche à savoir si il y a un moyen de rajouter une class ou id aux pages produits? Et si oui comment procéder? Merci par avance.")*

Bonjour,

Pour vos questions en Français, merci d'utiliser le forum Français.

Il y a déjà un ID spécifique et des classes dynamiques sur les page produit.
Mais si vous le souhaitez modifier les pages produits à votre sauce ; vous pouvez faire une surcharge de vue.
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Cordialement,

---

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

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

9 years 3 months ago [\#273038](#273038) by [abiscom](/forum/user/40791-abiscom "View abiscom's Profile")  Replied by *[abiscom](/forum/user/40791-abiscom "View abiscom's Profile")* on topic *[Class ou Id de page pour la page produit](/forum/5-support-en-francais-french-support-/890933-class-ou-id-de-page-pour-la-page-produit#273038 "Bonjour, Je cherche à savoir si il y a un moyen de rajouter une class ou id aux pages produits? Et si oui comment procéder? Merci par avance.")*

En fait l'id est positionnée au niveau de &lt;main..&gt;, et je la voudrais a la balise &lt;html...&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkwOTMzLWNsYXNzLW91LWlkLWRlLXBhZ2UtcG91ci1sYS1wYWdlLXByb2R1aXQ/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: 86289
- Thank you received: 14266
-
-

9 years 3 months ago [\#273042](#273042) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Class ou Id de page pour la page produit](/forum/5-support-en-francais-french-support-/890933-class-ou-id-de-page-pour-la-page-produit#273042 "Bonjour, Je cherche à savoir si il y a un moyen de rajouter une class ou id aux pages produits? Et si oui comment procéder? Merci par avance.")*

Bonjour,

Le tag HTML n'est pas affiché par HikaShop mais par votre template. C'est donc dans le template qu'il faudrait modifier cela.
surement dans le fichier index.php du template, mais le mieux est de voir cela avec votre fournisseur de template.
Il faudra rajouter du PHP pour vérifier que vous êtes sur une page produit pour ajouter la classe du style: Code:

&lt;?php if($_REQUEST['option']=='com_hikashop' &amp;&amp; $_REQUEST['ctrl']=='product' &amp;&amp; $_REQUEST['task']=='show') echo 'my_css_class'; ?&gt;

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

9 years 3 months ago [\#273182](#273182) by [abiscom](/forum/user/40791-abiscom "View abiscom's Profile")  Replied by *[abiscom](/forum/user/40791-abiscom "View abiscom's Profile")* on topic *[Class ou Id de page pour la page produit](/forum/5-support-en-francais-french-support-/890933-class-ou-id-de-page-pour-la-page-produit#273182 "Bonjour, Je cherche à savoir si il y a un moyen de rajouter une class ou id aux pages produits? Et si oui comment procéder? Merci par avance.")*

Ok, merci!

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

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

[](#top)
