Skip to main content

two type of description

More
13 years 7 months ago #92399 by danilo87
hi, i have a problem with view,

i have a listing views with many different column, the order is
name- photo- description- price- add to cart
fino a qui tutto va bene
up to here is all perfect, but for the product that have a description too long, it is orrible to see all these words on a page


my question is:

piu lunga

can i have 2 different kind of description? a shorter description to put on the list of products and a longest description to put on the product page

i tried with module in description, but in list of product remains the written "{loadposition nomeposizione}"

what can i do?

thanks for reply

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

More
13 years 7 months ago #92422 by Mohamed Thelji
Hi,

I think that you'll find more information there :

below the editor you have a "read more" button you can click on to add that in the description. If you don't have it, you can activate the "read more" button in the hikashop configuration.
Or you can add the HTML code directly:
<hr id="system-readmore" />

The following user(s) said Thank You: danilo87

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

More
13 years 6 months ago #92870 by danilo87
Replied by danilo87 on topic two type of description
hi

i try to use this divider in the product description, but it not cuts the description on the listings, you can see in attachment

thanks

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

More
13 years 6 months ago #92918 by Mohamed Thelji
Ok, so can you show me how did you set your product description ?
The following user(s) said Thank You: danilo87

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

More
13 years 6 months ago #93091 by danilo87
Replied by danilo87 on topic two type of description
<p>Per HP Photosmart C 5380, C 6380, D 5460, PRO B 8550, C 5324 AIO. Compatibile con CB321EE</p>

<hr id="system-readmore" /> 155555555555555555555555555555555555555555555555555 5555555555555555555555555555555555555555555555555555

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

More
13 years 6 months ago #93129 by Xavier
Replied by Xavier on topic two type of description
Hi,

Are you using the view "product / listing_table" ?

Try to edit it and replace:
Code:
echo $this->row->product_description;
By:
Code:
echo preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->row->product_description);
The following user(s) said Thank You: danilo87

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

More
13 years 6 months ago #93149 by danilo87
Replied by danilo87 on topic two type of description
perfect now work

thanks very much and apologise for any inconvenience.

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

Time to create page: 0.304 seconds
Powered by Kunena Forum