Bienvenido, Invitado
Recordarme

TEMA:

Resource booking based on user subscription. 9 meses 4 días antes #244219

  • Autor del tema
  • snappysites
  • Fuera de línea
  • Junior Breezer
  • Junior Breezer
  • Mensajes: 39
  • Gracias recibidas: 0
Hi, guys and gals!

Hope you can help.

For a yoga instructor's website, I have set up 4 subscription products (virtual) in BC. Besides access, for the subscription period, to the instructor's library of video lessons, each subscription allows the member a fixed number of free live lessons, effectively:

1 month membership: 1 free lesson
3 month membership: 3 free lessons
6 month membership: 6 free lessons
12 month membership: 12 free lessons

To be clear, on the face of it, it may appear that the above translates to 1 lesson per month, but we actually want the member to be able to use up their allocated free lessons as quickly as they desire.

Therefore, I want to create a booking form in BF which will limit the number of submissions based on detecting the membership duration in BC.

I realise I could simply create four different forms, each conditionally visible to a specific user group, and, as shown in the BF documentation, limit the number of submissions per user per form.
However, that logic will be a problem, as the submission limit will not reset if the subscriber renews their subscription and remains in their user group, so I need a script that detects the actual current subscription status of the user and limits the submissions based on that.

OR, perhaps there is a way to modify the file downloads section of the virtual product to allow access to a form, rather than a file?

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by snappysites.

Resource booking based on user subscription. 9 meses 3 días antes #244247

  • Avatar de TheMuffinMan
  • TheMuffinMan
  • Fuera de línea
  • Developer
  • Developer
  • Mensajes: 10064
  • Karma: 167
  • Gracias recibidas: 808
Hi,

what we are doing here at crosstec is having a product for each membership.
And in each product => Parameters Advanced, we setup a duration in days and the group that the user should be included with for as long as the duration lasts.

This is observed by the system plugin "plg_system_breezingcommerce".

And there you have your script ;)

You could make a copy of this system plugin and match it exactly your case. There is a lot going on there, but it should be possible to limit it to your said memberships, including setup.

Regards,
Markus

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Resource booking based on user subscription. 9 meses 3 días antes #244283

  • Autor del tema
  • snappysites
  • Fuera de línea
  • Junior Breezer
  • Junior Breezer
  • Mensajes: 39
  • Gracias recibidas: 0
As I stated, I already have virtual products for each membership.

The problem arises after someone has bought a membership.

Members are entitled to a set amount of free yoga lessons, depending on how long the membership period is.

It would be great I could create these free lessons as virtual products and list them as available to the customer in the same way as available file downloads can be listed

HOWEVER, I don't see any way to do that in BC, so I'm proposing to create order forms in Breezing Forms.

How do I limit submissions on those forms, based on valid BC membership?

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by snappysites.

Resource booking based on user subscription. 9 meses 2 días antes #244329

  • Avatar de TheMuffinMan
  • TheMuffinMan
  • Fuera de línea
  • Developer
  • Developer
  • Mensajes: 10064
  • Karma: 167
  • Gracias recibidas: 808
Hi,

I feel this is indeed possible to do it with BF but I need to try that myself first.

Regards,
Markus

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Resource booking based on user subscription. 9 meses 2 días antes #244334

  • Autor del tema
  • snappysites
  • Fuera de línea
  • Junior Breezer
  • Junior Breezer
  • Mensajes: 39
  • Gracias recibidas: 0
Thanks

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Resource booking based on user subscription. 9 meses 1 día antes #244540

  • Autor del tema
  • snappysites
  • Fuera de línea
  • Junior Breezer
  • Junior Breezer
  • Mensajes: 39
  • Gracias recibidas: 0
Hi, Markus. Any news?

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Tiempo de carga de la página: 0.052 segundos