Custom field value to replace the actual fee associated

  • Alain Mitry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #136325 by Alain Mitry
Hello,

membershipprodoc.joomservices.com/basic-...wn-custom-field-type

I can SUM my custom field to the TOTAL price as in the example, but in fact I would like to REPLACE IT (and not to SUM both field).
Or can I use my LIST widget in the FEE Formula?
e.g. [FIELD_VALUE] - [FIELD_VALUE] + [NAME_OF_CUSTOM_FIELD_IN_UPPERCASE].VALUE[1] ??? How could I refer to the VALUE selected in my widget?

How can I do that?

Cheers,

Alain

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
5 years 8 months ago #136326 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom field value to replace the actual fee associated
Hi Alain

I don't really understand your question. Could you please explain exactly what you are trying to do so that I can understand your requirement and find a solution?

Tuan

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

  • Alain Mitry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #136328 by Alain Mitry
In all my events I have a price... Let say $30.

My customers have the capability to buy PACKAGE for 6 events ( buy 5 get 6). So, I have a custom widget listing this option (Buy Package instead of the individual price cf. $150).

The custom widget list 3 options:
- Individual price => sell the current price
- Buy package for 6 events => sell $150
- Use existing package => see $0 for the next 5 events (the team will verify manually if the customer's package has been paid)

I can add $0 for current price and add $120 to the event's price to get the package price (30 + 120 = 150), but the issue I have is for the next events when an existing package is selected.

Once the customer bought a PACKAGE, the next time, he should not buy the event $30 but 0.
How I can replace the unit price of the events ($30) by 0 when the custom widget is selected 'Existing Package'. Can I know the value of the widget list selected e.g [NAME_OF_CUSTOM_FIELD_IN_UPPERCASE].VALUE and use it in the formula?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
5 years 8 months ago #136333 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom field value to replace the actual fee associated
We do not have a way to have it works like that, sorry. However, maybe you can use this plugin eventbookingdoc.joomservices.com/plugins/auto-registration

The idea is that you can create one package event and when someone registers for that event, they will be registered automatically for all the events in the package.

Hope that could be the solution for your problem

Tuan

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

  • Alain Mitry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago - 5 years 8 months ago #136337 by Alain Mitry
Thanks.... The auto-registration is not good as we proposed different schedules, etc....

I'll go with the workaround to set a negative values (-35) in the VALUEs of the custom widget (for "Existing package"). So, $35 - $35 = $0 to pay.
At the moment that's fine as all our events have the same prices but I wont be able to implement like that if one day I had different prices for the events.
Last edit: 5 years 8 months ago by Alain Mitry.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
5 years 8 months ago #136346 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom field value to replace the actual fee associated
OK Alain. Please use that workaround for now. We can come back to this topic again and find a solution in the future if needed

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc