Skip to Content Skip to Menu

[SOLVED] Is there a way to condition the subscription price to the registry fields?

  • cppleal
  • cppleal
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 1
7 years 4 months ago - 7 years 4 months ago #295620 by cppleal
I have an anys_without_renewing field that would condition the subscription price.

How could it be done to automatically change the price of the subscription?

If anys_without_renewing = 0 Price Suscription = 50 €
If anys_without_renewing = 1 Price Suscription = 60 €
If anys_without_renewing = 2 Price Suscription = 70 €

Thanks.
Last edit: 7 years 4 months ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48547
  • Thanks: 8290
  • Karma: 1445
7 years 4 months ago #295634 by krileon
Yes, but you'll have to do so using CBSubs Promotions. You can decrease the price of a plan with a positive promotion (e.g. 20) or increase it with a negative promotion (e.g. -20). Promotions can be set to always apply and only to a specific plan. They can then have conditions applied to them like checking a field value.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • cppleal
  • cppleal
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 1
7 years 4 months ago #295656 by cppleal
Thanks.

It works perfectly.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum