Discussing Shopify Functions development, deployment, and usage in Shopify apps.
The final currency rate using the price adjustment is 1 USD = 6 PLN. Prices for storefront are recalculated based on this rate. However, we cannot apply the same rate to provide a discount. This is quite strange.
https://shopify.dev/docs/api/functions/reference/product-discounts/graphql/input
```
presentmentCurrencyRate (Decimal!)
The conversion rate between the shop's currency and the currency of the cart.
```
In fact, this is not true. If I add my product to the cart with a base price of $1000, I see 6000 PLN in the cart, but a $100 discount is converted to 400 PLN.
Is there a plan to provide the correct currency rate, or perhaps the price adjustment as a separate parameter?
Or does Shopify expect us to provide the price adjustment ourselves (I have no idea how to obtain it yet) in the discount extension using a discount function metafield or something similar?
P.S. The provided currency rate and price adjustment values are chosen to demonstrate the issue.