How to truncate product descriptions

  • Posts: 121
  • Thank you received: 2
3 years 10 months ago #327797

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.3.25
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : N/A

I would like to truncate lengthy product descriptions in the product list if the descriptions are longer than usual. What's the best way to go about this?

Please Log in or Create an account to join the conversation.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
3 years 10 months ago #327802

Hi,

Add a read more tag to the description and it will remove automatically everything after the read more tag including it.
In the HikaShop configuration you can activate the "read more" setting and you'll then have a "read mode" button in the HTML editor of the description where you can click on to add the tag to the description.

The following user(s) said Thank You: andrewwinkler

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum