Viewing 9 replies - 1 through 9 (of 9 total)
  • Do you have a screenshot?

    Thread Starter ontherocks

    (@ontherocks)

    Hmm, this is printed output, so I can’t do a screen shot, and no way to attach a file in this forum. Here’s the best I can do. (Note the $5.001 amount below).

    Invoice
    Order Number #7615
    Order Date January 31, 2015
    Payment Method PayPal
    Email [email protected]
    Telephone 615-585-3684
    Product PriceQuantity Total
    LHP-008 12mm, 16″, (2mm Hole) Black $5.001 $5.00
    Cart Subtotal $5.00
    Shipping $6.00 via Flat Rate
    Order Total $11.00

    et-alia

    (@et-alia)

    Hello! I’m also experiencing this with 4.1.3. I’m linking a screenshot for you:

    https://i.imgur.com/aQJNr32.png

    Here the price is $1.62 and the quantity is 6. The price shows as $1.626. All other columns and totals are calculating correctly. It’s just a visual issue.

    Thank you!

    @et-alia thanks for the screenshot. did you copy any css file to your woocommerce templates folder? or do you use some custom css function for the print template in your functions.php?

    Thread Starter ontherocks

    (@ontherocks)

    No custom css…

    What’s your browser and os?
    Does this happen with all oders or only some?

    et-alia

    (@et-alia)

    Hey, I appreciate you for getting back to us so quickly.

    I personally did have a custom css in the /woocommerce/print-order/ folder. I went in and deleted references to the order-items so I could keep styling the header and footer, and my issue has been fixed.

    Thanks!

    @et-alia thanks for the update. so that makes +1 who was able to fix this.

    @ontherocks there is almost no other situation that this could happen than through some outdated css. at least that was the only case i could reproduce on my test server. otherwise it could be some weird browser/os combination but if you tried different browsers, it is unlikely.

    I had some modified CSS too.

    I had made the shipping and charge addresses larger.

    • Copied the CSS from the new version (plugin-folder/templates/print-order/style.css)
    • Made my CSS changes
    • Reduced the width of the shipping and billing address sections
    • Code sample below.

    • uploaded modified CSS into theme>woocommerce>print-order folder
    • .billing-address {
      	width: 48%;
      	float: left;
      	font-size: 1.75em;
      	line-height: 125%
      }
      
      .shipping-address {
      	width: 50%;
      	float: left;
      	font-size: 1.75em;
      	line-height: 125%

      Hope this helps.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Invoice & Delivery note price/Quantity format’ is closed to new replies.