Skip to content

Commit

Permalink
Merge pull request #6 from ionutcalara/master
Browse files Browse the repository at this point in the history
Remove card icons in emails
  • Loading branch information
ionutcalara authored Jan 7, 2020
2 parents 798a132 + 430ea3f commit 194d3a0
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Binary file modified paylike.ocmod.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
//Default
$_['default_payment_method_title'] = 'Credit Card';
$_['default_payment_paylike_checkout_cc_logo'] = array(
'mastercard.svg',
'maestro.svg',
'visa.svg',
'visaelectron.svg'
'mastercard.png',
'maestro.png',
'visa.png',
'visaelectron.png'
);

//Buttons
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ class ModelExtensionPaymentPaylike extends Model
public function getCcLogos()
{
return array(
array ( 'name' => 'Mastercard', 'logo' => 'mastercard.svg' ),
array ( 'name' => 'Mastercard Maestro', 'logo' => 'maestro.svg' ),
array ( 'name' => 'Visa', 'logo' => 'visa.svg' ),
array ( 'name' => 'Visa Electron', 'logo' => 'visaelectron.svg' ),
array ( 'name' => 'Mastercard', 'logo' => 'mastercard.png' ),
array ( 'name' => 'Mastercard Maestro', 'logo' => 'maestro.png' ),
array ( 'name' => 'Visa', 'logo' => 'visa.png' ),
array ( 'name' => 'Visa Electron', 'logo' => 'visaelectron.png' ),
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ public function getMethod($address, $total)
$logos_string = '';
if (is_array($logos)) {
foreach ($logos as $logo) {
$logos_string .= '<img src="./catalog/view/theme/default/image/paylike/' . $logo . '" style="display-inline;height:25px;margin-left:5px;" />';
$logos_string .= '<img src="'.HTTPS_SERVER.'catalog/view/theme/default/image/paylike/' . $logo . '" style="display-inline;height:25px;margin-left:5px;" />';
}
}
$method_data = array(
'code' => 'paylike',
'title' => $this->config->get('payment_paylike_method_title') . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' . $logos_string,
'terms' => '',
'title' => $this->config->get('payment_paylike_method_title'),
'terms' => $logos_string,
'sort_order' => $this->config->get('payment_paylike_sort_order')
);
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 194d3a0

Please sign in to comment.