• Resolved jfguerin

    (@jfguerin)


    I used the following code snippet found in a previous thread but it does not remove the “Total Weight” column from the Packing List page. Is there another way to do this?

    add_filter(‘wf_pklist_alter_product_table_head’, ‘wt_pklist_hide_weight_column’, 10, 3);
    function wt_pklist_hide_weight_column($columns_list_arr, $template_type, $order)
    {
    if($template_type==’packinglist’)
    {
    if(isset($columns_list_arr[‘total_weight’]))
    {
    /* removing weight column */
    unset($columns_list_arr[‘total_weight’]);
    }
    }
    return $columns_list_arr;

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

    (@webtoffeesupport)

    Hi @jfguerin,

    The code snippet worked fine on our end. Kindly copy this?code snippet?to your active theme’s fucntions.php or activate using a code snippet plugin and check.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @jfguerin,

    As we did not receive any response or follow-up questions from you, we will assume you got this working to your requirements. If you still have any more questions for us, please open a new thread, because we will mark this one as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.