Show attributes in Frontend - Help

03.07.2013 19:31
#1
adrianverkia
Joomshopping forum user no avatar
Name: adrian
03.07.2013
Posts: 1
Quote
Show attributes in Frontend - Help

Hello, I need to show an attribute (size of clothes and is dependent) in the list view of the articles.
I copied this from "com_jshopping/templates/default/product/product_default.php" to "com_jshopping/templates/default/list_products/product.php":

<?php if (count($this->attributes)){?>
<div class="jshop_prod_attributes">
<table class="jshop">
<?php foreach($this->attributes as $attribut){?>
<tr>
<td class="attributes_title">
<span class="attributes_name"><?php print $attribut->attr_name?>:</span><span class="attributes_description"><?php print $attribut->attr_description;?></span>
</td>
<td>
<span id='block_attr_sel_<?php print $attribut->attr_id?>'>
<?php print $attribut->selects?>
</span>
</td>
</tr>
<?php }?>
</table>
</div>
<?php }?>

But does not work, someone can help me please?


Joomla: 3
JoomShopping: 4.2.2
PHP: 5.3
 
03.07.2013 19:58
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: Show attributes in Frontend - Help

http://www.webdesigner-profi.de/joomla-webdesign/shop/addons/ajax-cart.html

 
Copyrights MAXXmarketing GmbH. All Rights Reserved