Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Bullet list in Additional Information section under product view
 
Christian_Norway
Sr. Member
 
Total Posts:  135
Joined:  2008-06-18
 

Hei folks,

I’ve been trying to create a list in a “text-field” and a “text-area” attribute.

See example of what I would like to achieve in the in-depth field: http://helsekost.amedisin.no/asics-men-s-gel-kayano-xii-1.html

I have tried with <ul><li>.... and #.. but neither works…

The sample text is like this:

# I.G.S.?: Allows for natural foot movement from heel strike to toe-off
# DuoMax? Support System: Maintains proper support for the foot during the critical transition from heel strike to toe-off
# Space Trusstic System?: Allows for greater midsole deformation and more efficient foot function
# GEL? Cushioning System: Provides maximum rearfoot/forefoot shock attenuation
# Biomorphic Fit Upper: Provides enhanced upper fit and comfort while limiting irritation

Do I have to add some style to the attribute set or the attribute itself?

 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

You can do something like this
in CSS, add this (I think the box.css already has the declared):

.disc li { margin-left:20px;list-style-type: disc;padding-bottom: 5px;}

then in the In Depth attribute, if you like you can add markup in Default value so that you don’t need to manually enter it each time you add a new product.

<ul class="disc">
<li>enter list item 1</li>
<li>enter list item 2</li>
<li> if no content for In Depth attribute, remove it</li>
</ul>

Now everytime you add a new product, the In Depth textarea block will have the above code.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Christian_Norway
Sr. Member
 
Total Posts:  135
Joined:  2008-06-18
 

What if I want a table in text-field or text-area (What is the difference by the way)

is it just the normal

<table class="foo">
<tr><th>Header</th></tr>
<tr><td>Content cell A1</td></tr>
</table>

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top