As far as I understand it, the Appointment Info in the Woocommerce Integration is generated by InfrastructureWPIntegrationsWooCommerceWooCommerceService.phpprivate static function getAppointmentLabels($data)
What is the appropriate way to customize the output of this function?
We use Themeco Pro as theme and some WooCommerce files can be customized by adding them to the WooCommerce child theme, like themespro-childwoocommerceemailscustomer-completed-order.php
Do you know if something like that exists for Amelia? Or should I consult the people at Themeco on this?
Looking forward to hearing from you.
Best wishes,
Hendrik
FYI, the items we would like to change:
Remove the margin in <hr style='margin-top: 16px; margin-bottom: 10px'>
Only the Client Time is relevant for the client, so we would like to remove the 'Local Time'
We offer couple and family therapy and normally one person books for them as a couple or family. The 'Total Number of People: 1' is therefore confusing in our case, and we would like to remove this too.
I'm afraid that we didn't quite get what you want to achieve exactly? Can you explain to us in a little more detail, and send us a couple of screenshots?
Unfortunately, we can not say if there is a better way to achieve this since we do not quite get what and where you changed. Can you please send us a couple of screenshots to see what exactly you did and we will then see if there is any better way to achieve that t or not?
It has been quiet on this issue for some time. Probably it means that the WooCommerce confirmation text can only by changing the PHP. We will make a note, to not forget it with updates :-)
We apologize for taking a little longer to respond to your ticket. We have forwarded this to our developers in a meantime. Our colleagues work on very complicated tickets and they work on them based on severity so if there are some major bugs or critical issues they must be addressed first. I will check up with them again and as soon as we get some feedback from them we will contact you. Your patience is highly appreciated.
We just got the feedback from our colleagues and they have told us that that you can use metadata. My apologies if I have misunderstood in the first place.
In Amelia/setting/payments, if you scroll down when WooCommerce payment gateway is enabled,
you will see the option to Set MetaData and Description:
Just enter the placeholder for the information that you want to be shown there and that is it.
-
Here is our Test example.
Let's say we have this Custom Field 1, that we labeled "Delivery address".
A customer comes to book, fills this address as something random as "Los Angeles street 1",
and if we put this placeholder for custom field 1 , in the Metadata of WooCommerce, it will appear on the Cart and on the Checkout:
-
As you see, when we hover the mouse over each custom_field placeholder, it will reveal the label of the Custom Field, to make it easier to see which ones we need.
You are most welcome, and we are glad that we were able to help you. Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best and hope you have a wonderful day ahead.
Hello Amelia-Team,
As far as I understand it, the Appointment Info in the Woocommerce Integration is generated by
InfrastructureWPIntegrationsWooCommerceWooCommerceService.phpprivate static function getAppointmentLabels($data)
What is the appropriate way to customize the output of this function?
We use Themeco Pro as theme and some WooCommerce files can be customized by adding them to the WooCommerce child theme, like themespro-childwoocommerceemailscustomer-completed-order.php
Do you know if something like that exists for Amelia? Or should I consult the people at Themeco on this?
Looking forward to hearing from you.
Best wishes,
Hendrik
FYI, the items we would like to change:
Hello there,
I'm afraid that we didn't quite get what you want to achieve exactly? Can you explain to us in a little more detail, and send us a couple of screenshots?
We wish you all the best.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Marko,
We now solved our issue by removing:
// '<strong>' . FrontendStrings::getCommonStrings()['total_number_of_persons'] . '</strong> '. $data['bookings'][0]['persons'] ,
from WooCommerceService.php in a hard-coded way. In this way, the "number of participants"-text does not confuse our clients.
Is there a way to make such a chance in a more elegant way, one in which the chance does not have to be redone with every new Amelia version?
Looking forward to hearing from you,
Hendrik
Hello again,
Unfortunately, we can not say if there is a better way to achieve this since we do not quite get what and where you changed. Can you please send us a couple of screenshots to see what exactly you did and we will then see if there is any better way to achieve that t or not?
Looking forward to your reply.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Hendrik,
We have forwarded your ticket to our level 2 agents and as soon as we get some feedback from them we will contact you immediately.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Marko,
It has been quiet on this issue for some time. Probably it means that the WooCommerce confirmation text can only by changing the PHP. We will make a note, to not forget it with updates :-)
Kind regards,
Hendrik
Hello Hendrik,
We apologize for taking a little longer to respond to your ticket. We have forwarded this to our developers in a meantime. Our colleagues work on very complicated tickets and they work on them based on severity so if there are some major bugs or critical issues they must be addressed first. I will check up with them again and as soon as we get some feedback from them we will contact you. Your patience is highly appreciated.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Hendrik,
We just got the feedback from our colleagues and they have told us that that you can use metadata. My apologies if I have misunderstood in the first place.
In Amelia/setting/payments, if you scroll down when WooCommerce payment gateway is enabled,
you will see the option to Set MetaData and Description:
Just enter the placeholder for the information that you want to be shown there and that is it.
-
Here is our Test example.
Let's say we have this Custom Field 1, that we labeled "Delivery address".
A customer comes to book, fills this address as something random as "Los Angeles street 1",
and if we put this placeholder for custom field 1 , in the Metadata of WooCommerce, it will appear on the Cart and on the Checkout:
-
As you see, when we hover the mouse over each custom_field placeholder, it will reveal the label of the Custom Field, to make it easier to see which ones we need.
Hope this helps.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Marko,
Thank you so much for pointing out the Payment Metadata! It works perfectly.
Best wishes,
Hendrik
Hello Hendrik,
You are most welcome, and we are glad that we were able to help you. Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best and hope you have a wonderful day ahead.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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