• Hi there,

    Firstly thanks for the great plugin. All works well bar one issue.

    I have included a custom add-on field to be exported to CSV along with other order information (using this plugin: https://ww.wp.xz.cn/plugins/woo-custom-product-addons). The add-on field is exported with HTML alongside the add-on info. For example:

    Happy Birthday Flea (<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>5.50</bdi></span>)

    I only want ‘happy birthday flea’ (ie the add-on info) to exported, not the accompanying HTML. Is it possible to hide the HTML?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author algol.plus

    (@algolplus)

    hi

    please, open section “Misc Settings” and add this PHP code.
    thanks , Alex

    add_filter( "woe_csv_output_filter", function($row, $formatter){
    	return array_map( "strip_tags", $row ); 
    },10,2);
    Thread Starter flea110

    (@flea110)

    Thanks for your quick reply! That has removed most of the code however I’m still left with the below.

    Happy birthday flea (& # 036;5.50)

    Is it possible to also remove “(& # 036;5.50)”?

    • This reply was modified 5 years, 2 months ago by flea110.
    Plugin Author algol.plus

    (@algolplus)

    Hi

    Could you upload your settings as new ticket to https://algolplus.freshdesk.com/ ?

    Use visit >WooCommerce>Export Orders>Tools to get them.
    I need only one profile/job, please select it in the dropdown!

    But I’ll reply to the ticket later today,
    Alex

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Field Contains HTML’ is closed to new replies.