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

#   Short Description in Products View (Easy Method)

##

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

Less More

- Posts: 4
- Thank you received: 2
-
-
- [](https://webilicious.com.au)
-

6 years 6 months ago [\#318973](#318973) by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")  *[Short Description in Products View (Easy Method)](/forum/26-product-category-display/899826-short-description-in-products-view-easy-method#318973 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.17 -- Browser(s) name and version -- : Firefox 76.0  Despite there being quite a few posts already on how to include a short description with products listings, I was not able to create a custom field in the products table or find the correct view in Display -&gt; View to be able to insert appropriate code.  I worked out an alternative method that is simpler for me and may be simpler for others so will share it here.  Edit the menu option, select the Div tab and choose the &quot;Image and description&quot; Layout type so that the description is displayed along side each product on the product listings page.  In the description field, add a short description and a long description enclosing the descriptions with appropriate CSS classes like this:  Add the following CSS code to the custom CSS file for your template (see template documentation for details):  The short description will now appear on the product listings page and the long description will now appear on the product detail page.")* was created by *[ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")*

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.3.17
-- Browser(s) name and version -- : Firefox 76.0

Despite there being quite a few posts already on how to include a short description with products listings, I was not able to create a custom field in the products table or find the correct view in Display -&gt; View to be able to insert appropriate code.

I worked out an alternative method that is simpler for me and may be simpler for others so will share it here.

Edit the menu option, select the Div tab and choose the "Image and description" Layout type so that the description is displayed along side each product on the product listings page.

In the description field, add a short description and a long description enclosing the descriptions with appropriate CSS classes like this:
Code:

&lt;div class="short-description"&gt; content &lt;/div&gt; &lt;div class="long-description"&gt; content &lt;/div&gt;

Add the following CSS code to the custom CSS file for your template (see template documentation for details):
Code:

.hikashop_products_listing .long-description {display: none;} .hikashop_product_page .short-description {display: none;}

The short description will now appear on the product listings page and the long description will now appear on the product detail page.

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

6 years 6 months ago [\#318982](#318982) 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 *[Short Description in Products View (Easy Method)](/forum/26-product-category-display/899826-short-description-in-products-view-easy-method#318982 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.17 -- Browser(s) name and version -- : Firefox 76.0  Despite there being quite a few posts already on how to include a short description with products listings, I was not able to create a custom field in the products table or find the correct view in Display -&gt; View to be able to insert appropriate code.  I worked out an alternative method that is simpler for me and may be simpler for others so will share it here.  Edit the menu option, select the Div tab and choose the &quot;Image and description&quot; Layout type so that the description is displayed along side each product on the product listings page.  In the description field, add a short description and a long description enclosing the descriptions with appropriate CSS classes like this:  Add the following CSS code to the custom CSS file for your template (see template documentation for details):  The short description will now appear on the product listings page and the long description will now appear on the product detail page.")*

Hello,

Thanks a lot for your feedback and your contribution to the Hikashop community !

We wish you a nice day !
Kind regards,
Mohamed

The following user(s) said Thank You: [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")

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

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