Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Forum: Plugins
    In reply to: [WooCommerce] Hover notes
    Thread Starter Audrey

    (@dreadlocksnation)

    Greetings,

    Thank you for your reply, and for this explanation. I like to get a special column for it, it helps me to save time during my workflow.

    I also added the thumbnail of the item, with the quantity ordered and the SKU with the size in the state column. https://ibb.co/5BXzQwb

    Blessings.

    Yes you can close this thread now ๐Ÿ™Œ

    Forum: Plugins
    In reply to: [WooCommerce] Hover notes
    Thread Starter Audrey

    (@dreadlocksnation)

    Greetings, yes actually I have the same thing, a generic text of what the status mean.

    If you want, you can add this code in your fonctions.php to get a new column “Notes” with the latest note.

    Have a blessed day.

    // Ajouter une colonne personnalisรฉe pour les notes
    add_filter('manage_edit-shop_order_columns', 'custom_shop_order_notes_column', 20);
    function custom_shop_order_notes_column($columns) {
    $columns['order_notes'] = __('Notes', 'woocommerce');
    return $columns;
    }

    // Remplir la colonne avec la note la plus rรฉcente
    add_action('manage_shop_order_posts_custom_column', 'custom_shop_order_notes_column_content');
    function custom_shop_order_notes_column_content($column) {
    global $post;

    if ('order_notes' === $column) {
    $order = wc_get_order($post->ID);

    if (!$order) {
    echo __('Invalid order', 'woocommerce');
    return;
    }

    $notes = wc_get_order_notes(array('order_id' => $order->get_id(), 'limit' => 1, 'order' => 'DESC'));

    if (!empty($notes)) {
    $note = reset($notes);
    echo esc_html($note->content);
    } else {
    echo __('No notes', 'woocommerce');
    }
    }
    }
    Thread Starter Audrey

    (@dreadlocksnation)

    ????

    Same issue with the new update..

    Forum: Plugins
    In reply to: [WooCommerce] Hover notes
    Thread Starter Audrey

    (@dreadlocksnation)

    Can I do it without any risk? Are you really sure? ๐Ÿ˜…

    Thanks you for your help ๐Ÿ™

    Forum: Plugins
    In reply to: [WooCommerce] Hover notes
    Thread Starter Audrey

    (@dreadlocksnation)

    Greetings,

    Many thanks for your reply. Yes this is exactly this one, the hover on order page as your screenshot, but for me the hover doesn’t works.

    Have a blessed day

    Audrey

    (@dreadlocksnation)

    Hello, I’m facing a issue with the latest version too. For me, the “hover” on “order on progress” or “order finish” doesn’t works, before the update you could see the last note of the order when hover.

    I miss this too much! Now i need to go into the order to see my notes…

    Woo Commerce, please, can you help us to fix those problems? ๐Ÿ™

    Thread Starter Audrey

    (@dreadlocksnation)

    Hello, my version is 3.8, is the latest I think.

    Thank you for your reply and your help ๐Ÿ™

    Thread Starter Audrey

    (@dreadlocksnation)

    Greetings,

    Thanks you for your help ๐Ÿ™

    A programmed action did not want to launch and blocked the others. I started it manually and everything worked again.

    Have a blessed day.

    Thread Starter Audrey

    (@dreadlocksnation)

    Greetings,

    Many thanks for your help!

    I just tried define(‘DISABLE_WP_CRON’, true); and run /wp-cron.php and the result is: A white blank screen. It means that it works or not? ๐Ÿ˜…

    Have a blessed day ๐Ÿ™

    Thread Starter Audrey

    (@dreadlocksnation)

    Greetings,

    Guess who’s back? ๐Ÿ˜… No really, it’s ok for the 502 issue, but still not ok with the past-due actions

    Action Scheduler: 3 past-due actions found; something may be wrong. Read documentation ยป

    Here’s a screen-shot -> https://postimg.cc/Vr46RR7t

    Many thanks for all your help ๐Ÿ™

    Thread Starter Audrey

    (@dreadlocksnation)

    Greetings,

    First, many thanks for your help and your energy for me ๐Ÿ™

    I finally found the solution. It was a issue due to a persistant object cache, when it disabled everything seems to works correctly.

    For the order page, the DEBUG told about a warning in my custom code in the fonction.php

    Just modified my code and now can access to my order page.

    I want the IMG, the QTY and the SKU on the order page but I made a mistake with “$name” (look at ligne “!!!!!!!!!”)

    add_action('manage_shop_order_posts_custom_column', 'orders_list_preview_items', 20, 2 );
    function orders_list_preview_items($column, $post_id) {

    global $the_order, $post;

    if ('order_status' === $column) {

    // Start list
    echo '<ul class="orders-list-items-preview">';

    // Loop through order items
    foreach($the_order->get_items() as $item) {

    $product = $item->get_product();
    $img = wp_get_attachment_url($product->get_image_id());

    $qty = $item->get_quantity();
    $sku = ( $product && $product->get_sku() ) ? ' ' . $product->get_sku() : '';
    echo $sku . '<br />';

    echo "<li>
    <img src=\"$img\" />
    !!!!!!!! <label>$qty</label> "$name" THIS WAS THE PROBLEM. JUST REMOVEd "$name"
    </li>";
    }

    // End list
    echo '</ul>';
    }

    Have a blessed day ๐Ÿ™

    Thread Starter Audrey

    (@dreadlocksnation)

    Many thanks for your reply and your help, ok let’s do via Mozilla. Now I have a new notification from my health check “Action Scheduler:ย 2ย past-due actionsย found; something may be wrong.ย Read documentation ยป

    System Status Report

    https://paste.mozilla.org/OnKDygMm#L

    Have a blessed day.

    Thread Starter Audrey

    (@dreadlocksnation)

    Thanks you for your reply. I’m hosting myself those 2 websites. So I can’t contact the hosting provider ๐Ÿ˜… But I made a server restart and I can now access to everything but still not working for the order page, 502.

    Here are 3 screen shots https://postimg.cc/gallery/dL8Gyf0

    I can access to “In progress” page and “Finished” page but 502 on the “ALL” orders pageย 

    Can I send you the System Status Report and Fatal error logs via Email?

    Many thanks for your help

    Thread Starter Audrey

    (@dreadlocksnation)

    Ok after a restart server, everythings works again, but same issue with order page, 502 bad gateway.

    Thread Starter Audrey

    (@dreadlocksnation)

    Many thanks for your reply,

    Unfortunately, I can’t reply with all the informations, it’s getting worst this morning because my 2 websites are now in White blank screen, have access to nothing, no admin nothing..

Viewing 15 replies - 1 through 15 (of 20 total)