Ability to know if a line_item has been cancelled in liquid

Highlighted
New Member
1 0 0

I have a page where I need to search through a customer's orders, and through the line_items on those orders to find matching SKUs and then enable a feature for the user if the SKU was purchased. It is easy to know if an order was cancelled (https://help.shopify.com/themes/liquid/objects/order#order-cancelled) and ignore all SKUs from that order. However, if the customer requests a partial order cancellation/refund, is there any way for me to know that a line_item was cancelled? I tried using fulfillment as the criteria, but that creates problems for the customer.

0 Likes
Highlighted
Shopify Partner
40 0 4

Bump.

0 Likes