How can i make short-description display as a list?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 anos atrás
Hello

I just want to know who can i make short description display as a bullet-list, instead off a paragraph?

I am using nopcommerce 3.30
Them: Powerhub

Thank you
10 anos atrás
Just put html in your product's Short Description field -e.g.

<ul style="text-align:left; padding:0; margin-top: 0; margin-left: 15px;">
<li>Organic</li>
<li>Fresh fragrance</li>
<li>No residue</li>
</ul>
10 anos atrás
this will bein the style.css or html file?
10 anos atrás
In Admin, edit a product.  Just paste the html into the Short Description field.
10 anos atrás
Ok, thank You
10 anos atrás
Thank You it work :),

now how can i make the product short description to expand so it can show all the information in the description box when client is looking at the grid or list in the catalog view?.
9 anos atrás
How can edit to auto set-up list-style like in full description?
9 anos atrás
"auto set-up"???  Would you explain more what you're trying to do?
9 anos atrás
Example:
I paste content in short description of admin section:

this is paragraph 1
this is paragraph 2
this is paragraph 3
this is paragraph 4


Resut in front of Short Description will styling list type


1. this is paragraph 1
2. this is paragraph 2
3. this is paragraph 3
4. this is paragraph 4
9 anos atrás
ngtrian wrote:
Example:
I paste content in short description of admin section:

this is paragraph 1
this is paragraph 2
this is paragraph 3
this is paragraph 4


Resut in front of Short Description will styling list type


1. this is paragraph 1
2. this is paragraph 2
3. this is paragraph 3
4. this is paragraph 4


Hi,

You can do it by following steps:

- Open the "Nop.Admin/Views/Product/_CreateOrUpdate.Info.cshtml" file
- Modify following line of code:
ORIGINAL

@Html.TextAreaFor(model => model.Locales[item].ShortDescription, new { style = "Width: 250px; Height: 150px;" })

MODIFIED

@Html.EditorFor(model => model.Locales[item].ShortDescription, "RichEditor")

Hope this help :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.