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

#   Intervalles de prix dans listing.php

##

- **[Flooder](/forum/user/23280-flooder "View Flooder's Profile")**
- [![Flooder's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar23280.png)](/forum/user/23280-flooder "View Flooder's Profile") Topic Author
- [ Offline](/forum/user/23280-flooder)

Less More

- Posts: 263
- Thank you received: 11
-
-

12 years 9 months ago [\#146160](#146160) by [Flooder](/forum/user/23280-flooder "View Flooder's Profile")  *[Intervalles de prix dans listing.php](/forum/5-support-en-francais-french-support-/866259-intervalles-de-prix-dans-listing-php#146160 "Bonjour à vous, J'utilise le template product/listing&#95;img&#95;title.php pour afficher l'intervalle de prix pour chaque produit d'une catégorie.  On voit le plus bas et le plus haut prix pour un chaque produit.  Dès le début du fichier product/listing.php, on voit que les deux prix à afficher pour un produit sont déjà dans $this-&gt;rows&#91;&#93;-&gt;prices&#91;&#93;  Mais ces deux prix, où ont-ils été sélectionnés et écrit dans $this-&gt;rows&#91;&#93;-&gt;prices&#91;&#93;?  Merci")* was created by *[Flooder](/forum/user/23280-flooder "View Flooder's Profile")*

Bonjour à vous,
J'utilise le template product/listing_img_title.php pour afficher l'intervalle de prix pour chaque produit d'une catégorie.

On voit le plus bas et le plus haut prix pour un chaque produit.

Dès le début du fichier product/listing.php, on voit que les deux prix à afficher pour un produit sont déjà dans $this-&gt;rows[]-&gt;prices[]

Mais ces deux prix, où ont-ils été sélectionnés et écrit dans $this-&gt;rows[]-&gt;prices[]?

Merci

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

- **[Flooder](/forum/user/23280-flooder "View Flooder's Profile")**
- [![Flooder's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar23280.png)](/forum/user/23280-flooder "View Flooder's Profile") Topic Author
- [ Offline](/forum/user/23280-flooder)

Less More

- Posts: 263
- Thank you received: 11
-
-

12 years 9 months ago [\#146163](#146163) by [Flooder](/forum/user/23280-flooder "View Flooder's Profile")  Replied by *[Flooder](/forum/user/23280-flooder "View Flooder's Profile")* on topic *[Intervalles de prix dans listing.php](/forum/5-support-en-francais-french-support-/866259-intervalles-de-prix-dans-listing-php#146163 "Bonjour à vous, J'utilise le template product/listing&#95;img&#95;title.php pour afficher l'intervalle de prix pour chaque produit d'une catégorie.  On voit le plus bas et le plus haut prix pour un chaque produit.  Dès le début du fichier product/listing.php, on voit que les deux prix à afficher pour un produit sont déjà dans $this-&gt;rows&#91;&#93;-&gt;prices&#91;&#93;  Mais ces deux prix, où ont-ils été sélectionnés et écrit dans $this-&gt;rows&#91;&#93;-&gt;prices&#91;&#93;?  Merci")*

En fait, ça serait super si on pouvait changer la façon dont sont choisis ces deux prix...

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

12 years 9 months ago [\#146282](#146282) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Intervalles de prix dans listing.php](/forum/5-support-en-francais-french-support-/866259-intervalles-de-prix-dans-listing-php#146282 "Bonjour à vous, J'utilise le template product/listing&#95;img&#95;title.php pour afficher l'intervalle de prix pour chaque produit d'une catégorie.  On voit le plus bas et le plus haut prix pour un chaque produit.  Dès le début du fichier product/listing.php, on voit que les deux prix à afficher pour un produit sont déjà dans $this-&gt;rows&#91;&#93;-&gt;prices&#91;&#93;  Mais ces deux prix, où ont-ils été sélectionnés et écrit dans $this-&gt;rows&#91;&#93;-&gt;prices&#91;&#93;?  Merci")*

Les prix sont écrits dans le fichier appelé avant la vue, autrement dit:
"\components\com_hikashop\views\product\view.html.php", fonction "listing()"

The following user(s) said Thank You: [Flooder](/forum/user/23280-flooder "View Flooder's Profile")

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

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