Okay
  Public Ticket #2416582
Amelia WooCommerce Email Details
Closed

Comments

  •  1
    Honey Goyal started the conversation

    Hi,

    I'm using this plugin with WooCommerce. I'm getting the missing Appointment information in WooCommerce Emails. Can you please let me know how do i add the another information or is there have any hook to add the another information in WooCommerce emails.

    Second, Can you please let me know is there have any hook where I'll get the Appointment ID & other details (currently using the WooCommerce thank you hook but not getting the appointment info.)

    Please have a look to this screenshot for missing info. in email  : http://prntscr.com/snnzlp

    Thanks.

  • [deleted] replied

    Hello Honey Goyal, 

    There isn't a possibility to add information to the WooCommerce checkout/email if that is what you are trying to achieve. If you want to get all the information about the appointment in Amelia, you can use the email notifications in Amelia and copy/paste placeholder for any information that you want to get about the appointment in the notifications. 

    Unfortunately there are no hooks (action and filters) in Amelia. What we have are  a few JS hooks which are triggered depending on the view, if that could help somehow:

    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)

    If you have any further questions feel free to ask.

  •  1
    Honey Goyal replied

    Hi Marija,

    Is there have any way to get the Appointment ID after booking?

    Also, I'm getting the WooCommerce Products in Cart & Checkout during Normal Booking, Please suggest me for same.

    Thanks.

  • [deleted] replied

    Hello Honey, 

    There isn't  a possibility to get the ID from Amelia, but Amelia works with admin-ajax calls, so you can check if that can somehow help you out. 

    Also, I'm getting the WooCommerce Products in Cart & Checkout during Normal Booking, Please suggest me for same.

    I am not sure if I understood this well, could you please tell me what exactly are you referring to when you say Normal Booking?