No Product images please.

24.09.2013 14:03
#1
Fintan
Joomshopping forum user no avatar
Name: Fred
10.12.2011
Posts: 39
Quote
No Product images please.

I am making a site for a small restaurant with daily menus. He does not need images for each product. How can I get rid of the "no image" place holder?


Joomla: Joomla 2.5.14
JoomShopping: Joomshop 3-15

Last change: 24.09.2013 14:03
 
24.09.2013 14:05
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: No Product images please.

Change template
http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/3567.html?lang=en

 
24.09.2013 14:26
#3
Fintan
Joomshopping forum user no avatar
Name: Fred
10.12.2011
Posts: 39
Quote
Aw: No Product images please.

Okay I delete this from line 36 in:
components\com_jshopping\templates\default\product\product_default.php - product detail

<span id='list_product_image_middle'>
<?php if(!count($this->images)){?>
<img id = "main_image" src = "<?php print $this->image_product_path?>/<?php print $this->noimage?>" alt = "<?php print htmlspecialchars($this->product->name)?>" />
<?php }?>
<?php foreach($this->images as $k=>$image){?>
<a class="lightbox" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>" <?php if ($k!=0){?>style="display:none"<?php }?>>
<img id = "main_image_<?php print $image->image_id?>" src = "<?php print $this->image_product_path?>/<?php print $image->image_name;?>" alt="<?php print htmlspecialchars($image->_title)?>" title="<?php print htmlspecialchars($image->_title)?>" />
<div class="text_zoom">
<img src="<?php print $this->path_to_image?>search.png" alt="zoom" /> <?php print _JSHOP_ZOOM_IMAGE?>
</div>
</a>
<?php }?>
</span>

No change.

I renamed noimage.gif. The image is gone but the alt-text stays.

 


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.