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.
Hace 10 años
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
Hace 10 años
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>
Hace 10 años
this will bein the style.css or html file?
Hace 10 años
In Admin, edit a product.  Just paste the html into the Short Description field.
Hace 10 años
Ok, thank You
Hace 10 años
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?.
Hace 9 años
How can edit to auto set-up list-style like in full description?
Hace 9 años
"auto set-up"???  Would you explain more what you're trying to do?
Hace 9 años
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
Hace 9 años
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.