Backend - auto filling fields on new subscription

  • Dol
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • JC
More
8 years 6 months ago - 8 years 6 months ago #88824 by Dol
Hi,

I'm using Membership pro on backend only cause subscription must be create or edited by administrators only (payment is offline).

When I create a new subscription, I see the registration form with all active fields.
The user profile fields are auto filled when I select a user. That's OK.

But dates and prices are not auto filled when I select a plan from the list.

Also, setup fee and payment fee are not hidden, but all my plans don't have fee and they have been setup like this (and payment plugin too).

Is it normal or there is a problem ?

I know, an administrator could let this fields empties, and the system will fill datas with the good values.
But that's not really ergonomic to use, and administrator thinking there's a problem could fill dates and prices with bad values instead.

Is it a way to improve this form ?

Thank for your answer.

JC
Attachments:
Last edit: 8 years 6 months ago by Dol.

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

More
8 years 6 months ago #88864 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Backend - auto filling fields on new subscription
Hi

As you can see, the system leave these fields empty to give administrator to enter the value for these fields manually if needed

In case administrator doesn't enter it, the system will calculate these data automatically

If you want to remove these fields, the only way is editing the code

Look at administrator/components/com_osmembership/view/subscription/tmpl/default.php, you will see these fields and can remove it if it is really needed

Tuan

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

  • Dol
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • JC
More
8 years 6 months ago #88870 by Dol
Thank Tuan for yours answer.

I understand, and I think it's better to not change the component's core code.
I will just add some customized css classes to not display this fields.

JC

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