• Resolved Mo

    (@nadhonar)


    Hello,

    I noticed that in several of your files, you are calling JS and CSS files from the external site cdn.jsdelivr.net. This could cause issues for users in countries with internet restrictions, as blocking this site would disrupt the functionality of the website where your plugin is installed. The loading of these files would be affected. Is it possible for these files to be called from the local folders of the plugin instead?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thanks for sending in your support topic.

    Our team will be looking into things shortly. For faster and better support, please provide your WooCommerce Status Report (provide link to the instructions on WooCommerce), screenshot, error info, and visit our site’s support section for additional help. Due to forum policies, we are not able to share any credentials, provide files/patches, or sensitive information.

    Thank you,

    Alfred

    Thread Starter Mo

    (@nadhonar)

    Additionally, in the Status.php file, there are two calls to the site use.fontawesome.com, which also causes issues

    • This reply was modified 6 months, 3 weeks ago by Mo.
    • This reply was modified 6 months, 3 weeks ago by Mo.

    Hi,

    Thank you for sharing this information with us! We’re actively working on it, and I’m happy to let you know that the next version will include several improvements and new features.
    We appreciate you bringing this to our attention, and we’re committed to making it even better.

    Thanks again for your input!

    Best regards,

    Hi,

    You can add any Status in Reports under Woocommece by using this hook.

    add_filter( 'woocommerce_reports_order_statuses', 'register_status_on_reports', 20, 1 );
    function register_status_on_reports( $statuses ) {

    if( !$statuses ){ $statuses = []; }
    $arg = array(
    'numberposts' => -1,
    'post_type' => 'order_status',
    'meta_query' => [[
    'key' => 'is_status_paid',
    'compare' => '=',
    'value' => '1',
    ]],
    );

    $postStatusList = get_posts( $arg );

    foreach ( $postStatusList as $post ) {
    $slug = get_post_meta( $post->ID, 'status_slug', true );
    $statuses[] = $slug;
    }

    return $statuses;
    }

    Replace which status you want to in Sales total. This will include in standard reports

    Thanks,

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