Hallo,
ich habe nun noch einmal was anderes versucht, was eigentlich auch funktionieren sollte. *SOLLTE*
	
nicht einmal das klappt... 
ich setze hier:
	
und
	
ein echo davor und alles wir richtig angezeigt. Nur nicht hier:
	
an dieser Stelle, wird auch wieder das $menge = $productss['quantity'] benutzt.
							
						
					ich habe nun noch einmal was anderes versucht, was eigentlich auch funktionieren sollte. *SOLLTE*
PHP-Code:
	
	
              $productss_query = tep_db_query("select 
p.price_group, ph.photo_size, ph.quantity, ph.photo_id, ph.photo_id, 
ph.photo_price, ph.tax_class_id from " . TABLE_PHOTO_INFO . " ph, " . 
TABLE_PRODUCTS . " p where p.products_id = '" . (int)$products_id . "' 
and  ph.price_group = p.price_group and ph.language_id  = '" . (int)
$languages_id . "'");
        while($productss = tep_db_fetch_array($productss_query)) {
 if( ( $cart_quantity_photo[(int)$products_id.$productss['photo_id']] == '') 
|| $cart_quantity_photo[(int)$products_id.$productss['photo_id']] == $productss['quantity']) {
 $menge = $productss['quantity'];
 } else {
 $menge = $cart_quantity_photo[(int)$products_id.$productss['photo_id']];
}
                   $size[] = array('photo_size' => $productss['photo_size'],
                                 'photo_price' => $productss['photo_price'],
                                 'photo_tax' => $productss['tax_class_id'],
                                 'id_photo' => $prid,
                                 'photo_id' => $productss['photo_id'],
                                 (int)$products_id . $productss['photo_id'] => $menge);
} 
ich setze hier:
PHP-Code:
	
	
$menge = $productss['quantity']; 
PHP-Code:
	
	
$menge = $cart_quantity_photo[(int)$products_id.$productss['photo_id']]; 
PHP-Code:
	
	
$size[] = array('photo_size' => $productss['photo_size'],
                                 'photo_price' => $productss['photo_price'],
                                 'photo_tax' => $productss['tax_class_id'],
                                 'id_photo' => $prid,
                                 'photo_id' => $productss['photo_id'],
                                 (int)$products_id . $productss['photo_id'] => $menge); 
 
          
Kommentar