Support

Home Forums Event Espresso Premium Promotions at Checkout

Promotions at Checkout

Posted: April 11, 2016 at 1:58 am


Wonderful2016

April 11, 2016 at 1:58 am

We managed to translate, now customers are not sure at this step, what to do with promotion code, can we put an explanation text before this field and how?


Garth

  • Support Staff

April 11, 2016 at 11:20 am

Hi,

I want to make sure I understand…

Your customers are not familiar with promotion codes and don’t know what to do with the promotion code field?


Wonderful2016

April 11, 2016 at 12:08 pm

Somehow yes, customers did not have a promotion code and asking for it or did place a code but did not klick on the button.
The button was named with “Promotion code here”.
Then customer placed a code and went on down the cart list and used payment button. Then get confused.

So we like to put in a short explanation on top of the Cpde-field: “Put in your Code and push the button to recalculate. Then go on with payment procedure….”


Tony

  • Support Staff

April 11, 2016 at 1:56 pm

The text used for the promotion code label is filterable, so you can use something like this:

function tw_ee_custom_promo_label() {
return "Put in your Code and push the button to recalculate. Then go on with payment procedure...";
}
add_filter('FHEE__EED_Promotions___add_promotions_form_inputs__ee_promotion_code_input__html_label_text', 'tw_ee_custom_promo_label', 10 );

That will change the text output for the Promotion code label which is displayed above the promo code input.

You can place that within your themes functions.php file or a Site Specific Plugin.


Wonderful2016

April 11, 2016 at 4:00 pm

Thanks a lot. Seems that it works, but does disappear shortly after loading, because looks like it lies directly behind the formular-field and not above.


Tony

  • Support Staff

April 12, 2016 at 4:33 am

You can fix that by adding some custom CSS to your site, for example:

#ee-promotion-code-input-lbl {
    margin-top: -30px;
}

Will move the label up from behind the input box.


Wonderful2016

April 12, 2016 at 4:11 pm

Worked. Thank You!

The support post ‘Promotions at Checkout’ 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