How to display image category next to the category name

16.10.2013 06:42
#1
atamann
Joomshopping forum user no avatar
Name: Alex
16.10.2013
Сообщения: 1
Quote
How to display image category next to the category name

Hello evrybody!

How to display a picture (that's this: http://i017.radikal.ru/1310/f7/353c63a8ee46.jpg) category to the category name (here: http://s020.radikal.ru/i717/1310/48/dac1f3ba669e. jpg)?

It is necessary that it had shown and when a list of all the goods, and when a product is viewed separately.

If you watch the file templates \list_products\product.php I made a block following:

[code]
<div class="name">
<a href="<?php print $product->product_link?>"><?php print $product->name?></a>
<?php if ($this->config->product_list_show_product_code){?><span class="jshop_code_prod">(<?php print _JSHOP_EAN?>: <span><?php print $product->product_ean;?></span>)</span><?php }?>
</div>
[/code]

insert

[code]
<div class="imgCategory">
         / / It is necessary to bring photo category
</div>
[/code]


Joomla: 3
JoomShopping: 4.3.3
PHP: 5
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.