Feature request: add ability to discount a specific cart line item

DiscountNinja
Shopify Partner
104 0 66

Current situation

A product discount function can discount a specific variant using the merchandise.id.

 

Feature request

A cart can contain multiple cart line items with the same merchandise.id.
This can happen when the same variant is added with different cart line item properties or a different selling plan. The app developer may want to discount only one of those line items.
In the cart app developers can distinguish between different cart line items using the key and the selling plan id.

It would be helpful if app developers could:
- target discounts at line items based on the key / selling plan id
- or alternatively if the app developer could access the key / selling plan id in the input of the function and could target discounts based on the line number

Bart Coppens | Limoni Apps | Building apps for Shopify since 2016
Replies 0 (0)