Freie Attribute oben (vor normalen Attributen) anzeigen

28.06.2015 18:18
#1
LukyP
Joomshopping forum user no avatar
Name: Ludwig Puncochar
26.06.2013
Posts: 45
Quote
Freie Attribute oben (vor normalen Attributen) anzeigen

Hallo,

ich habe das Problem, das die normalen Attribute noch vor den freien Attributen angezeigt werden, wie kann es einrichten, dass die freien Attribute vor den normalen Attributen angezeigt werden? Ist es überhaupt möglich?

Danke für Hilfe
Freie Attribute oben (vor normalen Attributen) anzeigen

 
29.06.2015 14:09
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Freie Attribute oben (vor normalen Attributen) anzeigen

Change template joomshopping

 
29.06.2015 15:33
#3
LukyP
Joomshopping forum user no avatar
Name: Ludwig Puncochar
26.06.2013
Posts: 45
Quote
Aw: Freie Attribute oben (vor normalen Attributen) anzeigen

webdesigner - 29.06.2015 14:09
Change template joomshopping


Und was muss ich dort ändern? Ich habe den passenden gefunden Teil nicht gefunden. Code-Beispiel?

And what I need to change there? I have the right found part not found. Code sample?

Danke für Hilfe

 
30.06.2015 07:46
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Freie Attribute oben (vor normalen Attributen) anzeigen

components\com_jshopping\templates\default\product\product_default.php

code free atribute (row 148-168)

<?php if (count($this->product->freeattributes)){?>
<div class="prod_free_attribs jshop">
<?php foreach($this->product->freeattributes as $freeattribut){?>
<div class = "row-fluid">
<div class="span2 name">
<span class="freeattribut_name"><?php print $freeattribut->name;?></span>
<?php if ($freeattribut->required){?><span>*</span><?php }?>
<span class="freeattribut_description"><?php print $freeattribut->description;?></span>
</div>
<div class="span10 field">
<?php print $freeattribut->input_field;?>
</div>
</div>
<?php }?>
<?php if ($this->product->freeattribrequire) {?>
<div class="requiredtext">* <?php print _JSHOP_REQUIRED?></div>
<?php }?>
</div>
<?php }?>

<?php print $this->_tmp_product_html_after_freeatributes;?>



Code attribute (row 121-146)


<?php print $this->_tmp_product_html_before_atributes;?>

<?php if (count($this->attributes)) : ?>
<div class="jshop_prod_attributes jshop">
<?php foreach($this->attributes as $attribut) : ?>
<?php if ($attribut->grshow){?>
<div>
<span class="attributgr_name"><?php print $attribut->groupname?></span>
</div>
<?php }?>
<div class = "row-fluid">
<div class="span2 attributes_title">
<span class="attributes_name"><?php print $attribut->attr_name?>:</span>
<span class="attributes_description"><?php print $attribut->attr_description;?></span>
</div>
<div class = "span10">
<span id='block_attr_sel_<?php print $attribut->attr_id?>'>
<?php print $attribut->selects?>
</span>
</div>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?>

<?php print $this->_tmp_product_html_after_atributes;?>

 
Copyrights MAXXmarketing GmbH. All Rights Reserved