Cees Rijken
Forum Replies Created
-
Hi there, thanks for the quick reply. Can you tell me what you need and how to get it to you? Browser console does not show any JS errors (completely empty).
Thanks,
Cees
Forum: Plugins
In reply to: [WooCommerce] Hook for when customer is loaded in admin orderGlad to be of service! Cheers!
Forum: Plugins
In reply to: [Contact Form 7] CF7 + Akismet + Reply-to does not workThat does not answer my question. I have read this page already. Can please you tell me what is wrong with:
[email* email-903 class:field-input placeholder "Email" akismet:author_email]or wrong with:
Reply-to: [email-903]Thanks!
Forum: Plugins
In reply to: [WooCommerce] Change create date format admin orderSo I added a unique id to the create-date-field, wrote a little JS script to target that id and set the dateFormat as I wanted it, and then enqued the script. Seems to work!
Forum: Plugins
In reply to: [WooCommerce] Change create date format admin orderYes, it works now (I forgot the require-bit in functions.php).
However, when saving the admin order, you will get: “please match the requested format”, so I changed the pattern to my desired format.
But when choosing a date from the picker, it is still the old (US) format, so I will still get the requested format-error when trying to save. I should look for that somewhere in a JS-file, I reckon?
Forum: Plugins
In reply to: [WooCommerce] Change order customer address fields in adminAnd the customer profile hook I was looking for is: woocommerce_customer_meta_fields
Forum: Plugins
In reply to: [WooCommerce] Change order customer address fields in adminChanging the field order that’s used when adding an admin order is apparently done through “woocommerce_admin_billing_fields”, so I just need an answer for the edit-user screen.
Forum: Plugins
In reply to: [WooCommerce] Change billing fields when editing admin orderI just found out I can use “woocommerce_localisation_address_formats” to this….
Forum: Plugins
In reply to: [WooCommerce] Change create date format admin orderSorry for the late reply, but this does not seem to work….
Added /woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php to my child theme, edited line 236, refreshed a couple of times, emptied cache etc., but no dice….
Forum: Plugins
In reply to: [WooCommerce] Change create date format admin orderCheers Mirko, thanks for the swift reply!
Weird stuff that the date format is hardcoded, but since I already use a child theme, I can deal with it.
Forum: Plugins
In reply to: [WooCommerce] Hook for when customer is loaded in admin orderCheers!
I figured it out… well, to a certain degree. First I add a custom field to the billing fields array, using: woocommerce_admin_billing_fields and then I change the value of that field using: woocommerce_ajax_get_customer_details
So far I have it working with a text field, but I really want “woocommerce_admin_billing_fields” to add a select and then have “woocommerce_ajax_get_customer_details” add the options.
Any change of shining a light on that?
Forum: Plugins
In reply to: [WooCommerce] Hook for when customer is loaded in admin orderNo, those hooks print something on certain positions.
I need something to happen when the customer is has been selected.
Thanks!
You mean like switching the main image if a different option is clicked on? I would like to know that too.
I need something similar. Since support does not answer very much, did you figure this one out?
I understand, but if you add a little manual on how to implement that specific hook(s), this might save you a lot of questions….