Metafield Discounts
under review
Tobe Osakwe
Summary:
Imagine a new discount type that dynamically adjusts product prices based on metafields, enabling more tailored and responsive pricing strategies.
Details:
- Specific Metafield Values:Consider a scenario where a product with avip_status.tier_namemetafield of 'Gold' receives a special price.
- Dynamic Discount Values:If each product variant has amy_store.wholesale_pricemetafield, the discount could apply this price automatically, allowing for real-time pricing adjustments. You would be able to tell our app to read a discount value from a customer/product/variant metafield on-the-fly.
Design Considerations:
- Metafield Schema:A standardized schema for metafields would ensure consistent parsing and application of these dynamic discounts.
- Initial Focus on Product Discounts:Initially focusing on product discounts allows us to evaluate the feature's impact and user adoption before considering expansion to other types of discounts.
Why It Would Be Useful:
This feature would allow merchants to quickly adapt their pricing strategies without manual adjustments, making promotions more efficient and directly linked to their inventory and cost changes. It could significantly enhance sales tactics by offering flexibility in how discounts are applied, tailored specifically to current business needs.
Feedback Needed:
Would a "Metafield Discount" that applies wholesale prices directly align with your pricing strategy? What insights or needs do you have regarding extending this feature to include discounts on orders or shipping in the future? Please comment on this thread with your thoughts. Thank you!
Tobe Osakwe
under review
Tobe Osakwe
Hello,
Friendly reminder that, if you want us to implement this feature, we need your help upvoting this GitHub discussion thread I opened with Shopify:
If Shopify does not either increase the input query limit, or make it dynamic per-user, it will be impossible for us to support querying product/variant metafields
. This is because our input query has already hit the limit due to implementing other conditions in the logic builder.Thanks for your help,
Tobe
S
Seun Oyebode
Hello Everyone,
We've received requests on Cart Metafield discounts. However, the Shopify Functions API does not support reading cart metafields:
Tobe Osakwe
If we were to try to implementing this feature, we'd essentially have to create 3 new discount types: product, order, and shipping discounts, but they would only support metafields and maybe a subset of the conditions other discounts can support.
This would just cause too much confusion, so we're not taking this approach.
The challenge here is the Shopify Functions Input Query Complexity Limitation. The input query for a Shopify Functions discount can have a complexity of 30 max.
This limit of 30 applies to every discount created, even if you're not using all the fields. For example, because our app can check the presence of specific collections on products, that's 3 added to the query cost, even if your individual discount logic doesn't check for any collections.
## Want this limit to change?
Your best course of action is to upvote and comment on this GitHub discussion thread to let Shopify know how important this to you. Otherwise, we won't be able to implement this feature.
Here is a different thread I opened in the past that was closed:
Tobe Osakwe
closed
After extensive consideration, we’ve found that adding more features hasn’t led to better outcomes; instead, it’s increased churn and support needs, which has impacted our ability to focus on what we do best: making complex discounts simple. Going forward, we’ll prioritize stability and core functionality by not adding new API integrations, major design changes, or advanced options that could overcomplicate the app. We appreciate your understanding as we double down on delivering a streamlined, reliable experience!
Tobe Osakwe
Hey everyone,
I’ve merged several open and closed feature requests into a new proposed "Metafield Discount" type focused on products. This aims to address the recurring demand for metafield-based pricing adjustments. Initially, it would only apply to products, not orders or shipping.
Could you review the proposed feature and let me know if this would meet your needs? Your input is crucial as we consider adding this functionality.
Thanks,
Tobe
Tobe Osakwe
Merged in a post:
Add product variant metafield conditions
Tobe Osakwe
For example, this would allow users to create a discount for only product variants with a specific metafield value.
Tobe Osakwe
Merged in a post:
Allowing sorting by metafield in the product variant picker
Tobe Osakwe
For example, instead of making a browse > pick list of products, the app would provide the option to sort based on the variant metafield to select those products.
Once they are selected, the app would know which ones to discount based on the selection, but the selection would be made based on the metafield filter versus selecting each product one by one.
Tobe Osakwe
Merged in a post:
Read discount values from metafield values
J
Jorge Cofre
Create a feature that allows users to apply discounts based on values stored in product metafields. This feature will enhance flexibility in setting up discounts tailored to specific product attributes, offering a dynamic pricing approach. More information about the location of the metafield in the store will be needed to implement this feature effectively.
Tobe Osakwe
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:
Load More
→