Salutare dragi colegi,
Am o intrebare la voi... cum se poate face, sau daca exista vre-un modul, care sa mute atributele in acelasi tab cu descrierea (sa apara sub descriere)
Multumesc anticipat!
Este o simpla problema de mutare cod in catalog/view/theme/tema-ta/template/product.tpl
codul:
il stergi.
codul:
il modifici in
si il pui imediat dupa
(inainte de acel </div> de pe aceeasi linie)
codul:
Code: Select all
<?php if ($attribute_groups) { ?>
<li><a href="#tab-specification" data-toggle="tab"><?php echo $tab_attribute; ?></a></li>
<?php } ?>
codul:
Code: Select all
<?php if ($attribute_groups) { ?>
<div class="tab-pane" id="tab-specification">
<table class="table table-bordered">
<?php foreach ($attribute_groups as $attribute_group) { ?>
<thead>
<tr>
<td colspan="2"><strong><?php echo $attribute_group['name']; ?></strong></td>
</tr>
</thead>
<tbody>
<?php foreach ($attribute_group['attribute'] as $attribute) { ?>
<tr>
<td><?php echo $attribute['name']; ?></td>
<td><?php echo $attribute['text']; ?></td>
</tr>
<?php } ?>
</tbody>
<?php } ?>
</table>
</div>
<?php } ?>
Code: Select all
<?php if ($attribute_groups) { ?>
<table class="table table-bordered">
<?php foreach ($attribute_groups as $attribute_group) { ?>
<thead>
<tr>
<td colspan="2"><strong><?php echo $attribute_group['name']; ?></strong></td>
</tr>
</thead>
<tbody>
<?php foreach ($attribute_group['attribute'] as $attribute) { ?>
<tr>
<td><?php echo $attribute['name']; ?></td>
<td><?php echo $attribute['text']; ?></td>
</tr>
<?php } ?>
</tbody>
<?php } ?>
</table>
<?php } ?>
Code: Select all
<div class="tab-pane active" id="tab-description"><?php echo $description; ?>
Who is online
Users browsing this forum: No registered users and 155 guests