Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1163722

    Hello,

    i created an online shop for digital downloads.
    The Table from Woocommerce for logged in users to get their downloads is not responsive.

    Is there any way you could fix that for me?

    All Infos provided in the Private Content area.

    Thank you very much :)

    ++++++++++++++++++
    EDIT
    ++++++++++++++++++

    Fixed it by myself be deleting 2 useless colums with following code i put in the functions.php file:

    // Hide the “Expires” and “Downloads Remaining” columns from emails and My Account
    // My account
    function custom_remove_wc_account_expires_downloads_column($arr) {
    $arr = array(
    ‘download-product’ => __( ‘Product’, ‘woocommerce’ ),
    ‘download-file’ => __( ‘Download’, ‘woocommerce’ ),
    ‘download-actions’ => ‘ ‘,
    );
    return $arr;
    }
    add_filter(‘woocommerce_account_downloads_columns’, ‘custom_remove_wc_account_expires_downloads_column’);

    // Email
    function custom_remove_wc_email_expires_downloads_column($arr) {
    $arr = array(
    ‘download-product’ => __( ‘Product’, ‘woocommerce’ ),
    ‘download-file’ => __( ‘Download’, ‘woocommerce’ ),
    );
    return $arr;
    }

    add_filter(‘woocommerce_email_downloads_columns’, ‘custom_remove_wc_email_expires_downloads_column’);

    • This topic was modified 5 years ago by Igitt23.
    #1163789

    Hey Igitt23,

    Could you please attach some screenshots of the issue?

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

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