Hey there, Awesome Customers!

Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.

During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.

We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.

Thanks a bunch for your understanding and support!

Catch you on the flip side!

Warm regards,

TMS

Okay
  Public Ticket #2300684
coupon, block of bookings
Closed

Comments

  •  2
    Laura started the conversation

    Hi there 

    I can with a question of integration/service.

    My client need a product/service as book a block of sessions - eg, a client buy a block of 10 session on pilates - then, this client will be able to book himself into. 

    via woocommerce? coupons? 

    I cannot see where I can add coupons? is that via woocommerce?


    Many thanks,

    Laura

  •  2,498
    Aleksandar replied

    Hello Laura

    Unfortunately, at the moment we don't have a bulk purchase option. We're looking into adding that as a feature, but until then I can offer a work-around.

    You can create a service which would be named "Bulk Purchase" for example, and it would cost a certain amount. Then, you would need to create a 100% discount coupon which could be used 9 times, and limit the usage to 9 per customer, like this:

    6096551494.png

    My advice would also be to enable the notifications, so they get an e-mail with the discount coupon, explaining that they need to use the coupon for the remaining 9 sessions:

    7954541512.png

    You would need to add the %coupon_1% placeholder to the e-mail, so they get the coupon code they can use.

    After someone books the first appointment, they receive an e-mail with it, and they use it to book the remaining 9 sessions.

    I hope this helps.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Laura replied

    Hi Aleksandar 


    Thanks for your replied and work-around way.  Thats could work. 

    I'm wondering if there is way to do that via WooCommerce and in automatically way - so we don't have to create manually a coupon every time someone buy a bulk service -  I'm trying to figure out an easy way to do that by my client after install and setup all the booking plugin 

    Many thanks, 
    Laura


  •  2,498
    Aleksandar replied

    Hello again Laura

    Honestly, I don't know if you'll be able to do that.

    We haven't done anything like that yet, and you may need to develop this as a custom solution, which isn't included in the provided support for the plugin.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Laura replied

    Hi Aleksandar for your reply.

    I'm wondering if they can be done with web hooks - between woocommerce coupons and Amelie coupons code? 

  •  2,498
    Aleksandar replied

    Hi again Laura.

    Like I mentioned in my previous response - we haven't done anything like that, so I don't know if it can be done like that.

    Unfortunately we don't have hooks (action and filters) at the moment. What we have is a few JS hooks that is triggered depends on the view:

    window.beforeAddToCalendarLoaded()
    window.beforeBookingLoaded()
    window.beforeSearchLoaded()
    window.beforeSearchFiltered()
    window.afterSearchFiltered()
    window.beforeConfirmedBooking()
    window.beforeCatalogLoaded()
    window.afterSelectCatalogCategory(object_category)
    window.beforeCatalogCategoryLoaded(object_category)
    window.beforeCatalogServiceLoaded(object_category, object_service)
    window.afterSearchActivateService(object_appointment, object_serviceActive)
    window.afterSearchGoToSecondStep(object_appointment, object_serviceActive)
    window.afterBookingSelectDateAndTime(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.afterBookingSelectService(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.beforeConfirmBookingLoaded(object_appointment, object_service, object_provider, object_location)
    window.afterConfirmBooking(object_appointment, object_service, object_provider, object_location)

    JS files are modified (minimized) in public version of plugin (in our development environment is accessible), but unfortunately I can not send you our source code because that is the policy of our company.

    All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features you can unminify the js and customize it.

    If this is not helpful, please let me know and please explain your idea in a bit more detail, and I'll gladly forward the request to our developers. Maybe they can provide some advice.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Laura replied

    Hi Aleksandar 

    Thanks for your reply. 

    Ok, so webhooks, out of the equation. 

    Now, the idea fully is as the booking system is for a healing/gym place customer can buy a 10 sessions package and book any time. 

    Currently, there is a way around to do that, via WooCommerce as a product of '10 session pack' then on Amelia a coupon can be generated to use 10 times from there. 

    Now, all easy, apart for that fact that from Amelia, the coupons are manually added. 

    Under WooCommerce and with Smart Coupon we can generate as per client buy, so the idea is to take that coupon code that WooCommerce make when someone buys the 10 sessions pack and use it on Amelia, automatically added on a coupon in Amelie, not manually. 

    Or a way that Amelie plugin has this feature for a service to buy 10 sessions or X sessions then booked that session one by one.

    As per bookings, the plugin is used for gyms, spa and consultations (and more), this option to buy a 10 session pack or X sessions pack I think it's a must. 

    Let me know, and I'm carrying on digging how this can be done automatically. 

    Many thanks,

    Laura

  •  2,498
    Aleksandar replied

    Hello again Laura

    Unfortunately, other than the workaround I provided in my initial response, there's nothing we can do to make it generate automatically.

    I will forward the idea to our development team, so they can look into some possible solutions in the future. Also, if they let me know there's a better workaround I'll inform you right away.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Laura replied

    Hi Aleksandar


    Thanks for your reply.


    What about if someone can book multiple appointments or events? I cannot find a way for a client add multiple events - as course - and options to add on the 'shopping cart' 


    Many thanks,



  •  2,498
    Aleksandar replied

    Hi again Laura

    No one can book multiple appointments or events in a single session. Even if they were to add one appointment in the WooCommerce's cart, they wouldn't be able to go back to the booking session, and add another product in the cart. The first one would be overwritten.

    That's how the plugin works at the moment, and it cannot be changed.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Laura replied

    Hi Aleksandar 

    Thanks for your reply. 

    I was looking a solution for other clients, but she need the block of bookings on her courses - thanks for your time to back to me - and maybe a feature for Amelia plugin in future 

    thanks! 

  •   Aleksandar replied privately