Short description of issue
The liquid endpoints for selling plans and unit price do not know about eachother.
Reproduction steps
Unit pricing is broadly mandated in the EU.
The kinds of products that need unit pricing overlap broadly with the kinds of products that typically offer subscription pricing (food, staples, beauty, etc). The unit price needs to take into account any subscription discounts that change the price. This rarely happens in shopify themes because it’s cumbersome and obscure.
The product object contains information about both selling plan discounts and variant unit pricing but those details are on opposite ends of the object tree and know nothing about each-other.
Unfortunately, the price is the price. If a selling plan generates a discount, that discount changes the unit price.
Fixing the unit price to take selling plans into account increased my unit price code from 3 lines to 80 lines.
Additional info
Horizon and Dawn display incorrect unit prices when selling plans are applied. This is a niche bug. I am not sure anyone has noticed. I bring it up because price accuracy matters to buyers and when they notice inconsistency they don’t buy.
What type of topic is this
Feature request
