Answer the question
In order to leave comments, you need to log in
How to display only the first three attributes?
Specifications are displayed on the site in the catalog.
But this is done with code like this
<table class="short_haracter">
<tbody>
<tr>
<td>Высота</td>
<td><?php global $product;echo $product->get_attribute('vysota-sm'); ?> </td>
</tr>
<tr>
<td>Жесткость</td>
<td><?php global $product;echo $product->get_attribute('zhestkost'); ?> </td>
</tr>
<tr>
<td>Мах нагрузка на спальное место</td>
<td><?php global $product;echo $product->get_attribute('mah-nagruzka-na-spalnoe-mes'); ?> </td>
</tr>
</tbody>
</table>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question