|
|
|
1
1 -
|
|
valid()): ?>
current();
$current_quantity = $iterator->key();
$iterator->next();
if($iterator->valid()){
if($iterator->key() - $current_price == 1){
$quantity = $current_quantity;
}else{
$quantity = $current_quantity . ' - ' . intval($iterator->key() - 1 );
}
}else{
$quantity = $current_quantity . '+';
}
?>
|
|
|