• Resolved stevesand

    (@stevesand)


    Hi, thank you for a great plugin.

    Im trying to find hooks or ways to format the column name dynamically for product columns.
    My customer needs each product in the order as separate columns on one row like your plugin supports, but they need the format of the title to be product_[1]_name, product_[2]_name etc. At the moment it puts #1, #2 by default after the column name for each product.

    Is there support for shortcodes when setting custom label names, for example: product_[incremental_number]_name?

    Im also wondering if there is a way to dynamically set how many product columns there should be in the feed, depending on the order with most products, instead of fixed numbers?

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

    (@algolplus)

    hi
    please, open section “Setup Fields” and set “Add products as ” = “0” columns.

    please, open section “Misc Settings” and add following PHP code.
    you must tweak it – split $header by “#” and make new string.
    thanks, Alex

    add_filter( 'woe_add_csv_headers', function($header, $field){
    return $header;
    },10,2);
    • This reply was modified 2 years, 10 months ago by algol.plus.
    • This reply was modified 2 years, 10 months ago by algol.plus.
    Thread Starter stevesand

    (@stevesand)

    Hi.

    That works great, thank you for your fast reply.
    Worth a 5 star.

    Plugin Author algol.plus

    (@algolplus)

    you’re welcome.
    thanks for the review

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hook for the column name/label’ is closed to new replies.