• Resolved ricardhh10

    (@ricardhh10)


    Hi, I love your plugin and I have one question.

    1. On my website, I am working with the Advanced product fields plugin to create some custom fields, for example: Nombre y numero, Nombre, Numero. I have the ID of all these fields.

    I would like to know if it is possible to modify the product variations field(product_variation), so that the field ‘Nombre y numero: Personalizar’ is not shown in the order.

    Attached is an image of how it looks now:

    https://i.imgur.com/4Q71lJm.png

    How I want it to look:

    https://i.imgur.com/IcpnOqN.png

    Thank you.

    • This topic was modified 5 months, 1 week ago by ricardhh10.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author algol.plus

    (@algolplus)

    hi

    please, adapt this code , you must use meta key ( not label!)

    add_filter( 'woocommerce_hidden_order_itemmeta', function($keys){
    $keys[]= "your_key_here";//EDIT
    return $keys;
    });

    Thread Starter ricardhh10

    (@ricardhh10)

    It works perfectly, one last question, as you can see in the image below, there is a little confusion when exporting orders about who X order belongs to when it is more than one order, is there the possibility of placing ‘Datos del cliente’ (custom field) under all the products of your order, all in the same field?

    https://i.imgur.com/QZxJcCe.jpeg

    The fields that would be grouped together would be these:

    name
    embedded_product_image
    product_variation
    custom_field(Datos del cliente)

    Thank you

    Plugin Author algol.plus

    (@algolplus)

    please, open “Setup Fields” and set “Fill order columns for” = All rows

    Thread Starter ricardhh10

    (@ricardhh10)

    Hello, thank you for answering so quickly, yes I have tried that option but it is still confusing to repeat so much for the same order, I would like to achieve what I said or if not possible, export the .xlsx file with a border for each order that delimits it, sorry for the inconvenience.

    Thank you once again.

    Plugin Author algol.plus

    (@algolplus)

    To add border – you must modify file using PHPExcel .

    Simplest way – add this code to “Misc Settings”

    // add empty row after each order, Excel/CSV/TAB formats
    add_filter("woe_fetch_order_data", function($rows) {
    $rows[] = array_fill(0, count($rows[0]),"");
    return $rows;
    });

    Thread Starter ricardhh10

    (@ricardhh10)

    Thank you, that works for me.

    Plugin Author algol.plus

    (@algolplus)

    You’re welcome

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