Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter geekwap

    (@geekwap)

    Cena,

    Okay, so that worked! My problem is, I looked all through the documentation and found nothing that mentions this anywhere! It is not mentioned in the child theming or email areas at all. Please make sure the documentation provides users with accurate and thorough information, so they are not wasting a lot of time and keeping clients waiting. Thank you!

    Enjoy your weekend!
    Matt

    Thread Starter geekwap

    (@geekwap)

    Hello Cena,

    I’m glad you were able to confirm the issue. Any updates from the developers?

    Thanks!
    Matt

    Thread Starter geekwap

    (@geekwap)

    We purchased the Events Calendar PRO to use the shortcode as a quick fix, but issue persists with other links now. Opened ticket in premium support. Thanks Mike.

    Thread Starter geekwap

    (@geekwap)

    Hey Mike,

    Thanks for the reply. Yes, I have tried all of the different templates and none of them display the header. That is why I then add the template file to my child them and tried to work with it…to no avail. Any other thoughts?

    Thanks Much!
    Matt

    Thread Starter geekwap

    (@geekwap)

    Ah. Dang. CSS sometimes gets the best of me. I can usually get it to work with the dev tools inspector, but didn’t have that option with the PDF. Thanks for catching that. I got it working on our staging site.

    The store name and store address issue is low priority since we have a workaround, but I will try your suggestions and reach out of we need further help.

    Thanks again for being so responsive to my questions! You have been awesome! You can consider this resolved. I will start a new thread for the other issue if needed.

    Thread Starter geekwap

    (@geekwap)

    Full path is: url(/www/aaaaaaa/public/wp-content/themes/storefront-child/woocommerce/pdf/Customized-Simple/fonts/code128.ttf) Everything looks good.

    Here is my pastebin link: https://pastebin.com/jh6k9fGP Let me know your thoughts.

    I will try enabling Test Mode for the shop name and address. Thanks!

    Matt

    Thread Starter geekwap

    (@geekwap)

    Hello,

    I changed it to render the PDF and still am not seeing the font rendered. I appreciate your time assisting me. Any other things I can try? I don’t know if this is a related issue, but the shop_name and shop_address don’t come through on the invoice. I had to manually type those in. I tried disabling all the plugins and it still didn’t work. Any relation?

    Thanks.
    Matt

    Thread Starter geekwap

    (@geekwap)

    Hello,

    Thanks for the deeper explanation. That was unclear in the custom fonts instructions. I changed the code to reflect your instructions. I was already outputting to HTML, so I viewed the source and see the full font url, however, it is still not working. You mentioned the font style is loaded inline, but when I look at the HTML output that uses the custom font, it looks normal. See below:

    Shipping Method:  Fast Standard Shipping <p class=”barcode-font-pdf-invoice”>1027488</p>

    Appreciate your help!
    Matt

    Thread Starter geekwap

    (@geekwap)

    Hello,

    That is my point. I can’t add your code to the style.css because it is PHP code. Even when I place it directly in the invoice.php it does not process it. It needs to be between a <style> </style> tag to load the font right? What am I missing? I don’t understand how it can process it. When I follow your instructions, all it does is output the code at the top of the invoice. Are you saying don’t put it between the <style> tags? Can you give me an exact php and CSS file that works? Appreciate it!

    Matt

    Thread Starter geekwap

    (@geekwap)

    Morning! Thanks so much for the reply.

    I’m just trying to load the font in the standard way. In the style.css in my customized-simple folder I have:

    @font-face {
    font-family: ‘code128’;
    src: local(‘code128’), local(‘code128’), url(‘/fonts/code128.ttf’) format(‘truetype’);
    font-weight: normal;
    font-style: normal;
    }
    .barcode-font-pdf-invoice p {
    font-family: ‘code128’;
    font-weight: normal;
    }

    In the invoice.php I have:
    <?php _e( ”, ‘woocommerce-pdf-invoices-packing-slips’ ); ?><p class=”barcode-font-pdf-invoice”><?php $this->order_number(); ?></p>

    I’ve read through the other support tickets relating to fonts and can’t seem to pin down what is wrong. I’ve tried putting the fonts in a few different locations but nothing seems to take. Should the above code be working? Thanks again for your help!

    Matt

    Thread Starter geekwap

    (@geekwap)

    Rio Team,

    I downloaded it and tested it and it fixes the issue. Thank you. Unfortunately, I just purchased a different plugin yesterday because the client needed a solution for their portfolio and we couldn’t wait any longer. Thanks again for addressing the issue though.

    Take Care,
    Matt

Viewing 11 replies - 1 through 11 (of 11 total)