Only Member Receives Discount

More
9 years 7 months ago #49538 by Raj Velmurugan
Replied by Raj Velmurugan on topic Only Member Receives Discount

Tuan Pham Ngoc wrote: Hi

That's not possible using custom fee field. You will need to customize code to detect if the registrant it a member based on his email....


Where is the php for this code that we need to customize? is that in template or a separate php file?

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

More
9 years 7 months ago #49539 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Only Member Receives Discount
Sorry Raj. It is not possible. In the new version, we decided to change the the group registration process to use one page registration, so all members will need to be entered on one page, not in seperate pages as in old version

Tuan
The following user(s) said Thank You: Raj Velmurugan

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

More
9 years 7 months ago #49540 by Raj Velmurugan
Replied by Raj Velmurugan on topic Only Member Receives Discount
Tuan,
What about the customizing the membership status - which file/template has the code to customize?

BTW, would you have paid customizing service available to do this? As I said, I am a volunteer for a non-profit and we don't have developers.

Raj

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

More
9 years 7 months ago #49541 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Only Member Receives Discount
Hi Raj

At the moment, I am too busy, so I am afraid of I could not customize it for you. Customizing it is also not easy. Without thinking it too much, I am afraid of you will have to make a ajax request when users enter email for member so to verify membership status and update the price for registration.

It is not easy work, I am afraid of :(.

Tuan

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

More
9 years 7 months ago #49544 by Raj Velmurugan
Replied by Raj Velmurugan on topic Only Member Receives Discount
Tuan,
That is fine. Can you tell me which template or php files the code is so I can get someone to help here?

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

More
9 years 7 months ago #49545 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Only Member Receives Discount
Hi

components/com_eventbooking/views/register/tmpl/group_members.php

That's the file you will need to make the ajax request.

However, I am not sure you can do that. As I said, it is complicated :(.

Tuan

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

Moderators: Tuan Pham Ngoc