Subversion Repositories wpShopGermany4

Rev

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

Rev 7589 Rev 7596
Line 13... Line 13...
13
	
13
	
14
    $min = wpsg_tf($oProduct->__get('wpsg_mod_voucherproduct_flexprice_min'));
14
    $min = wpsg_tf($oProduct->__get('wpsg_mod_voucherproduct_flexprice_min'));
15
    $max = wpsg_tf($oProduct->__get('wpsg_mod_voucherproduct_flexprice_max'));
15
    $max = wpsg_tf($oProduct->__get('wpsg_mod_voucherproduct_flexprice_max'));
16
    
16
    
17
    if ($min > 0 && $max > 0) $strInterval = __('#1# bis #2# #3#', 'wpsg');
17
    if ($min > 0 && $max > 0) $strInterval = __('#1# bis #2# #3#', 'wpsg');
18
    else if ($min > 0) $strInterval = __('Mindestens #1# #3#', 'wpsg');
18
    else if ($min > 0) $strInterval = __('ab #1# #3#', 'wpsg');
19
	else if ($max > 0) $strInterval = __('Maximal #2# #3#', 'wpsg');
19
	else if ($max > 0) $strInterval = __('bis #2# #3#', 'wpsg');
20
	else throw new \Exception(__('Systemfehler'));
20
	else $strInterval = "";
21
    
21
    
22
	$strInterval = wpsg_translate($strInterval, wpsg_ff($min), wpsg_ff($max), $this->get_option('wpsg_currency'));
22
	$strInterval = wpsg_translate($strInterval, wpsg_ff($min), wpsg_ff($max), $this->get_option('wpsg_currency'));
23
	
23
	
24
?>
24
?>
25
 
25