blliem
Forum Replies Created
-
do not look for anything else, this one is the best and the only one that anybody should use:
https://www.ads-software.com/plugins/pw-bulk-edit/Oh yes ! IT WORKS !
Thank you so much, you are a genius and I am an idiot !
Where can I vote for you ?
Thanks again !!!Thank you so much, I will try again and report.
Sorry but I do not understand, this code is copied from wordpress documentation
add_action( 'woocommerce_after_order_notes', 'my_custom_checkout_field' ); function my_custom_checkout_field( $checkout ) { echo '<div id="my_custom_checkout_field"><h2>' . __('My Field') . '</h2>'; woocommerce_form_field( 'my_field_name', array( 'type' => 'text', 'class' => array('my-field-class form-row-wide'), 'label' => __('Fill in this field'), 'placeholder' => __('Enter something'), ), $checkout->get_value( 'my_field_name' )); echo '</div>'; } add_action('woocommerce_checkout_process', 'my_custom_checkout_field_process'); function my_custom_checkout_field_process() { // Check if set, if its not set add an error. if ( ! $_POST['my_field_name'] ) wc_add_notice( __( 'Please enter something into this new shiny field.' ), 'error' ); } add_action( 'woocommerce_checkout_update_order_meta', 'my_custom_checkout_field_update_order_meta' ); function my_custom_checkout_field_update_order_meta( $order_id ) { if ( ! empty( $_POST['my_field_name'] ) ) { update_post_meta( $order_id, 'My Field', sanitize_text_field( $_POST['my_field_name'] ) ); } } add_action( 'woocommerce_admin_order_data_after_billing_address', 'my_custom_checkout_field_display_admin_order_meta', 10, 1 ); function my_custom_checkout_field_display_admin_order_meta($order){ echo '<p><strong>'.__('My Field').':</strong> ' . get_post_meta( $order->id, 'My Field', true ) . '</p>'; }
Thank you so much.
* FUNCTION TO ADD FACEBOOK FIELD TO THE CHECKOUT works if I use only this.
The problem starts with * Process the checkout/** * xxxxxx FUNCTION TO ADD FACEBOOK FIELD TO THE CHECKOUT */ add_action( 'woocommerce_after_order_notes', 'my_custom_checkout_field' ); function my_custom_checkout_field( $checkout ) { echo '<div id="my_custom_checkout_field"><h2>' . __('My Field') . '</h2>'; woocommerce_form_field( 'my_field_name', array( 'type' => 'text', 'class' => array('my-field-class form-row-wide'), 'label' => __('Fill in this field'), 'placeholder' => __('Enter something'), ), $checkout->get_value( 'my_field_name' )); echo '</div>'; } * xxxxxxxxxxxx * xxxxxxxxxxxx Process the checkout add_action('woocommerce_checkout_process', 'my_custom_checkout_field_process'); function my_custom_checkout_field_process() { // Check if set, if its not set add an error. if ( ! $_POST['my_field_name'] ) wc_add_notice( __( 'Please enter something into this new shiny field.' ), 'error' ); } * xxxxxxxxxxxx * xxxxxxxxxxxx Update the order meta with field value add_action( 'woocommerce_checkout_update_order_meta', 'my_custom_checkout_field_update_order_meta' ); function my_custom_checkout_field_update_order_meta( $order_id ) { if ( ! empty( $_POST['my_field_name'] ) ) { update_post_meta( $order_id, 'My Field', sanitize_text_field( $_POST['my_field_name'] ) ); } } * xxxxxxxxxxxx * xxxxxxxxxxxx Display field value on the order edit page add_action( 'woocommerce_admin_order_data_after_billing_address', 'my_custom_checkout_field_display_admin_order_meta', 10, 1 ); function my_custom_checkout_field_display_admin_order_meta($order){ echo '<p><strong>'.__('My Field').':</strong> ' . get_post_meta( $order->id, 'My Field', true ) . '</p>'; }
And is it normal that a code found on WordPress official documentation doesn’t work ?!
https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/Maybe it should be fixed.
hello,
Of course WordPress and woocommerce are updated to latest versions but anyway it is not related to wordpress and/or woocommercem the problem is only this stupid plugin.
Order list does not display, page not found error.
But when loading a direct order link, orders display.
Orders are in database but orders list cannot be displayed.
Thank you.Thank you, but no more plugin and especially not Jetpack for me…
I did it and no problem it seems.
Thank you, you are a genius and I won’t forget to buy the full version if it proves useful for my shop !
Hello, interested by the same question, so your reply means that your free plugin is totally useless for a Woocomemrce shop ?
Thank you.Hi, I am also interested, but no reply so far ?!
I send you, thank you for taking time to explain.
What I have done for now is put a text on top of the cart page to tell customers to click on yellow paypal button to avoid having to fill the form.
But it’s clear that it should be an option to display it anywhere we want.
Thanks again.
- This reply was modified 6 years, 8 months ago by blliem.
hello, I do not think that there is anything else to blame but this plugin that is not maintained. I can understand that coders have something else to do, but we should be warned.
My woocommerce orders list page never came back, can you tell me what I could do to get it back ?
Thank you so much.
Do not use it, it breaks the orders list page, I found many posts on Google about this problem. And no reply from plugin author.
- This reply was modified 6 years, 8 months ago by blliem.