|
||||
|
zb das in der product_attributes.php
Code:
$price='Kein Aufpreis';
if ($products_options['options_values_price']!='0.00') {
$price = xtc_format_price(xtc_get_products_attribute_price($products_options['options_values_price'], $tax_class=$product_info['products_tax_class_id'],$price_special=0,$quantity=1,$prefix=$products_options['price_prefix']),1,0,1);
}
__________________
xt:Commerce Helpdesk xt:Commerce Blog xt:Commerce Warenwirtschaft ### ![]() Offene Stellen bei xt:Commerce! xt:Commerce stellt ein ### |
|
|||
|
jo, da muss ich auch nochmal nachhaken:
ich m?chte den eigentlichen Artikel nicht gro? 0,00 ? anzeigen lassen, sondern es soll nichts da stehen. die Preise der Artikel sollen rein durch die Attribute entstehen. macbar, das dort oben rechts nichts steht? danke |
|
||||
|
achso, dein grundartikel kostet 0.00 ?
dann musst du halt in der product_info.php solch ne abfrage einbauen.
__________________
xt:Commerce Helpdesk xt:Commerce Blog xt:Commerce Warenwirtschaft ### ![]() Offene Stellen bei xt:Commerce! xt:Commerce stellt ein ### |
|
||||
|
Code:
if (xtc_get_products_price($product_info['products_id'], $price_special=0, $quantity=1)!='0.00') {
$products_price=xtc_get_products_price($product_info['products_id'], $price_special=1, $quantity=1);
} else {
$products_price='';
__________________
xt:Commerce Helpdesk xt:Commerce Blog xt:Commerce Warenwirtschaft ### ![]() Offene Stellen bei xt:Commerce! xt:Commerce stellt ein ### |
|
||||
|
hm ja, aber das programmier ich nicht vor, ist etwas aufwendiger.
jedoch ist deine l?sung nicht wirklich brauchbar. was tun wenn du 2 optionen hast ? dann kennt sich keiner mehr aus. und dann steht ja oben 10, und in der lste 15, f?rn kunden und auch f?r mich sind das 25
__________________
xt:Commerce Helpdesk xt:Commerce Blog xt:Commerce Warenwirtschaft ### ![]() Offene Stellen bei xt:Commerce! xt:Commerce stellt ein ### |
|
||||
|
Zitat:
$price='Kein Aufpreis'; if ($products_options['options_values_price']!='0.00') { $price = xtc_format_price(xtc_get_products_attribute_price( $products_options['options_values_price'], $tax_class=$product_info['products_tax_class_id'],$price_special=0,$quantity=1,$prefix=$products_op tions['price_prefix']),1,0,1); } Denn dort werden immer noch die +o.oo euro angezeit ?? Markus |
|
||||
|
1:1 einf?gen kannst du das nicht, das musst du nat?rlich dort an die variablen anpassen.
__________________
xt:Commerce Helpdesk xt:Commerce Blog xt:Commerce Warenwirtschaft ### ![]() Offene Stellen bei xt:Commerce! xt:Commerce stellt ein ### |
![]() |
| Lesezeichen |
| Stichworte |
| attribute |
| Themen-Optionen | |
| Ansicht | |
|
|