• Resolved miky990t

    (@miky990t)


    Hi

    I have 2 questions please:

    I am using a thermal printer width size 62mm. Can I just change the size with the included style in the template files or do I need to do anything else?

    I am using woocommerce variation addon and I would like to remove the addon prices from the pdf invoice as the selected items with red boarder as shown in the picture. I tried to use remove them with preg_replace but it is removing the whole section <span class=”item-meta”><?php echo $item[‘meta’]; ?></span>.

    I really appreciate your support in this matter

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor dwpriv

    (@dwpriv)

    You can use this guide to change the size of the PDFs. You may also need to adjust the font sizes. You can try adding this CSS

    body {
    font-size: 7pt;
    }

    Regarding you second request, this could take a little more maneuvering to accomplish. Does the price have a CSS selector? If so you can hide it with CSS. You can use this guide to look at the HTML output of the PDF and look for it’s CSS selector. Once you find the CSS selector, you can hide it with CSS like this

    .your-price-css {
    display: none;
    }
    Thread Starter miky990t

    (@miky990t)

    Thank you Delano,

    That solved the problem easily.

    Your support is appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thermal printer paper size & Remove Variation prices’ is closed to new replies.