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

Add an HTML Grid to a Single Product
 
itdeptcorp01
Jr. Member
 
Total Posts:  10
Joined:  2008-06-03
 

Hello,

We have a product which we would like to display the Sizes.

Example: We are selling a belt - In the Short description we wanted to show a nice GRID showing the “Suggested Size Waist”

<br><table width="300" border="2"
<
tbody><tr>  
<
td><b>SPECS</b></td
<
td><b>SMALL</b></td
<
td><b>MEDIUM</b></td>  
<
td><b>LARGE</b></td
</
tr
<
tr>   
<
td><b>LENGTH</b></td
<
td>36"</td> 
<td>48"
</td>
<
td>60"</td> 
</tr> 
<tr>
<td><b>WAIST</b></td>
<td>22" 
36"</td>
<td>34" 
48"</td>
<td>46" 
60"</td>
</tr>
<tr>
<td><b>HANDLES</b></td>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
</tbody></table> 
- "
Fix-lock" buckle allows belt to be re tightened without having to remove belt 
- Numerous handles provide a stable and secure transfer 
- Available in four sizes

However when we paste this code into the “Short Description” field in the Product - The grid shows up but is pushed very far down the page?

Any help would be great or suggestions as to what could be a better option?

Regards,
Mark Leon

 
Magento Community Magento Community
Magento Community
Magento Community
 
CirTap
Jr. Member
 
Avatar
Total Posts:  30
Joined:  2008-02-16
 

Hi,
it’s the line-feeds that are turned into <br />.Make sure that markup is a one-liner.

And you may want to use <table class="data-table"> rather than <table width="300" border="2">
“data-table” will stretch and fit to the available width and matches the store design.

Have fun,
CirTap

 
Magento Community Magento Community
Magento Community
Magento Community
 
CirTap
Jr. Member
 
Avatar
Total Posts:  30
Joined:  2008-02-16
 

one thing though: make sure you have some content in the “Meta Description” if you use HTML in the short description as it will appear with all the markup escaped!
Looks pretty ugly.

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