• Resolved ibrahimoo

    (@ibrahimoo)


    Hi,

    I hope you are good.

    How can product variations (options) be displayed vertically (list) rather than horizontally (1 line) in an invoice?

    Thanks in advance.
    Ibrahim

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @ibrahimoo,

    Please the below code snippet to your active theme’s functions.php to add a line break after each variations.

    add_filter('wf_alter_line_item_variation_data','wf_pklist_add_vertical_variation',10,4);
    function wf_pklist_add_vertical_variation($current_item, $meta_data, $id, $value)
    {    
    	return $current_item.'<br />';
    }

    If you like the plugin, leave us a review.

    Thread Starter ibrahimoo

    (@ibrahimoo)

    Thank you so much. It works!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display of Product Variations (options)’ is closed to new replies.