FROM CACHE - en_header

Blank Pre_tax_price in line_items table

DeveloperQ
New Member
1 0 0

Hi,

I recently encountered an issue, where the pre_tax_price in the line_items table is empty. However, quantity and and price columns seem to be correctly populated. Previously this has been working just fine. Any ideas what might be possible causes for the blank pre_tax_price field? 

Replies 2 (2)
L_J_K
Shopify Staff
Shopify Staff
402 64 82

Hey @DeveloperQ 

I have some context - my understanding with pre_tax_price is that it was only available to Shopify Plus Stores for a time and was largely an undocumented property/field in the API.

It's actually been deprecated now, as it was used prior to a recode of the discounts function. Not sure if the order in question was an older order, but I believe most shops shouldn't have orders with a pre-tax-price now. Let me know if that helps at all!  

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
Dive
Shopify Partner
22 1 1

Hi @DeveloperQ ,

 

Pre_tax_price could be equal to 0 when a discount cancel the full amount of the line_items.

Is your order have discounts ?

 

Have a nice day,

Thomas.

E-commerce analytics should be easier, that is why we have created diveanalytics.co