Support » Plugin: PW WooCommerce Gift Cards » Remove order item meta amount

  • Resolved nartoof



    I’m opening a new topic to finish the problem I got on this topic :

    Gift card amount appears twice in order

    I use this filter to display variations as order item meta :

    add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );

    I could add a condition for WC_Product_PW_Gift_Card product object, but I’d like to keep this filter even for gift card because the amount is wc_price formatted, and your amount order meta isn’t.

    Is there any simple solution to hook after order is created and remove the pimwick order item meta amount ?

    Thank you for your help 🙂


    • This topic was modified 2 years, 2 months ago by nartoof.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove order item meta amount’ is closed to new replies.