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
28.06.2015 18:18
|
|
LukyP
Name: Ludwig Puncochar
26.06.2013
Posts: 45
|
|
29.06.2015 14:09
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25919
|
|
29.06.2015 15:33
|
|
LukyP
Name: Ludwig Puncochar
26.06.2013
Posts: 45
|
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
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25919
|
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;?> |