Ability to Target Products via Line Item Properties
in progress
K
Killiane Vitiello
It would be fantastic to add the ability to target products via line item properties. This enhancement would bring real added value to the app and improve user experience.
If you'd like us to add this feature to our app, please upvote and comment on this thread.
P.S. This feature request was created by our staff, based on the conversation with the customer.
Tobe Osakwe
If you're looking to use a line item property-based discount feature, please reply with an example of a use case you would like to implement.
For example, "20% off items where line item property 'abc' = '123'"
This way, we can be sure that our input query includes the necessary fields.
Thanks,
Tobe
V
Vincent Changea
Tobe Osakwe
Sure! Here are a couple of concrete examples of the type of use cases I’d like to implement:
"10% off items where line item property engraving = true"
This would allow us to apply a discount only to products that include a custom engraving option, without affecting the base variants.
Thanks!
J
Jérémy Perchet
Hi Tobe Osakwe,
Here is another example: when using bundles, apply a 30% discount when the line item property "component type" is “ski" and only 20% on the other components.
This would allow us to apply different discounts to different components of a bundle.
Thanks a lot!
Tobe Osakwe
Jérémy Perchet Thank you for your response. Though we will be able to target the bundle product itself if it has a specific line item property, it won't be possible to target the individual components of the bundle. This is because the Shopify Discount Functions API only allows product discounts to target cart lines, not their components. Thank you for your understanding.
Tobe Osakwe
in progress
Tobe Osakwe
under review
Tobe Osakwe
We appreciate your enthusiasm regarding this feature!
We need your help asking Shopify to change the limits to allow for more flexible queries. Your best course of action is to upvote and comment on this GitHub discussion thread to let Shopify know how important this is to you.
Additionally, here is a different thread we opened in the past that was closed: https://github.com/Shopify/function-examples/discussions/475.
Thank you for your support!
Best regards,
Tobe Osakwe
Tobe Osakwe
closed
Thank you for your interest in this feature.
Unfortunately, we will have to close this thread at this time.
As mentioned before, the reason we can't support this is not because we don't want to; it's because it's simply not possible.
Currently, the Shopify Functions input query complexity limit blocks us from querying any more metafields in the input to the function.
For more information, please read this helpdesk article:
https://regiostech.crisp.help/en/article/shopify-functions-input-query-complexity-limitation-6u1u2t/
In order to declutter our feedback board, we will close this thread. By doing so, we will be able to focus on other feature requests that are possible, and making Regios Automatic Discounts as good as possible, given the current Shopify Functions limitations.
Also, please only submit one vote per store/customer. Otherwise, this makes it confusing to track which features have the highest demand, and may lead to requests being deprioritized.
Thank you for your understanding,
Tobe Osakwe
Tobe Osakwe
Thank you for your suggestion!
Please note that Shopify functions have strict limits that currently prevent us from adding new features, like this, which would require querying more data when a discount runs.
Best regards,
Tobe Osakwe