Change Arrow Next To Discount Code?

Anyone know how to change the arrow to the word “apply”?



See image attached.

Oh man! This has been a problem for so long… So many customers complain that they didn't get a promotional discount, or their Reward Points were not applied to their order, just because they don't understand the grey arrow's function. It's just not intuitive enough for some people. I had to add language below the text field to instruct them to click the arrow to apply the Promo Code or Gift Certificate or Reward Points - as changing the button to a simple “APPLY” text link, or a new button with the value APPLY on it, was too complicated for me.

The buttons are located in the following files:


  • design\themes\THEME\templates\views\checkout\components\promotion_coupon.tpl



    If Gift Certificates module is enabled:


  • design\themes\THEME\templates\addons\gift_certificates\hooks\checkout\discount_coupons.override.tpl



    You should change the following code:


{include file="buttons/go.tpl" but_name="checkout.apply_coupon" alt=__("apply")}

I don’t know what to change! :(

Untested

{include file="buttons/button.tpl" but_text=__("apply") but_name="checkout.apply_coupon" but_role="button_main"}

@The Tool, thank you for the code change. That does give me almost what I need. Unfortunately, the button.tpl button template forces the “Apply” button to display on it's own line, UNDER the text field - not AFTER the text field on the same line.

I think either the button.tpl or the go.tpl needs modified in order to do what we want to do, maybe a new apply.tpl needs created…

I went to Languages and replaced 'Points to use' with 'Enter points and click on arrow >'

but I am not sure where else the variable 'points_in_use' is used.

Tried searching for the variable name via cPanel but got a nil result.

This language variable is used in the following files in the store-front:

3 files in the store-front:

design\themes\responsive\templates\addons\reward_points\hooks\checkout\discount_summary.post.tpl

design\themes\responsive\templates\addons\reward_points\hooks\checkout\payment_extra.post.tpl

design\themes\responsive\templates\addons\reward_points\hooks\orders\totals.post.tpl

and 1 for the e-mail:

design\themes\responsive\mail\templates\addons\reward_points\hooks\orders\totals.post.tpl

OOPS !! Just changed it back...lol

Thank you very much eComLabs.

@The Tool, thank you for the code change. That does give me almost what I need. Unfortunately, the button.tpl button template forces the "Apply" button to display on it's own line, UNDER the text field - not AFTER the text field on the same line.
I think either the button.tpl or the go.tpl needs modified in order to do what we want to do, maybe a new apply.tpl needs created...

Were you able to figure out how to get it on a single line?

Okay this fix actually doesn't work. The button no longer functions. Back to square one.

Were you able to figure out how to get it on a single line?

No I was not. :(

How about maybe replacing the arrow with another graphic of the same size with 'click here' or 'apply'

written on it ? Is the arrow graphic used anywhere else ?

If this is a viable fix then where is the arrow graphic hiding ?

Replace:

{include file="buttons/go.tpl" but_name="checkout.apply_coupon" alt=__("apply")}

with

{include file="buttons/button.tpl" but_name="dispatch[checkout.apply_coupon]" but_text=__("apply") but_role="submit"}

Note: some minor CSS changes still can be required

Since 4.3.5 we will display Apply button instead of arrow. Solution for 4.3.3 & 4.3.4 can be found in this Bug Report: http://forum.cs-cart.com/tracker/issue-5924-useability-problem-discount-code-entry/
Here is how it looks now:

Since 4.3.5 we will display Apply button instead of arrow. Solution for 4.3.3 & 4.3.4 can be found in this Bug Report: http://forum.cs-cart.com/tracker/issue-5924-useability-problem-discount-code-entry/
Here is how it looks now:

Hi,

When we can expect the new version of CS-cart? As I remember it was promised on November 2015

Hi,

When we can expect the new version of CS-cart? As I remember it was promised on November 2015

#72

Thanks for the tip eComLabs but it looks like it will be present in 4.3.4

When the PayPal problem in 4.3.4 is sorted I will most certainly be

calling a friendly guru in the north.