Support

Home Forums Event Espresso Premium ideal button

ideal button

Posted: January 22, 2013 at 12:51 pm


mmarkus

January 22, 2013 at 12:51 pm

hallo for the dutch market we need a ideal button on the payment page.
In the button we need is no ideal logo.


Dean

January 23, 2013 at 12:17 am

Hello,

There is an iDEAL logo available if you wish to use it. For example if you want to change the button labelled Betaal via iDEAl, you can add this code to your themes style.css file

#submit_ideal {
    background:url(/wp-content/plugins/event-espresso/gateways/ideal/ideal-mollie-logo.png) top left no-repeat;
    width:140px;
    height:50px;
    text-indent:-9999px;
    border:none;   
}


mmarkus

January 23, 2013 at 12:15 pm

Hello

I copy the code in the file the button is not on the page.
payment


Josh

  • Support Staff

January 23, 2013 at 3:44 pm

Hi there,

I think Dean had a different button in mind, the one after you choose the payment option.

For the one in your picture, you can change the button image by editing /gateways/ideal/ideal_vars.php

If you look about half way down that file, you’ll see this line of code:

<img alt="Pay using a Credit Card" src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL; ?>gateways/pay-by-credit-card.png">

which you could change to:

<img alt="Pay using iDeal" src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL; ?>gateways/ideal/ideal-mollie-logo.png">

That will change the button to display as shown in this screenshot.


mmarkus

January 24, 2013 at 8:12 am

Hello

I make the change and this is the resulton the page.

payment site

The mollie logo is new its missing on the front

http://www.reflex-in.nl


Josh

  • Support Staff

January 24, 2013 at 8:49 am

Hi there,

It looks like when you copied and pasted the code, the PHP tags must have been formatted as html entities.

screenshot

It might help if I post a gist this time:


mmarkus

January 24, 2013 at 9:39 am

Thanks Josh it works.

payment page

The support post ‘ideal button’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso