Title: Limiting chain usage?
Last modified: November 14, 2019

---

# Limiting chain usage?

 *  Resolved [TStone](https://wordpress.org/support/users/tstone/)
 * (@tstone)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/limiting-chain-usage/)
 * Hello,
 * Let’s say I have a ticket buyer named Adam. After he have bought a ticket, he
   get a nice little bonus; a coupon code (ADAM-XXXX) to give away to a friend. 
   And the friend chosen is named Billy.
 * Now… when Billy using that coupon code (ADAM-XXXX)… will he in turn also get 
   a coupon code (BILLY-XXXX)? Because that is not necessarily desireable. It would
   be nice to have this limited to people who have bought a ticket for the full 
   standard amount, and excluding those who are using a coupon themselves.

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

 *  Thread Starter [TStone](https://wordpress.org/support/users/tstone/)
 * (@tstone)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/limiting-chain-usage/#post-12131861)
 * Like:
 *     ```
       if ( NOT using coupon){
       Generate ThankYouCoupon;
       }
       ```
   
 *  Plugin Author [Chris Bibby](https://wordpress.org/support/users/cmbibby/)
 * (@cmbibby)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/limiting-chain-usage/#post-12135557)
 * I’ll make it happen.
 * Thanks very much for the feedback and great ideas.
 * Cheers
 *  Thread Starter [TStone](https://wordpress.org/support/users/tstone/)
 * (@tstone)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/limiting-chain-usage/#post-12137407)
 * Wonderful! It is a nifty little plugin you’ve made!
 *  Plugin Author [Chris Bibby](https://wordpress.org/support/users/cmbibby/)
 * (@cmbibby)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-chain-usage/#post-12139914)
 * Check out 1.1.1 🙂
 *  Thread Starter [TStone](https://wordpress.org/support/users/tstone/)
 * (@tstone)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-chain-usage/#post-12139998)
 * Awesome! Now everything works like a dream! Thank you!

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

The topic ‘Limiting chain usage?’ is closed to new replies.

 * ![](https://ps.w.org/thankyou-coupons-for-wc/assets/icon-256x256.png?rev=2190573)
 * [Thankyou Coupons for WooCommerce](https://wordpress.org/plugins/thankyou-coupons-for-wc/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/thankyou-coupons-for-wc/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/thankyou-coupons-for-wc/)
 * [Active Topics](https://wordpress.org/support/plugin/thankyou-coupons-for-wc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/thankyou-coupons-for-wc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/thankyou-coupons-for-wc/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [TStone](https://wordpress.org/support/users/tstone/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-chain-usage/#post-12139998)
 * Status: resolved