Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter acidburnsmk

    (@acidburnsmk)

    Okey i fix this by going back from php7.3 to 7.0

    But still cant fix the change of the page size of PDF
    It seems before it was letter, now its A4

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    Thanks for contacting us and I hope you’re doing well ??

    Please, could you tell me which version of PDF invoice are you using?

    The last version has the default paper that it’s letter.

    I’m looking forward your response.

    Have a good day,
    Carlos R.

    Thread Starter acidburnsmk

    (@acidburnsmk)

    Hello again,

    Updated to: Version 1.2.18 (latest)

    But now i have other issues:

    – different font size`s…
    – the logo doesnt show, even the url path is correct
    – as i can see the page isn’t letter

    Screenshot: https://prntscr.com/st5s9g

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    Thanks for contacting us and I hope you’re doing well ??

    About the problem with the logo. Please add the following code on your functions.php of your active theme:

    if ( ! function_exists('yith_ywpi_company_image_path_call_back' ) ) {
    
            function yith_ywpi_company_image_path_call_back($company_logo_path)
            {
    
                $uploads = wp_upload_dir();
    
                $array_company_logo_path = explode("uploads", $company_logo_path);
    
                return $uploads['basedir'] . $array_company_logo_path[1];
    
            }
    
            add_filter('yith_ywpi_company_image_path', 'yith_ywpi_company_image_path_call_back', 10, 1);
        }

    About the problem with the font size. Please, could you send us a screenshot of your configuration in order to try to replicate it on our local installation.

    we looking forward your response.

    Have a good day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invoice PDF style error’ is closed to new replies.