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

#   product\_id et fabricant dans listing.php

##

- **[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: 2706
- Thank you received: 74
-
-

14 years 8 months ago [\#43546](#43546) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[product\_id et fabricant dans listing.php](/forum/5-support-en-francais-french-support-/43546-product-id-et-fabricant-dans-listing-php#43546 "Bonjour  savez vous comment récupérer le product&#95;id et le fabricant (category --&gt; manufacturer) dans ./templates/MTPL/html/com&#95;hikashop/product/listing.php  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

Bonjour

savez vous comment récupérer le product_id et le fabricant (category --&gt; manufacturer) dans ./templates/MTPL/html/com_hikashop/product/listing.php

merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNDM1NDYtcHJvZHVjdC1pZC1ldC1mYWJyaWNhbnQtZGFucy1saXN0aW5nLXBocD90bXBsPW1hcmtkb3du) 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: 86593
- Thank you received: 14334
-
-

14 years 8 months ago [\#43733](#43733) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: product\_id et fabricant dans listing.php](/forum/5-support-en-francais-french-support-/43546-product-id-et-fabricant-dans-listing-php#43733 "Bonjour  savez vous comment récupérer le product&#95;id et le fabricant (category --&gt; manufacturer) dans ./templates/MTPL/html/com&#95;hikashop/product/listing.php  merci")*

Ce fichier affiche une liste de produits. Il n'y a donc pas un product_id/fabriquant mais plusieurs.

Ils sont accessible comme ceci: Code:

$class = hikashop_get('class.category'); foreach($this-&gt;rows as $row){ echo $row-&gt;product_id; $manufacturer = $class-&gt;get($row-&gt;product_manufacturer_id); echo $manufacturer-&gt;category_name; }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNDM1NDYtcHJvZHVjdC1pZC1ldC1mYWJyaWNhbnQtZGFucy1saXN0aW5nLXBocD90bXBsPW1hcmtkb3du) 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: 2706
- Thank you received: 74
-
-

14 years 8 months ago -  14 years 8 months ago [\#43773](#43773) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Re: product\_id et fabricant dans listing.php](/forum/5-support-en-francais-french-support-/43546-product-id-et-fabricant-dans-listing-php#43773 "Bonjour  savez vous comment récupérer le product&#95;id et le fabricant (category --&gt; manufacturer) dans ./templates/MTPL/html/com&#95;hikashop/product/listing.php  merci")*

merci

mais je cherche a recuperer dans le listing l'id de l'unique produit affiche celui de la fiche produit
celui de l'input hidden
&lt;input type="hidden" name="product_id" value="2344" /&gt;

Last edit: 14 years 8 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

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

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