Okay
  Public Ticket #2082405
Woocommerce Products Integration
Closed

Comments

  •  1
    Ivo started the conversation

    Good Morning.

    We have a website with services / activities and would like to use your plugin for management and then billing.

    I would like to know if it is possible in woocommerce to show the services as woocommerce products and not as a generic product which has as additional information the services. Because our billing plugin requires woocommerce products per service.

    Does your plugin respond to this? In short, service A in your plugin can be product A in woocommerce and service B in your plugin be product B in woocommerce, instead of a generic product with additional information with the services?

    We wait for a quick response.

    Thank you.

  • [deleted] replied

    Hi Ivo,

    Thank you for your interest in our plugin.

    This currently is not possible, just one product is made in WooCommerce.


  •  1
    Ivo replied

    Hello Nevena.

    Thanks for the answer.

    And by the Woocommerce API, in the order, can I get the information of the services that are in the line of the generic product that is being invoiced?

    What extra information does the service return on the product line? (Code, description ...?)

    We wait for a quick response.

    Thank you.

  • [deleted] replied

    Hi Ivo,

    Service name, employee name, total number of persons, extras, custom fields and price are sent from Amelia to WooCommerce. For any additional info, it would need custom work. 

  •  1
    Ivo replied

    Hi Nevena,

    We already know that you don't send products by service to woocommerce. We just want to know if we can do some development on our plugin to connect to woocommerce API go get this type of information.

    This information that you told me that you send to woocommerce is a "text area" or you have a custom fields that you fill on woocommerce that we can get calling woocommerce API? Or to get this type of information we need to parse this "text area"?

    Thanks,
    Ivo Reis

  • [deleted] replied

    Hi,

    Did you tried WooCommerce on demo site? You can try n Fitness Yoga\ Gym example to see how it works.

    https://wpamelia.com/demos/

    We haven't used WooCommerce API, just hooks for the integration.

    Can you explain me better what do you need to achieve? 

  •  1
    Ivo replied

    Hello Nevena.

    Yes we have already tested your demos.

    What we need is to know which are all fields that returns the array of additional information from the Appointment (see attached image).

    We need to know this information, because for each service, we have to create a product in our billing (integration) program.

    This Appointment Info comes like what? In an Array?

    Thank you.


  • [deleted] replied

    Hi Ivo,

    The booking information is added to WooCommerce Cart Object. Some data is saved there directly (User input: FirstName, LastName, Email, Phone and CustomFields: Input, TextArea... Booking Date and Time). Other data is saved as entity ID values in cart object (ServiceId, ExtraId, CouponId...), and their info (name, limitations, price...) is fetched from Amelia DB tables when order gets processed.

  •  1
    Ivo replied

    Thank you Nevena for the information.

    Best Regards,

    Ivo Reis.