• Closed by: Marek
  • Closed on: 21.03.19, 16:18
  • Reason: Closed
  • Comment: Glad to help!

Ticket #14004 - AVENA

Hello,

I know I can make the payment logos appear/disappear via the Avena Theme settings.
Is there a way to change some of the logos to the ones my bank wants and attach links to them?

Thanks

Larry

Comments

Marek 21 Mar 2019, 11:48

yes, of course, do you have images?

Larry Kickscooters 21 Mar 2019, 12:08

Hi Marek,

All well?

Yes, I do have images. The main reason I was asking is because the bank, want two of the images to have links on them (different for each language).

OK. I am attaching the logos I need inserted.

For Verified by Visa, I need these two links:

Greek: https://paycenter.piraeusbank.gr/redirection/Content/HTML/3DSecure_el.html English: https://paycenter.piraeusbank.gr/redirection/Content/HTML/3DSecure_en.html

For MasterCard Secure, I need these two links:

Greek: https://paycenter.piraeusbank.gr/redirection/Content/HTML/3DSecure_el.html English: https://paycenter.piraeusbank.gr/redirection/Content/HTML/3DSecure_en.html

They should all open in new windows.

Thanks in advance,

Larry

Marek 21 Mar 2019, 12:29

I just added two images there. If you want to change images, you can find them here /modules/pk_manufacturersCarousel/images and the file where I make changes is /modules/pk_manufacturersCarousel/pk_manufacturersCarousel.tpl

Larry Kickscooters 21 Mar 2019, 12:33

Hi Marek,

I did not want to inset images in the manufacturers carousel. I knew how to do that!

I wanted to activate the PAYMENT LOGOS at the footer, only use the ones I sent you and not the default AVENA ones.
Plus add a link to two of them

Marek 21 Mar 2019, 12:50

oh sorry.
How did you put these icons there? http://take.ms/eFxkb

Larry Kickscooters 21 Mar 2019, 13:05

I made up an Html block and transplanted it there. But I do not like it.
I have it there in case you do not have a solution.
Because the bank need to see them working asap

Marek 21 Mar 2019, 13:07

You can add following code in addition to your code

{if $lang_iso == 'en'}
  <td class="item">
    <a href="https://paycenter.piraeusbank.gr/redirection/Content/HTML/3DSecure_en.html" target="_blank">
      <img src="https://www.kickscooters.gr/modules/pk_manufacturersCarousel/images/visa.png" width="100" height="100" />
    </a>
  </td>
  <td class="item">
    <a href="https://paycenter.piraeusbank.gr/redirection/Content/HTML/3DSecure_en.html" target="_blank">
      <img src="https://www.kickscooters.gr/modules/pk_manufacturersCarousel/images/mastercard.png" width="100" height="100" />
    </a>
  </td>
  {/if}
  {if $lang_iso == 'el'}
  <td class="item">
    <a href="https://paycenter.piraeusbank.gr/redirection/Content/HTML/3DSecure_el.html" target="_blank">
      <img src="https://www.kickscooters.gr/modules/pk_manufacturersCarousel/images/visa.png" width="100" height="100" />
    </a>
  </td>
  <td class="item">
    <a href="https://paycenter.piraeusbank.gr/redirection/Content/HTML/3DSecure_el.html" target="_blank">
      <img src="https://www.kickscooters.gr/modules/pk_manufacturersCarousel/images/mastercard.png" width="100" height="100" />
    </a>
  </td>
  {/if}
Larry Kickscooters 21 Mar 2019, 13:10

I lost you Marek!

Can we not activate the Payment icons in the Avena Theme Settings and code the links in somehow?

As I said, I do not like the way I have made it. It looks wrong (in my opinion).
I would rather use the Theme’s engine

Marek 21 Mar 2019, 13:12

Where exactly do you need to have it?

Larry Kickscooters 21 Mar 2019, 13:17

If you turn on the Payment icons in the Avena Theme Settings module, they appear between the Copyright and the Social icons (attached image)

Marek 21 Mar 2019, 13:25

Done

Larry Kickscooters 21 Mar 2019, 13:29

Thanks Marek,

In the Greek version there are two icons missing (Visa and Mastercard).

Plus, The links of the Greek version are wrong. they are linking to the English targets.

Larry Kickscooters 21 Mar 2019, 13:40

Also, I see that you are not using the Avena theme settings module.

How do I hide them if I choose to?

Larry Kickscooters 21 Mar 2019, 14:04

Hi again Marek,

Sorry for pushing you, but as I said, the Greek page is wrong and this is the page the bank will check first.

If you cannot do it, please hide the icon and I will use my (bad) solution instead.

Thanks

Marek 21 Mar 2019, 14:16

I don’t remember all settings of Avena, because we don’t use it long time, that’s why I have put the code directly to the file /themes/avena/footer.tpl
I have fixed that

Larry Kickscooters 21 Mar 2019, 16:16

Thanks Marek.

It is OK now.

Marek 21 Mar 2019, 16:18

You are welcome