Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Add Text to Coupon Code Form
Tagged: coupon code
- This topic has 5 replies, 2 voices, and was last updated 13 years, 5 months ago by jbillh.
-
AuthorPosts
-
June 17, 2011 at 7:53 pm #3617jbillhMember
Hi Folks,
As a dealer for the company I am only allowed to give discounts to charities and non-profits.
I’d like to add the text (Only Available for Charities & Non-Profits email Me For More Info.)
OR something like that next to the “Enter Coupon Code” text.
How/where would I do that?
Thanks Very Much!
Bill
June 18, 2011 at 1:05 am #33523amin007ParticipantI can tell you where in the code to modify and do this but before that I would like to give you another idea and see if that will work for you. This one will be easier for you to maintain.
Instead of placing the message inside the shopping cart, place it just under the shopping cart of above the shopping cart. If you make the message bold and maybe red then it will be hard to miss. So what you do is you edit the checkout page where you have entered your shopping cart shortcode and just before or after the shortcode you enter your message. You are in WordPress editor so you can customize the message to look however you want it to look.
So for example, you can enter the following in your checkout page to show messages to your visitors:
Coupons only Available for Charities & Non-Profits email Me For More Info
[wp_eStore_cart]
Some other message that will go after the shopping cartJune 18, 2011 at 3:03 am #33524jbillhMemberThanks very much! This is a better option.
I really appreciate the help!
Take Good Care,
Bill
June 18, 2011 at 3:11 am #33525jbillhMemberHmm,
Maybe I spoke too soon ; – )
Where the customer first sees the coupon box is after they add something to the cart. When the page refreshes it shows right above the PayPal button.
Is there another alternative?
Thanks,
Bill
June 18, 2011 at 5:19 am #33526amin007ParticipantAnother solution would be to do it via a language file. So open up “eng.php” file from the “languages” folder and search for the following:
define("ESTORE_ENTER_COUPON_CODE", "Enter Coupon Code :");
Once you find it change it to something like the following:
define("ESTORE_ENTER_COUPON_CODE", "Enter Coupon Code (Coupons only Available for Charities & Non-Profits email Me For More Info) :");
This post will explain the details on how you can customize message using the language file:
June 20, 2011 at 6:15 am #33527jbillhMemberThanks Key Master!
The language file edit did the trick and was very easy to do!
You really have a great product and support that exceeds anything I have seen online.
Thank You Very MUCH!
Bill
-
AuthorPosts
- You must be logged in to reply to this topic.