• Resolved doeri

    (@doeri)


    Hello and thank you for a great plugin.

    I would like to ask you if there is a posibility to add an Invoice Icon in orders with VAT number in woocommerce order admin page, please see an exaple here https://snipboard.io/r69lIQ.jpg?

    Thank you in advance.

    • This topic was modified 2 months, 2 weeks ago by doeri.
    • This topic was modified 2 months, 2 weeks ago by doeri.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Dina S.

    (@themehighsupport)

    Kindly be informed that our plugin Checkout Field Editor for WooCommerce is used to customize the checkout page by adding custom fields and sections.
     
    Unfortunately, your requirement cannot be achieved using the current version of our plugin.

    Thank you!

    Thread Starter doeri

    (@doeri)

    At least is there a possibility to add an ID or Class _billing_vat to the VAT field of the order admin page?

    Then I could try this function:

    add_action( 'manage_shop_order_posts_custom_column', 'mb_icon_to_order_notes_column', 15, 1 );
    function mb_icon_to_order_notes_column( $column ) {
    global $post, $the_order;

    if ( $column == 'order_notes' || $column == 'order_number' ) {
    $order_id = method_exists( $the_order, 'get_id' ) ? $the_order->get_id() : $the_order->id;

    $timologio = get_post_meta( $order_id, '_billing_vat', true );
    if ( $timologio == '1' ) {
    $style = $column == 'order_notes' ? 'style="margin-top:5px;" ' : 'style="margin-left:8px;padding:5px;"';
    echo '<span class="dashicons dashicons-format-aside" '.$style.'title="'. __('INVOICE', TEXT_DOMAIN).'"></span>';
    }
    }
    }
    • This reply was modified 2 months ago by doeri.
    • This reply was modified 2 months ago by doeri.
    Plugin Support Dina S.

    (@themehighsupport)

    We have checked your requirement in detail.

    Unfortunately, even this requirement cannot be met with the current version of our plugin.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.