Ich habe dieses Problem an Paypal und JTL gemeldet, da bei uns zuerst die Paypal Spezialzahlungsarten wie "Giropay" aufgelistet werden und zum Ende erst "Paypal".Da habe ich mich unklar ausgedrückt. Es scheint so zu sein, dass man nur für alle PayPal Zahlungsarten zusammen eine Sortiernummer vergeben kann, aber keinen Einfluss auf die Reihenfolge der untergliederten haben kann. Aber immerhin kann man jetzt die eigenen Zahlungsarten über der Paypal Paywall platzieren.
Ich habe für mich eine akzeptable Lösung gefunden um die Zahlungsarten- und Versandauswahl, die ich noch nie schön fand anders und kompakter zu gestalten.
Mit etwas Anstrengung geht das auch mit reinem CSS und verhält sich responsiv vernünftig
Den Anhang 86347 betrachten
Magst Du ggf. das CCS-Styling als Beispiel hier zur Verfügung stellen?Ich habe für mich eine akzeptable Lösung gefunden um die Zahlungsarten- und Versandauswahl, die ich noch nie schön fand anders und kompakter zu gestalten.
Mit etwas Anstrengung geht das auch mit reinem CSS und verhält sich responsiv vernünftig
Den Anhang 86347 betrachten
du könntest die Zahlungsarten mit CSS ("display: flex;" für das Vaterelement und "order:1, order:2 ... order:n" für die Elemente der Zahlungsarten) selbst im Template sortieren.Antwort von JTL:
"nein eine Sortierung ist nicht möglich, diese werden so von Paypal selbst ausgespielt."
Dazu muss das Template angepasst werdenWie kann man etwas neben das Bild schreiben? (Siehe hierzu die Nachnahme Gebühr)
Warum sollte das nicht gehen?Wieso kann man man zwar im Reiter "Zahlungsarten" Grafiken hinterlegen, aber diese werden nur vom echten PayPal, Vorkasse und Nachnahme geladen. Bei "PayPal Später bezahlen", Kreditkarte und SEPA wird das einfach ignoriert.
-
Alles ist änderbar aber teilweise eben nur durch individuelle Anpassungen im Template oder eben über CSS und muss dann wie man hier an den Buttons sehen kann teilweise dann individuell nachjustiert werden wie man z.B.: beim Visa sieht.- Wieso ist der Auswahlknopf / Button nicht automatisch mittig, wenn das Logo etwas größer ist? Kann man das ändern? Wie denn?

// Styling der Zahlungsmethoden im Checkout
.row.checkout-payment-options.form-group > div {
display: flex;
flex-wrap: wrap;
}
#za_ppc_paypal .custom-control, #za_ppc_paylater .custom-control, #kPlugin_96_paypalkreditkarte .custom-control {
border: 1px solid #81B202 !important;
padding: 12px;
width: 94.5%;
margin: 2px;
display: flex;
flex-direction: column;
text-align: center;
}
#za_ppc_paypal .checkout-payment-method, #za_ppc_paylater .checkout-payment-method, #kPlugin_96_paypalkreditkarte .checkout-payment-method {
width: 100%;
text-align: center;
}
#za_ppc_paypal .checkout-payment-method-note, #za_ppc_paylater .checkout-payment-method-note, #kPlugin_96_paypalkreditkarte .checkout-payment-method-note {
text-align: center;
}
#za_ppc_paypal .checkout-payment-method-note > small, #za_ppc_paylater .checkout-payment-method-note > small, #kPlugin_96_paypalkreditkarte .checkout-payment-method-note > small {
font-size: inherit;
}
#za_ppc_paypal .custom-radio .custom-control-label::before, #za_ppc_paylater .custom-radio .custom-control-label::before, #kPlugin_96_paypalkreditkarte .custom-radio .custom-control-label::before {
color: #81B202;
font-size: 20px;
position: absolute;
top: 50%;
left: 3%;
transform: translate(-50%, -50%);
}
#za_ppc_paypal .custom-radio .custom-control-label::after, #za_ppc_paylater .custom-radio .custom-control-label::after, #kPlugin_96_paypalkreditkarte .custom-radio .custom-control-label::after {
position: absolute;
opacity: 0;
}
#payment1, #kPlugin_96_rechnungskaufmitratepay, #kPlugin_82_ideal, #kPlugin_82_giropay, #kPlugin_82_creditcard, #za_ueberweisung_jtl, #kPlugin_82_klarnapaylater, #kPlugin_82_sofort, #kPlugin_82_bancontact, #kPlugin_40_amazonpay, #kPlugin_82_applepay, #kPlugin_82_eps, #kPlugin_82_przelewy24 {
flex: 0 0 47%;
margin: 2px;
}
#payment1 .custom-control, #kPlugin_96_rechnungskaufmitratepay .custom-control, #kPlugin_82_ideal .custom-control, #kPlugin_82_giropay .custom-control, #kPlugin_82_creditcard .custom-control, #za_ueberweisung_jtl .custom-control, #kPlugin_82_klarnapaylater .custom-control, #kPlugin_82_sofort .custom-control, #kPlugin_82_bancontact .custom-control, #kPlugin_40_amazonpay .custom-control, #kPlugin_82_applepay .custom-control, #kPlugin_82_eps .custom-control, #kPlugin_82_przelewy24 .custom-control {
border: 1px solid #81B202 !important;
padding: 12px;
width: 100%;
margin: 2px;
display: flex;
flex-direction: column;
text-align: center;
}
#payment1 .checkout-payment-method, #kPlugin_96_rechnungskaufmitratepay .checkout-payment-method, #kPlugin_82_ideal .checkout-payment-method, #kPlugin_82_giropay .checkout-payment-method, #kPlugin_82_creditcard .checkout-payment-method, #za_ueberweisung_jtl .checkout-payment-method, #kPlugin_82_klarnapaylater .checkout-payment-method, #kPlugin_82_sofort .checkout-payment-method, #kPlugin_82_bancontact .checkout-payment-method, #kPlugin_40_amazonpay .checkout-payment-method, #kPlugin_82_applepay .checkout-payment-method, #kPlugin_82_eps .checkout-payment-method, #kPlugin_82_przelewy24 .checkout-payment-method {
width: 100%;
text-align: center;
}
#payment1 .checkout-payment-method-note, #kPlugin_96_rechnungskaufmitratepay .checkout-payment-method-note, #kPlugin_82_ideal .checkout-payment-method-note, #kPlugin_82_giropay .checkout-payment-method-note, #kPlugin_82_creditcard .checkout-payment-method-note, #za_ueberweisung_jtl .checkout-payment-method-note, #kPlugin_82_klarnapaylater .checkout-payment-method-note, #kPlugin_82_sofort .checkout-payment-method-note, #kPlugin_82_bancontact .checkout-payment-method-note, #kPlugin_40_amazonpay .checkout-payment-method-note, #kPlugin_82_applepay .checkout-payment-method-note, #kPlugin_82_eps .checkout-payment-method-note, #kPlugin_82_przelewy24 .checkout-payment-method-note {
text-align: center;
}
#payment1 .checkout-payment-method-note > small, #kPlugin_96_rechnungskaufmitratepay .checkout-payment-method-note > small, #kPlugin_82_ideal .checkout-payment-method-note > small, #kPlugin_82_giropay .checkout-payment-method-note > small, #kPlugin_82_creditcard .checkout-payment-method-note > small, #za_ueberweisung_jtl .checkout-payment-method-note > small, #kPlugin_82_klarnapaylater .checkout-payment-method-note > small, #kPlugin_82_sofort .checkout-payment-method-note > small, #kPlugin_82_bancontact .checkout-payment-method-note > small, #kPlugin_40_amazonpay .checkout-payment-method-note > small, #kPlugin_82_applepay .checkout-payment-method-note > small, #kPlugin_82_eps .checkout-payment-method-note > small, #kPlugin_82_przelewy24 .checkout-payment-method-note > small {
font-size: inherit;
}
#payment1 .custom-radio .custom-control-label::before, #kPlugin_96_rechnungskaufmitratepay .custom-radio .custom-control-label::before, #kPlugin_82_ideal .custom-radio .custom-control-label::before, #kPlugin_82_giropay .custom-radio .custom-control-label::before, #kPlugin_82_creditcard .custom-radio .custom-control-label::before, #za_ueberweisung_jtl .custom-radio .custom-control-label::before, #kPlugin_82_klarnapaylater .custom-radio .custom-control-label::before, #kPlugin_82_sofort .custom-radio .custom-control-label::before, #kPlugin_82_bancontact .custom-radio .custom-control-label::before, #kPlugin_40_amazonpay .custom-radio .custom-control-label::before, #kPlugin_82_applepay .custom-radio .custom-control-label::before, #kPlugin_82_eps .custom-radio .custom-control-label::before, #kPlugin_82_przelewy24 .custom-radio .custom-control-label::before {
color: #81B202;
font-size: 20px;
position: absolute;
top: 50%;
left: 5%;
transform: translate(-50%, -50%);
}
#payment1 .custom-radio .custom-control-label::after, #kPlugin_96_rechnungskaufmitratepay .custom-radio .custom-control-label::after, #kPlugin_82_ideal .custom-radio .custom-control-label::after, #kPlugin_82_giropay .custom-radio .custom-control-label::after, #kPlugin_82_creditcard .custom-radio .custom-control-label::after, #za_ueberweisung_jtl .custom-radio .custom-control-label::after, #kPlugin_82_klarnapaylater .custom-radio .custom-control-label::after, #kPlugin_82_sofort .custom-radio .custom-control-label::after, #kPlugin_82_bancontact .custom-radio .custom-control-label::after, #kPlugin_40_amazonpay .custom-radio .custom-control-label::after, #kPlugin_82_applepay .custom-radio .custom-control-label::after, #kPlugin_82_eps .custom-radio .custom-control-label::after, #kPlugin_82_przelewy24 .custom-radio .custom-control-label::after {
position: absolute;
opacity: 0;
}
Habe ich mir schon gedacht. Habe es auch gefunden.Dazu muss das Template angepasst werden
{block name='checkout-inc-payment-methods-image-title'}
{if $zahlungsart->cBild}
{image src=$zahlungsart->cBild alt=$zahlungsart->angezeigterName|trans fluid=true class="img-sm"}
{if $zahlungsart->cHinweisText|has_trans}
<span class="checkout-payment-method-note">
<small>{$zahlungsart->cHinweisText|trans}</small>
</span>
{else}
{/if}
{else}
<span class="content">
<span class="title">{$zahlungsart->angezeigterName|trans}</span>
</span>
{/if}
{/block}
{block name='checkout-inc-payment-methods-note'}
{/block}
.checkout-payment-method .checkout-payment-method-note {
display: inline;
margin-left: 1rem;
}
Für alle die, wie ich auch, den Wald vor lauter Bäumen nicht gefunden haben: Ihr müsst die Bilder im PayPal Plugin unter Einstellungen -> Aktive Zahlungsarten und dann beim Zahnrad klicken. Dann könnt ihr das Bild einfügen.Warum sollte das nicht gehen?
Ja man kann zwar theoretisch die PayPal Buttons verschieben, aber da die PayPal style.css NACH der custom.css geladen wird muss man da eine Lösung finden.Alles ist änderbar aber teilweise eben nur durch individuelle Anpassungen im Template oder eben über CSS und muss dann wie man hier an den Buttons sehen kann teilweise dann individuell nachjustiert werden wie man z.B.: beim Visa sieht.
Man kann kann schon, man muss nur eben sicher sein das man mit seinem CSS mehr rechte hat als das von PayPalJa man kann zwar theoretisch die PayPal Buttons verschieben, aber da die PayPal style.css NACH der custom.css geladen wird muss man da eine Lösung finden.
Würdest du mir auch verraten wie ich das machen kann? Ich kenne nur die "!important" Anweisung. Damit klappt es auch.Man kann kann schon, man muss nur eben sicher sein das man mit seinem CSS mehr rechte hat als das von PayPal![]()
Ja habe ich gesehen. Sieht sehr schön aus. Würdest du die CSS-Änderung denn hier posten?Meinen anderen Beitrag hast du gesehen, was theoretisch möglich ist?
Das habe ich "nur" (ca. 300 Zeilen) css gemacht:


Ach so das geht sogar noch auf / erweitert sich. Das wusste ich nicht sorry.Ich kann das nicht posten, denn zum einen habe ich ja schon geschrieben, das es Template und auch Zahlungsarten abhängig ist,
einzelne Zahlungsarten erfordern ja wenn Sie aktiviert werden zusätzliche Eingaben wie z.B.: Kreditkarte, dann muss gewährleistet werden, das die Box dann auch passend erweitert wird wenn sie aktiviert ist um die zusätzlichen Eingaben zuzulassen oder den Info Text ggf. anzuzeigen.
Kann ich komplett verstehen. Deine Hilfe / Hinweise hier haben mir ja auch schon sehr weitergeholfen. Vielen Dank dafür.Der zweite Punkt ist eben, dass ich mit solchen Dingen mein Geld verdiene und daher kann ich nicht für alles eine kostenlose Lösung zur Verfügung stellen, in der ich dann am Ende noch unzählige Stunden kostenlosen support leiste weil es immer eine Zahlungsart oder ein Template geben wird wo man zusätzliches css oder dann eben doch Template Eingriffe braucht.
{block name='checkout-inc-payment-methods'}
{radiogroup}
{foreach $Zahlungsarten as $zahlungsart}
{col cols=12 id=$zahlungsart->cModulId class="checkout-payment-method ppc-checkout-payment-method"}
{radio name="Zahlungsart"
value=$zahlungsart->kZahlungsart
id="payment{$zahlungsart->kZahlungsart}"
checked=($AktiveZahlungsart === $zahlungsart->kZahlungsart || $Zahlungsarten|@count === 1)
required=($zahlungsart@first)
}
{* Hinweistext steht neben dem Bild. Änderungen in der custom.css beachten. *}
{block name='checkout-inc-payment-methods-image-title'}
{if $zahlungsart->cBild}
{image src=$zahlungsart->cBild alt=$zahlungsart->angezeigterName|trans fluid=true class="img-sm"}
{if $zahlungsart->cHinweisText|has_trans}
<span class="checkout-payment-method-note">
<small>{$zahlungsart->cHinweisText|trans}</small>
</span>
{/if}
{else}
<span class="content">
<span class="title">{$zahlungsart->angezeigterName|trans}</span>
</span>
{/if}
{/block}
{if $zahlungsart->fAufpreis != 0}
{block name='checkout-inc-payment-methods-badge'}
<strong class="checkout-payment-method-badge">
{if $zahlungsart->cGebuehrname|has_trans}
<span>{$zahlungsart->cGebuehrname|trans} </span>
{/if}
{$zahlungsart->cPreisLocalized}
</strong>
{/block}
{/if}
{if $zahlungsart->cHinweisText|has_trans}
{* Änderung da der Hinweitext nicht doppelt angezeigt werden soll *}
{block name='checkout-inc-payment-methods-note'}
{/block}
{/if}
{/radio}
{/col}
{/foreach}
{/radiogroup}
{/block}
.checkout-payment-method .checkout-payment-method-note {
display: inline;
margin-left: 1rem;
}
.ppc-checkout-payment-method .custom-control-label::before, .ppc-checkout-payment-method .custom-control-label::after {
top: 1.15rem !important;
}