|
|||
|
Also ich h?tte gerne in der product_listing folgende Ausgabe:
F?r Endkunden: 2.049,00 EUR Preis inkl. MwSt. und zzgl. Versand und f?r Reseller: 1.766,38 EUR Preis zzgl. MwSt. und zzgl. Versand Jetzt bin ich hingegangen und habe in der product_listing.php folgendes hinzugef?gt: Code:
// BEGIN MWST ?berpr?fung
if ($_SESSION['customer_status']['customer_status_id'] == '3' || $_SESSION['customer_status']['customer_status_id'] == '0') {
$mwstr='0';
}
if ($_SESSION['customer_status']['customer_status_id'] == '1' || $_SESSION['customer_status']['customer_status_id'] == '2') {
$mwstr='1';
}
$module_smarty->assign('MWST',$mwstr);
// ENDE MWST ?berpr?fung
Code:
Preis {if $MWST == 0}zzgl.{/if}{if $MWST == 1}inkl.{/if} MwSt.
und zzgl. Versand
Code:
$module_smarty->assign('MWST',$mwstr);
Ich komme n?mlich mit diesem Smarty ged?nse nicht klar. Danke im vorraus. |
![]() |
| Lesezeichen |
| Stichworte |
| abhngig, exkl, inkl, mwst, preis, text |
| Themen-Optionen | |
| Ansicht | |
|
|