Open talheim-it opened 6 years ago
Am besten hier: https://github.com/Blur-Creative/theme-views/edit/master/Resources/Themes/Frontend/Views/Theme.php
nach Zeile 6684, folgendes einfügen
// Create Paysafecard checkbkox
$wechatPayCheckbox = $this->createCheckboxField(
'payment_option_wechatpay',
'__payment_options_wechatpay_label__',
false,
['attributes' => ['lessCompatible' => false]]
);
dann die variable nach Zeile 6703 einfügen
$fieldset->addElement($wechatPayCheckbox);
Und im Template https://github.com/Blur-Creative/theme-views/blob/master/Resources/Themes/Frontend/Views/frontend/index/payment-info.tpl
muss nach zeile 88 noch folgendes eingefügt werden:
{block name="frontend_index_footer_payment_item_wechatpay"}
{if $theme.payment_option_wechatpay}
<li><img src="{link file='frontend/_public/src/img/icons/payment/wechatpay.png'}" /></li>
{/if}
{/block}
Das Logo dann noch im Pfad frontend/_public/src/img/icons/payment/wechat.png
hinterlegen und es sollte passen.
Bei Alipay dann das gleiche Prinzip.
Ja ein Merge Request wäre cool, dann kann ich das gleich mit rein nehmen.
@Blur-Creative
Die zusätzlichen Icons bekommt man hier: https://www.six-payment-services.com/de_at/home/service-support/download-center.html#c=/content/sps/global/en/taxonomy/media-type/image/logo
Alipay, Masterpass, Unionpay China, etc.
Hoffe das hilft,
LG, Mathias
Hello,
ich würde Wechat Pay und Alipay als Zahlungsoptionen ergänzen. Diese fehlen, werden aber für uns immer wichtiger.
Sofern ihr ein Howto habt bau ich es selbst und erstelle einen Merge Request.
LG, Mathias