TOPIC:

Resource booking based on user subscription. 2 months 2 weeks ago #244219

  • Topic Author
  • snappysites
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 39
  • Thanks: 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?

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

Last edit: Post by snappysites.

Resource booking based on user subscription. 2 months 2 weeks ago #244247

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 798
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

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

Resource booking based on user subscription. 2 months 2 weeks ago #244283

  • Topic Author
  • snappysites
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 39
  • Thanks: 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?

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

Last edit: Post by snappysites.

Resource booking based on user subscription. 2 months 2 weeks ago #244329

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 798
Hi,

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

Regards,
Markus

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

Resource booking based on user subscription. 2 months 2 weeks ago #244334

  • Topic Author
  • snappysites
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 39
  • Thanks: 0
Thanks

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

Resource booking based on user subscription. 2 months 2 weeks ago #244540

  • Topic Author
  • snappysites
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 39
  • Thanks: 0
Hi, Markus. Any news?

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

Time to create page: 0.051 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!