GraphQL PriceAdjustment dynamic price update support #225
Replies: 11 comments 8 replies
-
Thanks for the input!
This makes sense and it's something we're considering. I'd like to understand more about your use case. If we provided that API, how and where would you set the price to the variant considering that the function wouldn't have the ability to make a call to your system?. |
Beta Was this translation helpful? Give feedback.
-
This would be amazing. Creating product variations on the fly and then injecting html code into the cart is so messy. |
Beta Was this translation helpful? Give feedback.
-
Yeah we would love to see extension in this space, we do this with draft orders and its hacky and prone to error. So would love to see further pricing strategies extended. |
Beta Was this translation helpful? Give feedback.
-
@ignacio-chiazzo Hey there! Came across this while looking into Cart Transforms. Are there any updates on Fixed Price adjustments? |
Beta Was this translation helpful? Give feedback.
-
Bump... My customer has a unique use case where their primary selling strategy is bundles with a fixed price. So rather than applying a discount, or calculating a percentage decrease, the ability to set a fixed price (preferably the price of the parent bundle product as it will only have the default variant) would be very useful. Providing full flexibility of adjusting the item/cart price as part of the Cart Transform API would go a long way |
Beta Was this translation helpful? Give feedback.
-
New Cart Transform API developer preview addresses this: |
Beta Was this translation helpful? Give feedback.
-
I have a related issue regarding the updateOperation. My client has a current legacy bundle builder that uses parent products with hidden price fields, and for now the bundle parent product price needs to be hidden as a work-around while we update the bundle logic for extensibility. I'm able to change price to 0 and 'hide' the price field by removing the 'free' label but the parent products are being pushed to the bottom of the item list, negating the use case. Please advise if the line items can be adjusted to not be relocated to bottom of list after price updates or when updated to $0. |
Beta Was this translation helpful? Give feedback.
-
Currently as part of a It would be nice if Cart Transform could use the parent bundle price, then automatically re-price the child variants, just like it does when specifying the |
Beta Was this translation helpful? Give feedback.
-
Is there any timeline as to when the price update might leave developer preview? |
Beta Was this translation helpful? Give feedback.
-
update (UpdateOperation) Is this gonna be permanently gated to Shopify Plus?! Edit: If anyone wants to support trying to remove the Shopify Plus limitation: |
Beta Was this translation helpful? Give feedback.
-
Just adding some comments after all the latest releases. With Expand we have more flexibility on setting the price of the final "Customized Bundle". However in the Merge Operation we are still limited to the percentageDecrease value. It would be great to have the option to set the fixedAmount
Then the expected transformation should also edit the pricing on the CartLine items using the Weight Price Algorithm as per Expand Operation: |
Beta Was this translation helpful? Give feedback.
-
This request is similar to #217 but i like to provide some more context to our use case.
In our apps we offer the ability to create dynamic price increases on a product. For example offering an engraving option that adds 1$ to the price per letter entered. As price increases are dynamic, we cannot pre configure different variants and creating products on the fly also is not a valid option.
Our app is currently using Draft orders with custom line items that have their own price set by our app when the customer checks out to add dynamic price additions.
I believe the Cart Transform API has the potential to finally support dynamic pricing (in a secure way).
In our tests with the new API we found that price of a Expand/Merge Operation can only be reduced via: PriceAdjustment.percentageDecrease
Request
Make the API support setting a newly calculated price instead of increase/decrease only. E.g:
Alternatively adding the ability to add a percentage based increase to the current decrease only feature would also work. But a custom price would certainly be a lot more flexible.
Final words
Adding price update support via Functions would enable lots more use cases. Maybe the Expand/Merge operations are not the right place, and a new Update operation would make more sense.
There is a whole category of apps that currently use different hacks to support dynamic price update (using Draft Orders, custom product additions, dynamic variant creation). All of these requirements could be solved via a Shopify Function API that supports updating prices of existing products dynamically.
I am very optimistic that the Function API approach is a great starting point for building a powerful checkout API, i'm looking forward to what the team will allow us to build on top of it!
Beta Was this translation helpful? Give feedback.
All reactions