|
|||||||
![]() |
|
|
LinkBack | Themen-Optionen | Thema durchsuchen | Ansicht |
|
|
#1 (permalink) |
|
Benutzer
|
Hallo Leute
Ich habe das Problem, dass auf einer Website mit Shop die Mengenrabatte unterschiedlich dargestellt werden - siehe Pfeffermahlwerk komplett Und so sollte es dargestellt werden: Mahlkopf Kann mir jemand erklären, wieso diese unterschiedlichen Darstellungen passieren?! Artikel wurde meines Erachtens genau gleich erfasst, jedoch anders dargestellt! Danke für die Hilfe :-) |
|
|
|
|
|
#3 (permalink) |
|
Benutzer
|
Hallo Conny
Danke für die schnelle Antwort. Diese Angaben sind bereits vorhanden! Ich gehe davon aus, dass du die Datei meinst, welche unter dem folgenden Pfad zu finden ist: common - shop - product.php Code:
'</br />';
$rebatetext = str_replace("'", "", $rebatetext);
$template->loop('variationa', array(
'i' => $num,
'attributevalue' => $value,
'selected' => $num == $product_data->defaulta ? 'selected="selected"' : '',
'id' => $product_data->id[$num],
'weight' => $product_data->weight[$num],
'status' => $product_data->status[$num],
'rebatetext' => $rebatetext,
'price' => $product_data->price[$num],
'originalprice' => $product_data->originalprice[$num],
));
}
} else if ($product_data->variations == 2) {
foreach($product_data->variationbcaption as $bnum => $bvalue) {
$template->loop('variationb', array(
'i' => $bnum,
'attributevalue' => $bvalue,
'selected' => $bnum == $product_data->defaultb ? 'selected="selected"' : '',
));
}
foreach($product_data->variationacaption as $anum => $avalue) {
$template->loop('variationa', array(
'i' => $anum,
'attributevalue' => $avalue,
'selected' => $anum == $product_data->defaulta ? 'selected="selected"' : '',
));
foreach($product_data->variationbcaption as $bnum => $bvalue) {
// Rabatte
$rebatetext = '';
if (CC_SITE_SHOWREBATES)
for ($i = 1; $i <= 5; $i++)
if ($product_data->rebatefrom[$anum][$bnum][$i] > 0)
$rebatetext .=
$product_data->rebatefrom[$anum][$bnum][$i].' '.
$product_data->unit.' '.
'<span lang="'.$product_data->rebateprice[$anum][$bnum][$i].'" id="rebateprice'.$i.'">'.
format::price($product_data->rebateprice[$anum][$bnum][$i], CC_SITE_CURRENCY).
'</span></br />'
Geändert von voodoo36 (09.02.2010 um 14:38 Uhr) |
|
|
|
![]() |
| Lesezeichen |
| Stichworte |
| darstellung, design, mengenrabatte, phi |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Pictogramm Darstellung ändern | Kollerp | Web to Date 6.0 | 4 | 22.01.2010 14:44 |
| Fragen zur Darstellung | heimo1 | Web to Date 6.0 | 2 | 01.11.2009 11:01 |
| RSS-Feed-Darstellung | Heinz | Web to Date 5.0 | 8 | 10.09.2009 11:33 |
| Darstellung | edvjojo | Web to Date Forum | 6 | 20.07.2009 14:07 |
| Darstellung in IE-8 (32 & 64 Bit-Version) | Andreas | Web to Date 6.0 | 0 | 25.04.2009 00:04 |