Company Purchase for multiple Users

  • Patrick Connors
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #139192 by Patrick Connors
Company Purchase for multiple Users was created by Patrick Connors
I have set up 3 plans for a company purchase in which a company of 20 or more users will get a discounted rate for either Monthly, Quarterly or Yearly plans. I've set up the plans and a custom quantity field but can't seem to get the Fee Formula to generate the right price. It's always 1% more then the pricing calculation.

Field Type - Text
Default Value - 1
Fee Field - Yes
Fee Formula - [MONTHLY_USERS]*[PLAN_PRICE]

Also how do I call up this purchased plan for 20 or more people to use for signing in.
The only method I can see is making a coupon for this company to use.

Any thoughts on fixes or settings for this 1% and multiple users?

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

More
4 years 10 months ago #139194 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Company Purchase for multiple Users
Hello Patrick

For this, maybe you should use Group Membership feature, see membershipprodoc.joomservices.com/advanc...res/group-membership

Tuan

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

  • Patrick Connors
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #139197 by Patrick Connors
Replied by Patrick Connors on topic Company Purchase for multiple Users
Ok, I see the group membership for them to add users by being an admin for group membership.

My problem now is the calculation field always comes out to 1.1xthe quantity x the Plan Price.

How do I fix this miscalculating?

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

More
4 years 10 months ago #139206 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Company Purchase for multiple Users
Hello Patrick

I think it happens because you enter some Price inside the plan setting and that price is added to total subscription fee? Maybe you can edit the plan, set Price to 0, then check it again to see if it solves the issue?

If the error still happens, send me super admin account of the site and link to the subscription form. I will check to see what's wrong and get it sorted

Tuan

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

  • Patrick Connors
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #139267 by Patrick Connors
Replied by Patrick Connors on topic Company Purchase for multiple Users
There is no other price in the plan but when I put it to one user for the price it ends up being 2 times the price. It is like it adds the price plan to itself and then does the multiplication.

So if this is my formula [MONTHLY_USERS]*[PLAN_PRICE]
It takes the price 18.99 and quantity 1 and makes the total 37.98.
This is basically 2x18.99 and not 1 times.
Any modification to the formula needed to not add the price again?

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

More
4 years 10 months ago #139275 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Company Purchase for multiple Users
Hello

It should be ([MONTHLY_USERS] - 1)*[PLAN_PRICE]

Regards,

Tuan

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

  • Patrick Connors
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #139278 by Patrick Connors
Replied by Patrick Connors on topic Company Purchase for multiple Users
Ok got that to work but I can't get the validation for groups to be 20 or more users for group price in validation. I went to the github and it didn't help.
I want the validation to be =>20 users or it says "20 or more users needed".

Any help?

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

More
4 years 10 months ago #139279 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Company Purchase for multiple Users
Hi Patrick

Edit the field, set validation rules to validate[required,min[20]], then check it again to see if it works as you want

Tuan

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

  • Patrick Connors
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 9 months ago - 4 years 9 months ago #139333 by Patrick Connors
Replied by Patrick Connors on topic Company Purchase for multiple Users
Ok I have all fields working and plans get a group admin and they can add users. The custom field I made [MONTHLY_USER] gets the quantity they are purchasing. When I test being a group admin the user count does not stop at the [MONTHLY_USER] they purchase.

The documents don't go into this what needs to be added or changed to get this to work properly and not let users add more people then they are allowed?
Last edit: 4 years 9 months ago by Patrick Connors. Reason: correct letters

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

More
4 years 9 months ago #139336 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Company Purchase for multiple Users
Hello Patrick

Currently, the counter is handled base on Max Number Of Group Members setting in the plan. The number of group members, does not depends on the the value of custom fields you setup yet (it's hard to handle it base on value of a custom field)

Tuan

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