Display error problem

  • Posts: 85
  • Thank you received: 0
8 years 6 months ago #254871

-- HikaShop version -- : 2.6.4

Hi,

Today I upload many product in a category, and on the frontend I saw the picture what I attached and I don't know what I made wrong.

The bootstrap.css belongs to the Joomla template, but before this I never saw this problem and never happaned this.

Regards,

Attachments:
Last edit: 8 years 6 months ago by palee3.

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

  • Posts: 85
  • Thank you received: 0
8 years 6 months ago #254874

Hi,
I found the problem. The problem was the 50 char description, I disabled it.

Can you help me in that how can I display only the readmore paragraph? I turned on the readmore (System/Configuration/Main), but the readmore paragraph do not display.

I tried to use the code from product/show_default in product / listing_img_title

<?php
echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));		
?>

Last edit: 8 years 6 months ago by palee3.

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
8 years 6 months ago #254901

Hi,

The read more setting of the HikaShop configuration will only add the read more button to the product description edition interface.

You still need to add the readmore tag

<hr id="system-readmore" />
(what the readmore button does when you click on it) in the description of the products where you want the system to do the cut. And it will do it automatically on the listing if you select the "image and description" layout in your listing, but for the "image and title" view, it's up to you to add the code. I would recommend to take the code from the "listing_img_desc" view file. It's much more adapted to the listing_img_title that the code from show_default.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum