Hi all, wondering if anyone knows the reason why I am getting this error trying to save a discount?
When setting up a discount in Shopify, it must match the correct discount type.
Shopify Functions are specific:
Product = item-level
Order = cart-level
Shipping = shipping cost
If you try to apply a product/order discount to shipping, you’ll get an error like this.
Please double-check the function type —if you’re discounting shipping, it must be a shipping discount function or a tool that supports it.
if you need assistance i would be delighted to help you resolve the issue
Thanks Stephen, is there somewhere in the toml file to set this? I haven’t been able to find it in the docs. I generated the tutorial templates and stripped out the shipping files and logic so there is also no option in the UI to set the discount type it actually shows the discount applied to product, order, and shipping
Ok it seems to be from having and extension.taget in the toml file for the shipping discount function so once I removed that and redeployed it fixed the issue.