Title: Subtotal Sometimes displays, sometimes doesnt display!
Last modified: May 22, 2019

---

# Subtotal Sometimes displays, sometimes doesnt display!

 *  Resolved [jackofallspades](https://wordpress.org/support/users/jackofallspades/)
 * (@jackofallspades)
 * [7 years ago](https://wordpress.org/support/topic/subtotal/)
 * Sometimes the subtotal shows, and sometimes it doesn’t on the PDF invoice! I 
   cannot find a reason why this would happen. This is the code I am using:
 * line_subtotal_tax_excl
 * This is the whole part in case you need to dig deeper – please help!
 * [wcj_order_items_table
    table_class=”pdf_invoice_items_table” exclude_by_categories
   =”ignore” product_image_width=”50″ product_image_height=”50″ columns=”product_thumbnail
   |item_name|item_quantity|product_purchase_note|line_subtotal_tax_excl|line_tax”
   columns_titles=”Pic|Product|Quantity|Note|Price|Tax” columns_styles=”width:10%;
   |width:25%;|width:10%;|width:35%;|width:10%|width:10%;text-align:center;”] <table
   class=”pdf_invoice_totals_table”> <tbody> <tr><th>Subtotal</th><td>[wcj_cart_subtotal]
   </td></tr> <tr><th>Fuel Charge for Delivery</th><td>[wcj_order_shipping_price
   excl_tax]</td></tr> <tr><th>Coupon Code Discounts</th><td>[wcj_order_coupons]
   </td></tr> <tr><th>Taxes</th><td>[wcj_order_total_tax]</td></tr> <tr><th>Order
   Total</th><td>[wcj_order_total]</td></tr> </table>
    -  This topic was modified 7 years ago by [jackofallspades](https://wordpress.org/support/users/jackofallspades/).

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

 *  Thread Starter [jackofallspades](https://wordpress.org/support/users/jackofallspades/)
 * (@jackofallspades)
 * [7 years ago](https://wordpress.org/support/topic/subtotal/#post-11581204)
 * Hi there, its almost been a week so thought I would check in to see if you could
   help with this at all?
 *  [RokasJ](https://wordpress.org/support/users/rokasjan/)
 * (@rokasjan)
 * [7 years ago](https://wordpress.org/support/topic/subtotal/#post-11581397)
 * Hi [@jackofallspades](https://wordpress.org/support/users/jackofallspades/),
 * As mentioned in your other thread, all these issues are tightly related – your
   website seems to no longer save data in correct meta keys, because these shortcodes
   work on your older orders. I have responded on your other thread previously.

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

The topic ‘Subtotal Sometimes displays, sometimes doesnt display!’ is closed to 
new replies.

 * ![](https://ps.w.org/woocommerce-jetpack/assets/icon-256x256.png?rev=3351194)
 * [Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools](https://wordpress.org/plugins/woocommerce-jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-jetpack/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [RokasJ](https://wordpress.org/support/users/rokasjan/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/subtotal/#post-11581397)
 * Status: resolved