Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Add Text to Coupon Code Form

by

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, 11 months ago by jbillh.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 17, 2011 at 7:53 pm #3617
    jbillh
    Member

    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 #33523
    amin007
    Participant

    I 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 cart

    June 18, 2011 at 3:03 am #33524
    jbillh
    Member

    Thanks very much! This is a better option.

    I really appreciate the help!

    Take Good Care,

    Bill

    June 18, 2011 at 3:11 am #33525
    jbillh
    Member

    Hmm,

    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 #33526
    amin007
    Participant

    Another 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:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-plugin

    June 20, 2011 at 6:15 am #33527
    jbillh
    Member

    Thanks 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

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ