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

#   Some Displays questions

##

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

Less More

- Posts: 20
- Thank you received: 3
-
-

5 years 8 months ago [\#329687](#329687) by [amaurice](/forum/user/60055-amaurice "View amaurice's Profile")  *[Some Displays questions](/forum/26-product-category-display/901947-some-displays-questions#329687 "Hello, I have 4 questions for displaying properly some content : 1) on this list of product, i want to display first the name of the product and under the price, all centered :   simplecommewebtest.com/DinEtDom/index.php/collection/filles , how can i make that please? 2) on this product page :   simplecommewebtest.com/DinEtDom/hikashop.../1-la-robe-champetre  the description is shown 2 times. The first time (in raw html) i don't want to show it, only the description that is currently under it but with all the rich text. I can't find why it it shown twice... 3) on this page i have put in the description a plugin ({modal url=&quot;index.php/guides-des-tailles&quot;}guide des tailles{/modal}) to display a size guide in pop-up but it doesn't appear on the product description. Is there any thing to do ? 4) Where can i put a Title on the related product under the description?  Thank you very much for your help !!!")* was created by *[amaurice](/forum/user/60055-amaurice "View amaurice's Profile")*

Hello, I have 4 questions for displaying properly some content :
1) on this list of product, i want to display first the name of the product and under the price, all centered : [ simplecommewebtest.com/DinEtDom/index.php/collection/filles](https://simplecommewebtest.com/DinEtDom/index.php/collection/filles), how can i make that please?
2) on this product page : [ simplecommewebtest.com/DinEtDom/hikashop.../1-la-robe-champetre](https://simplecommewebtest.com/DinEtDom/hikashop-menu-for-categories-listing/product/1-la-robe-champetre) the description is shown 2 times. The first time (in raw html) i don't want to show it, only the description that is currently under it but with all the rich text. I can't find why it it shown twice...
3) on this page i have put in the description a plugin ({modal url="index.php/guides-des-tailles"}guide des tailles{/modal}) to display a size guide in pop-up but it doesn't appear on the product description. Is there any thing to do ?
4) Where can i put a Title on the related product under the description?

Thank you very much for your help !!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE5NDctc29tZS1kaXNwbGF5cy1xdWVzdGlvbnM/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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

5 years 8 months ago [\#329691](#329691) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Some Displays questions](/forum/26-product-category-display/901947-some-displays-questions#329691 "Hello, I have 4 questions for displaying properly some content : 1) on this list of product, i want to display first the name of the product and under the price, all centered :   simplecommewebtest.com/DinEtDom/index.php/collection/filles , how can i make that please? 2) on this product page :   simplecommewebtest.com/DinEtDom/hikashop.../1-la-robe-champetre  the description is shown 2 times. The first time (in raw html) i don't want to show it, only the description that is currently under it but with all the rich text. I can't find why it it shown twice... 3) on this page i have put in the description a plugin ({modal url=&quot;index.php/guides-des-tailles&quot;}guide des tailles{/modal}) to display a size guide in pop-up but it doesn't appear on the product description. Is there any thing to do ? 4) Where can i put a Title on the related product under the description?  Thank you very much for your help !!!")*

Hi,

1. By default the price and the name of the products are already displayed centered but the name is below the price.
On your website, I can see custom CSS added to the file [ simplecommewebtest.com/DinEtDom/templates/xprime/css/custom.css](https://simplecommewebtest.com/DinEtDom/templates/xprime/css/custom.css) to move the price and names on the same row.
So first, you would have to remove that extra CSS from there:
[ i.imgur.com/Me5FUkS.png](https://i.imgur.com/Me5FUkS.png)
[ i.imgur.com/lnvw9u7.png](https://i.imgur.com/lnvw9u7.png)
You can see the CSS code I deactivated to get that.
Then, you can edit the file product / listing_img_title.php via the menu Display&gt;Views and swap the price area and the name area as per the instructions here:
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

2. This looks like some custom coding on the view file of the layout used to display that product page. You would have to activate the "Display view files" setting as explained in the link given in my answer to point 1 to check with view file is used for the product layout.
Then, you can edit it via the menu Display&gt;Views and search for the description display. It's likely to be product / show_default.php but it could be another one as it depends on how the "layout on product page" setting is configured in the product, in the category of the product and in the HikaShop configuration.

3. It actually appears in the description when you change the "taille" characteristic to "18-24 mois".
So either you've added that text only to the description of that one variant and not to the other variant, or the issue comes from the way the modal plugin process the tags and how the variant selector works.
So check the description of your variants. If you have the same thing on both (nothing at all, or the tag for both), then it's likely a problem between the way the modal plugin process the tags and how the variant selector works. In that case, edit the file product / show.php and remove the code: Code:

&lt;div id="hikashop_product_description_&lt;?php echo $variant_name; ?&gt;" style="display:none;"&gt;&lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$variant-&gt;product_description)); ?&gt;&lt;/div&gt;

and it should fix the problem.

4. Edit the related products module via the Joomla modules manager and activate the title display setting.

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

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

Less More

- Posts: 20
- Thank you received: 3
-
-

5 years 8 months ago [\#329791](#329791) by [amaurice](/forum/user/60055-amaurice "View amaurice's Profile")  Replied by *[amaurice](/forum/user/60055-amaurice "View amaurice's Profile")* on topic *[Some Displays questions](/forum/26-product-category-display/901947-some-displays-questions#329791 "Hello, I have 4 questions for displaying properly some content : 1) on this list of product, i want to display first the name of the product and under the price, all centered :   simplecommewebtest.com/DinEtDom/index.php/collection/filles , how can i make that please? 2) on this product page :   simplecommewebtest.com/DinEtDom/hikashop.../1-la-robe-champetre  the description is shown 2 times. The first time (in raw html) i don't want to show it, only the description that is currently under it but with all the rich text. I can't find why it it shown twice... 3) on this page i have put in the description a plugin ({modal url=&quot;index.php/guides-des-tailles&quot;}guide des tailles{/modal}) to display a size guide in pop-up but it doesn't appear on the product description. Is there any thing to do ? 4) Where can i put a Title on the related product under the description?  Thank you very much for your help !!!")*

Thanks so much Nicolas, everything worked great... Except the modal...
When i insert the code, the shortcode disapear in both variant. I put the short code in main and the two variants but it shows only in the second variant... Very weird... Do you have another Idear?

Thanks a lot !!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE5NDctc29tZS1kaXNwbGF5cy1xdWVzdGlvbnM/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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

5 years 8 months ago [\#329801](#329801) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Some Displays questions](/forum/26-product-category-display/901947-some-displays-questions#329801 "Hello, I have 4 questions for displaying properly some content : 1) on this list of product, i want to display first the name of the product and under the price, all centered :   simplecommewebtest.com/DinEtDom/index.php/collection/filles , how can i make that please? 2) on this product page :   simplecommewebtest.com/DinEtDom/hikashop.../1-la-robe-champetre  the description is shown 2 times. The first time (in raw html) i don't want to show it, only the description that is currently under it but with all the rich text. I can't find why it it shown twice... 3) on this page i have put in the description a plugin ({modal url=&quot;index.php/guides-des-tailles&quot;}guide des tailles{/modal}) to display a size guide in pop-up but it doesn't appear on the product description. Is there any thing to do ? 4) Where can i put a Title on the related product under the description?  Thank you very much for your help !!!")*

Hi,

Probably a problem with the way the plugin replaces the short code on the page.
In that case, make sure that the description is empty for both variants and only have the description with the short code in the main product. Combined with the code modification of product / show.php that I proposed in my previous message, it should then work fine.

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

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

Less More

- Posts: 20
- Thank you received: 3
-
-

5 years 8 months ago [\#329957](#329957) by [amaurice](/forum/user/60055-amaurice "View amaurice's Profile")  Replied by *[amaurice](/forum/user/60055-amaurice "View amaurice's Profile")* on topic *[Some Displays questions](/forum/26-product-category-display/901947-some-displays-questions#329957 "Hello, I have 4 questions for displaying properly some content : 1) on this list of product, i want to display first the name of the product and under the price, all centered :   simplecommewebtest.com/DinEtDom/index.php/collection/filles , how can i make that please? 2) on this product page :   simplecommewebtest.com/DinEtDom/hikashop.../1-la-robe-champetre  the description is shown 2 times. The first time (in raw html) i don't want to show it, only the description that is currently under it but with all the rich text. I can't find why it it shown twice... 3) on this page i have put in the description a plugin ({modal url=&quot;index.php/guides-des-tailles&quot;}guide des tailles{/modal}) to display a size guide in pop-up but it doesn't appear on the product description. Is there any thing to do ? 4) Where can i put a Title on the related product under the description?  Thank you very much for your help !!!")*

Thank you !!!

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

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