I recently added payment method....
I got zip file for this method by payment gateway service providers. But it doesn't contain Logo image of their payment gateway company.
I want to add their logo image on all pages where payment method / payment gateway is displayed.
How can I add logo image ? I tried to find column for it in mysql database, but I couldn't find it...
I got zip file for this method by payment gateway service providers. But it doesn't contain Logo image of their payment gateway company.
I want to add their logo image on all pages where payment method / payment gateway is displayed.
How can I add logo image ? I tried to find column for it in mysql database, but I couldn't find it...
Hi,
if you're referring to a downloaded payment gateway contribution module, you would need to contact the developer of the distribution.
if you're referring to a downloaded payment gateway contribution module, you would need to contact the developer of the distribution.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I borrow this thread
At checkout i have both text and image on one payment method (where customers choose how to pay) but with the other two there are just plain text.
is there a way to add images there also?
And in what file do i change the text that say eg. Paypal etc (right beside the radio button)
At checkout i have both text and image on one payment method (where customers choose how to pay) but with the other two there are just plain text.
is there a way to add images there also?
And in what file do i change the text that say eg. Paypal etc (right beside the radio button)
In catalog/language/<your_language>/payment and catalog/view/theme/<your_theme>/template/payment folder.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks Straylight
But the code for eg. payment method Payson (catalog/language/my_language>/payment/ is:
And (catalog/view/theme/my_theme/template/payment):
The result is like this on my page:

Id like to add images to the other two options and also have a little more space between them (if possible)
But the code for eg. payment method Payson (catalog/language/my_language>/payment/ is:
Code: Select all
<?php
$_['text_title'] = '<img src="https://www.payson.se/sites/all/files/images/external/payson150x55.png" style="width:150px;height:55px;clear:right" alt="Payson - Visa, MasterCard, Direct bank" title="Payson" />';
$_['text_title_SMS'] = '<img src="https://www.payson.se/sites/all/files/images/external/Payson_logo_checkout.png" style="width:122px;height:90px;clear:right" alt="Payson All in One - Visa, MasterCard, Direkt bank and Faktura" title="Payson" />';
$_['text_AION_INVOICE'] = '<img src="https://www.payson.se/sites/all/files/images/external/payson_All_224x55.png" style="width:224px;height:55px;clear:right" alt="Payson All in One - Visa, MasterCard, Direkt bank and Faktura" title="Payson" />';
$_['text_AION_SMS'] = '<img src="https://www.payson.se/sites/all/files/images/external/Payson_logo_checkout_faktura.png" style="width:102px;height:101px;clear:right" alt="Payson All in One - Visa, MasterCard, Direkt bank and Faktura" title="Payson" />';
$_['text_invoicefee'] = 'En fakturaavgift på %s Kr tillkommer';
$_['text_invoice'] = 'Om ni väljer att betala med faktura tillkommer en avgift på %s Kr';
$_['text_denied'] = 'Betalningen blev nekad.';
$_['text_payson_payment_method'] = ' Testa med en annan betalningsmetod.';
$_['text_payson_payment_error'] = 'Ett fel har uppstått. Vänligen försök igen eller pröva med en annan betalmetod';
$_['text_invoice_terms'] = '<div style="padding: 3px; margin-bottom: 5px;"><h2>Fakturavillkor <img src="https://www.payson.se/sites/all/files/images/external/payson.png" style="width: 140px; height: 42px; display: block; float: right;" /></h2>'.utf8_encode("Om du väljer att betala med Paysonfaktura så tillkommer en fakturaavgift. Betalningsvillkor är 14 dagar och fakturan kommer att sändas separat med e-post till den e-postadress Du anger. För att betala mot Paysonfaktura måste Du ha fyllt 18 år och vara folkbokförd i Sverige samt godkännas i den kreditprövning som genomförs vid köpet.").'</div>';
$_['text_gift_card'] = 'Presentkort';
$_['text_wait'] = 'Vänligen vänta....';
?>
Code: Select all
<div class="buttons">
<?php if(isset($text_invoice_terms)){
echo $text_invoice_terms;} ?>
<div class="pull-right">
<input type="button" value="<?php echo $button_confirm; ?>" id="button-confirm" class="btn btn-primary" />
</div>
</div>
<script type="text/javascript"><!--
$('#button-confirm').on('click', function() {
$.ajax({
type: 'POST',
url: 'index.php?route=payment/paysondirect/confirm' + '<?php echo isset($isInvoice) ? "&method=invoice" : ""?>',
dataType: 'json',
beforeSend: function() {
$('#button-confirm').attr('disabled', true);
$('#paymentButton').before('<div class="attention"><img src="catalog/view/theme/default/image/loading.gif" alt="" /> <?php echo $text_wait; ?></div>');
},
complete: function() {
//alert('nadad');
$('#button-confirm').attr('disabled', false);
//$('.attention').remove();
},
success: function(json) {
if (json['error']) {
alert(json['error']);
$('#confirm .checkout-content').slideUp('slow');
$('#payment-method .checkout-content').slideDown('slow');
}
if (json['paymentURL']) {
location.href = json['paymentURL'];
}
}
});
});
//--></script>

Id like to add images to the other two options and also have a little more space between them (if possible)

Hi,
I've a free mod for what you're after:
http://www.opencart.com/index.php?route ... me=artcore
Although for Payson you'd have to add a bit of code to make it work; check the image in the extension page. If you need help, let me know. It's easier than changing the lang files and uses vQmod
I've a free mod for what you're after:
http://www.opencart.com/index.php?route ... me=artcore
Although for Payson you'd have to add a bit of code to make it work; check the image in the extension page. If you need help, let me know. It's easier than changing the lang files and uses vQmod

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Who is online
Users browsing this forum: No registered users and 13 guests