Product Handling Fee get ID for WP all import

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #143841
    Ilia Yuryevich
    Participant

    Hello!
    I use WP all import for import orders.
    I want to create a function that will add an additional fee on import to each product.
    To do this, I need to import the value in the product meta field in the order.
    Example: alg_wc_cog_item_handling_fee[416]

    alg_wc_cog_item_handling_fee[how get id?]

    #144097
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    I have escalated this with our development team. They will get back to you as soon as possible.

    Kin regards.

    #144148
    pablo-pacheco
    Moderator

    Hi Ilia ,

    I’m not sure if I got it completely, but maybe this is what you’re looking for:

    $handling_fee = wc_get_order_item_meta( $order_item_id, '_alg_wc_cog_item_handling_fee' );
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.