Knowing that we are using woocommerce for checkout. We are trying to achieve a couple of things :
1) display events details in a custom template using Elementor . Can you please let us know how with Elementor I can access to the dynamic field from Amelia?
2) we would like our employees to be also customers and access to the website with only one unique login credentials. and then display specific information within the custommer account module from woocommerce. Can you please let us know what would be the best strategy to achieve this?
1) It isn't possible to modify the content of Amelia through Elementor, as Amelia uses Vue.js framework.
2) You can use a plugin for adding more user roles to WP Users, like for example, User role editor, and then add both WooCommerce Customer and Amelia Employee user roles to one WP user.
If you have any further questions feel free to ask.
Regarding first point, I am not sure what exactly do you need, but Amelia uses admin-ajax calls for taking data from the server and showing them on the front-end. This is the endpoint:
Hi There,
Knowing that we are using woocommerce for checkout. We are trying to achieve a couple of things :
1) display events details in a custom template using Elementor . Can you please let us know how with Elementor I can access to the dynamic field from Amelia?
2) we would like our employees to be also customers and access to the website with only one unique login credentials. and then display specific information within the custommer account module from woocommerce. Can you please let us know what would be the best strategy to achieve this?
Thanks in advance
Hello Dominique,
1) It isn't possible to modify the content of Amelia through Elementor, as Amelia uses Vue.js framework.
2) You can use a plugin for adding more user roles to WP Users, like for example, User role editor, and then add both WooCommerce Customer and Amelia Employee user roles to one WP user.
If you have any further questions feel free to ask.
Thanks Marija,
Second point is helpful much appreciated.
For first point, we only need list of fields related to event used by Amelia. Is there anyway to get them?
Thanks in advance
You are welcome, Dominique.
Regarding first point, I am not sure what exactly do you need, but Amelia uses admin-ajax calls for taking data from the server and showing them on the front-end. This is the endpoint:
/wp-admin/admin-ajax.php?action=wpamelia_api&call=/events&dates[]=2020-06-01&dates[]=2020-09-06