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

#   Déplacer la description du produit

##

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

Less More

- Posts: 59
- Thank you received: 1
-
-

14 years 1 month ago [\#67358](#67358) by [patrickus](/forum/user/8007-patrickus "View patrickus's Profile")  *[Déplacer la description du produit](/forum/5-support-en-francais-french-support-/67358-deplacer-la-description-du-produit#67358 "Bonjour, Je voudrais utiliser votre composant comme catalogue, donc sans fonction de panier. Pour obtenir un affichage plus esthétique dans ce cas, je voudrais que la description des objets soit à coté des images, sous le &quot;mini vote&quot;. J'ai regardé le code du fichier &quot;show&#95;default.php&quot; .... mais si je pouvais avoir un coup de main ... Merci d'avance Patrick")* was created by *[patrickus](/forum/user/8007-patrickus "View patrickus's Profile")*

Bonjour,
Je voudrais utiliser votre composant comme catalogue, donc sans fonction de panier.
Pour obtenir un affichage plus esthétique dans ce cas, je voudrais que la description des objets soit à coté des images, sous le "mini vote".
J'ai regardé le code du fichier "show_default.php" .... mais si je pouvais avoir un coup de main ...
Merci d'avance
Patrick

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 1 month ago [\#67380](#67380) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Déplacer la description du produit](/forum/5-support-en-francais-french-support-/67358-deplacer-la-description-du-produit#67380 "Bonjour, Je voudrais utiliser votre composant comme catalogue, donc sans fonction de panier. Pour obtenir un affichage plus esthétique dans ce cas, je voudrais que la description des objets soit à coté des images, sous le &quot;mini vote&quot;. J'ai regardé le code du fichier &quot;show&#95;default.php&quot; .... mais si je pouvais avoir un coup de main ... Merci d'avance Patrick")*

Bonjour Patrick,

Vous devrez simplement déplacer le code : Code:

&lt;div id="hikashop_product_description_main" class="hikashop_product_description_main"&gt; &lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description)); ?&gt; &lt;/div&gt;

après le code servant à afficher les "mini votes" Code:

&lt;div id="hikashop_product_vote_mini" class="hikashop_product_vote_mini"&gt; &lt;?php $config =&amp; hikashop_config(); if($this-&gt;params-&gt;get('show_vote_product') == '-1'){ $this-&gt;params-&gt;set('show_vote_product',$config-&gt;get('show_vote_product')); } if($this-&gt;params-&gt;get('show_vote_product')){ $js = ''; $params = null; $this-&gt;params-&gt;set('vote_type','product'); if(isset($this-&gt;element-&gt;main)){ $product_id = $this-&gt;element-&gt;main-&gt;product_id; }else{ $product_id = $this-&gt;element-&gt;product_id; } $this-&gt;params-&gt;set('product_id',$product_id); echo hikashop_getLayout('vote', 'mini', $this-&gt;params, $js); } ?&gt; &lt;/div&gt;

En espérant que cela vous aidera ![:)](/media/kunena/emoticons/3.png ":)").

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

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

Less More

- Posts: 59
- Thank you received: 1
-
-

14 years 1 month ago [\#67393](#67393) by [patrickus](/forum/user/8007-patrickus "View patrickus's Profile")  Replied by *[patrickus](/forum/user/8007-patrickus "View patrickus's Profile")* on topic *[Re: Déplacer la description du produit](/forum/5-support-en-francais-french-support-/67358-deplacer-la-description-du-produit#67393 "Bonjour, Je voudrais utiliser votre composant comme catalogue, donc sans fonction de panier. Pour obtenir un affichage plus esthétique dans ce cas, je voudrais que la description des objets soit à coté des images, sous le &quot;mini vote&quot;. J'ai regardé le code du fichier &quot;show&#95;default.php&quot; .... mais si je pouvais avoir un coup de main ... Merci d'avance Patrick")*

Bonjour Mohamed,
D'abord merci pour votre réponse aussi rapide.

J'ai déja essayé de déplacer ce bout de code, mais le problème, c'est que lorsque je fait cette manip, le "mini vote" et la description passent sous l'image, comme si ils étaient palacés dans le bottom_part...
Firebug les voient bien dans le right_part ...

Cordialement
Patrick

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

14 years 1 month ago [\#67494](#67494) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Déplacer la description du produit](/forum/5-support-en-francais-french-support-/67358-deplacer-la-description-du-produit#67494 "Bonjour, Je voudrais utiliser votre composant comme catalogue, donc sans fonction de panier. Pour obtenir un affichage plus esthétique dans ce cas, je voudrais que la description des objets soit à coté des images, sous le &quot;mini vote&quot;. J'ai regardé le code du fichier &quot;show&#95;default.php&quot; .... mais si je pouvais avoir un coup de main ... Merci d'avance Patrick")*

Bonjour,
Il faut rajouter une largeur sur le right_part car la description est trop grosse sinon et "veut" s'étaler sur toute la largeur de la page:

.hikashop_product_right_part{
width 45%
}

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

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

Less More

- Posts: 59
- Thank you received: 1
-
-

14 years 1 month ago [\#67498](#67498) by [patrickus](/forum/user/8007-patrickus "View patrickus's Profile")  Replied by *[patrickus](/forum/user/8007-patrickus "View patrickus's Profile")* on topic *[Re: Déplacer la description du produit](/forum/5-support-en-francais-french-support-/67358-deplacer-la-description-du-produit#67498 "Bonjour, Je voudrais utiliser votre composant comme catalogue, donc sans fonction de panier. Pour obtenir un affichage plus esthétique dans ce cas, je voudrais que la description des objets soit à coté des images, sous le &quot;mini vote&quot;. J'ai regardé le code du fichier &quot;show&#95;default.php&quot; .... mais si je pouvais avoir un coup de main ... Merci d'avance Patrick")*

Bonjour,

Merci beaucoup, ça fonctionne nickel!

Patrick

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

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