Title: Dicount code
Last modified: April 22, 2024

---

# Dicount code

 *  Resolved [Theo Kriek](https://wordpress.org/support/users/theo1979/)
 * (@theo1979)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/dicount-code/)
 * As per your request – here is the ticket
 * The discount code does not work – i have created discount codes and on check 
   on no place to apply code – i have gone through your documentation and it just
   covers how to set it up – which is easy and even a mouse could do it, but what
   it does not tell you is how to include the space on the check out.
 * the field call discounts in my form is self created and does not serve any function.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdicount-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/dicount-code/#post-17706325)
 * Hi Theo, thank you for reaching out to Paid Memberships Pro.
 * I’ve taken a look at your checkout page however I’ve noticed a few things that
   can be causing this issue (in order of priority)
    1. You are using a custom checkout template which is not compatible with Version
       3.0+. Please navigate to Memberships > Settings > Pages and scroll down to the
       Custom Templates section – select the option to use the ‘Core PMPro Template’
       for the checkout template and let me know if the issue persists.
    2. You are currently using PMPro 3.0.3 however your levels and checkout page references?
       level=X while PMPro 3.0+ requires that the checkout page uses ?pmpro_level=X
       to avoid any conflicts with other plugins
    3. Your checkout page is duplicated and shows multiple times on the page – this
       can cause issues in some cases.
 * If point 1 can be fixed this will likely fix all of the issues you are experiencing
   with the discount code during checkout.
 * Please reach out to your theme author/developer and see if they can update your
   theme’s checkout.php template to be 3.0+ compatible so that you can continue 
   using it.
 * Kind Regards,
   Jarryd_Support Manager at Paid Memberships Pro_
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/dicount-code/#post-17712426)
 * I thought to check in here Theo, did you manage to get this working correctly?
 * There is a link at the top of the checkout page, under the pricing “Do you have
   a discount code? Click here to enter your discount code” which once clicked will
   allow customers to enter their discount code.
 * I have found a code snippet online to show the field and don’t require an extra
   click to display this field which may be implemented by a local developer or 
   freelancer for you – [https://gist.github.com/ipokkel/e14efc2e62f3fd1114e0e4c65d6f2c0e](https://gist.github.com/ipokkel/e14efc2e62f3fd1114e0e4c65d6f2c0e)
 * I’ve had a look at your checkout page again and saw you created a custom field
   called “Discounts” is this what you are referring to that isn’t working? If you
   need to apply a discount based off a custom field, this would require extensive
   custom coding to achieve.
 * I hope this helps clear things up.
 * Kind Regards,
   Andrew_Operations Director at Paid Memberships Pro_
 *  Thread Starter [Theo Kriek](https://wordpress.org/support/users/theo1979/)
 * (@theo1979)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/dicount-code/#post-17716194)
 * Hi, i managed to get it working thanks very much for the instructions –
 * I added the code – but its faulty –
 * ![](https://i0.wp.com/dolife.io/wp-content/uploads/2024/04/Screenshot-2024-04-
   26-164500.png?ssl=1)
    -  This reply was modified 2 years, 1 month ago by [Theo Kriek](https://wordpress.org/support/users/theo1979/).
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/dicount-code/#post-17716217)
 * To add the custom code to your site, please can you follow this guide – [https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/](https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/)
 * We recommend using a plugin like [**Code Snippets**](https://wordpress.org/plugins/code-snippets/)
   to add custom PHP code to your site.
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/dicount-code/#post-17728060)
 * Because there have not been any recent updates to this topic, we will be changing
   the status to resolved.
 * If you’re enjoying Paid Memberships Pro, would you mind rating it 5-stars to 
   help spread the word? [https://wordpress.org/support/plugin/paid-memberships-pro/reviews/](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Dicount code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/dicount-code/#post-17728060)
 * Status: resolved