diff --git a/modules/website_dyncontent.php b/modules/website_dyncontent.php index 2c68bc9..c894db0 100644 --- a/modules/website_dyncontent.php +++ b/modules/website_dyncontent.php @@ -440,6 +440,8 @@ class website_dyncontent { } $this->layout_object->assign('zahlarten', $list); $this->layout_object->assign('zahlarten_gruppe', $group); + // Platzhalter im Bestelltext (z.B. "Kundenspezifisch" bei Haendlern), wie content_cash_desk_neu.tpl + $this->layout_object->assign('zahlarten_freitext3', isset($customer->freetextfield3) ? (string)$customer->freetextfield3 : ''); return $this->layout_object->_fetch('content_box_zahlarten.tpl'); } catch (Throwable $e) { error_log('zahlarten_liste: '.$e->getMessage()); diff --git a/web/intelectra_shop/themes/theme2/templates/content_box_zahlarten.tpl b/web/intelectra_shop/themes/theme2/templates/content_box_zahlarten.tpl index 55ad409..61c9651 100644 --- a/web/intelectra_shop/themes/theme2/templates/content_box_zahlarten.tpl +++ b/web/intelectra_shop/themes/theme2/templates/content_box_zahlarten.tpl @@ -30,7 +30,8 @@ {if $pm->module == 'mollie' && $pm->argument == 'applepay'}(auf Apple-Geräten){/if} {if $pm->module == 'mollie' && $pm->argument == 'creditcard'}Visa, Mastercard, American Express{/if} - {if $pm->order_text}
{$pm->order_text}
{/if} + {* [#customer_freetextfield3] wie in der Kasse: individueller Text je Kunde (Haendler "Kundenspezifisch") *} + {if $pm->order_text}
{$pm->order_text|replace:'[#customer_freetextfield3]':$zahlarten_freitext3}
{/if} {if isset($pm->paymentAddShown) && $pm->paymentAddShown != 0}
{if $pm->accountType == '1' || $pm->accountType == '3'}Abzug{else}Aufschlag{/if}: