Subversion Repositories wpShopGermany4

Rev

Rev 7841 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7841 Rev 8182
Line 20... Line 20...
20
		</a>
20
		</a>
21
	</div>
21
	</div>
22
	<div class="wpsg_pgruppen_list_produkte">	
22
	<div class="wpsg_pgruppen_list_produkte">	
23
		<?php for ($i = 0; $i < $showP && $i < sizeof($g['produkte']); $i ++) { ?>
23
		<?php for ($i = 0; $i < $showP && $i < sizeof($g['produkte']); $i ++) { ?>
24
 
24
 
25
            <?
25
            <?php
26
 
26
 
27
            $lagerbestand = $this->callMod('wpsg_mod_stock', 'getBestand', [$g['produkte'][$i]['id']]);
27
                if ($this->hasMod('wpsg_mod_stock')) $lagerbestand = $this->callMod('wpsg_mod_stock', 'getBestand', [$g['produkte'][$i]['id']]);
-
 
28
                else $lagerbestand = 1;
28
 
29
 
29
            ?>
30
            ?>
30
 
31
 
31
            <?php if ($lagerbestand <= 0) { ?>
32
            <?php if ($lagerbestand <= 0) { ?>
32
 
33