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

#   Prix gratuit

##

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

Less More

- Posts: 332
- Thank you received: 4
-
-

11 years 3 weeks ago -  11 years 3 weeks ago [\#219077](#219077) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  *[Prix gratuit](/forum/25-install-update/880185-prix-gratuit#219077 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24  Bonjour,  Je cherche savoir quel est le fichier .php, qui permet d'afficher le champs &quot;FREE&#95;PRICE&quot; de hikashop.ini dans le module de contenu de produit (sous l'image) : je souhaite personnaliser le message en fonction de la catégorie lorsque le prix du produit est égal à 0 et pouvoir afficher à la place le prix constaté. Cdt  Eric")* was created by *[emohk](/forum/user/7512-emohk "View emohk's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 2.5.24

Bonjour,

Je cherche savoir quel est le fichier .php, qui permet d'afficher le champs "FREE_PRICE" de hikashop.ini dans le module de contenu de produit (sous l'image) : je souhaite personnaliser le message en fonction de la catégorie lorsque le prix du produit est égal à 0 et pouvoir afficher à la place le prix constaté.
Cdt

Eric

Last edit: 11 years 3 weeks ago by [emohk](/forum/user/7512-emohk "View emohk's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MDE4NS1wcml4LWdyYXR1aXQ/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 3 weeks ago [\#219090](#219090) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Prix gratuit](/forum/25-install-update/880185-prix-gratuit#219090 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24  Bonjour,  Je cherche savoir quel est le fichier .php, qui permet d'afficher le champs &quot;FREE&#95;PRICE&quot; de hikashop.ini dans le module de contenu de produit (sous l'image) : je souhaite personnaliser le message en fonction de la catégorie lorsque le prix du produit est égal à 0 et pouvoir afficher à la place le prix constaté. Cdt  Eric")*

Bonjour,

CF : [ www.hikashop.com/support/support/documen...-display.html#layout](http://www.hikashop.com/support/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=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MDE4NS1wcml4LWdyYXR1aXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 332
- Thank you received: 4
-
-

11 years 3 weeks ago -  11 years 3 weeks ago [\#219208](#219208) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Prix gratuit](/forum/25-install-update/880185-prix-gratuit#219208 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24  Bonjour,  Je cherche savoir quel est le fichier .php, qui permet d'afficher le champs &quot;FREE&#95;PRICE&quot; de hikashop.ini dans le module de contenu de produit (sous l'image) : je souhaite personnaliser le message en fonction de la catégorie lorsque le prix du produit est égal à 0 et pouvoir afficher à la place le prix constaté. Cdt  Eric")*

Bonjour,
Merci pour l'info, mais pour le fichier en question "lising_price.php", j'ai besoin des catégories du produit, pour afficher un texte personnalisé en fonction d'une catégorie lorsque le prix est nul. Code:

if(empty($this-&gt;row-&gt;prices)){ if ($this-&gt;element-&gt;category_id == '102'){ echo JText::_('FREE_PRICE_PLAT'); }else{ if ($this-&gt;element-&gt;category_id == '103'){ echo JText::_('FREE_PRICE_VINPLAT'); }else{ echo JText::_('FREE_PRICE');} } }else{ $first=true; echo JText::_('PRICE_BEGINNING');

Mon hack fonctionne bien pour la visualisation du produit. Par contre, si le produit doit afficher en bas de page de ses produits associés, cela ne fonctionne pas pour ces produits affichés, donc je cherche le moyen pour disposer de la liste des catégories pour le produit sur $this-&gt;row.

Merci

Last edit: 11 years 3 weeks ago by [emohk](/forum/user/7512-emohk "View emohk's Profile").

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

11 years 3 weeks ago [\#219220](#219220) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Prix gratuit](/forum/25-install-update/880185-prix-gratuit#219220 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24  Bonjour,  Je cherche savoir quel est le fichier .php, qui permet d'afficher le champs &quot;FREE&#95;PRICE&quot; de hikashop.ini dans le module de contenu de produit (sous l'image) : je souhaite personnaliser le message en fonction de la catégorie lorsque le prix du produit est égal à 0 et pouvoir afficher à la place le prix constaté. Cdt  Eric")*

Bonjour,

Voici le code permettant de récupérer toutes les catégories d'un produit: Code:

$productClass = hikashop_get('class.product'); $categories = $productClass-&gt;getCategories($this-&gt;row-&gt;product_id);

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

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