For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hi,
I have been creating a shopify function for the cart checkout validation and it was working fine I added it to my store and had it working. I then deleted it to check something and then tried to add the rule once again. After trying to add it I cannot seem to add the rule to any store I create even though it does appear on the add rules section.
I am not quite sure why this is happening as it was working before. just for a bit of more context the only thing I tried doing was to change the name in `shopify.function.extension.toml` to change the name of the function to make it clearer for users. I have changed it back since.
Thanks
Hi there 👋
This is definitely unexpected behaviour. And we should show an error if the rule is not added successfully. I am not able to reproduce by changing the name of the function in the toml file.
Are there perhaps any other changes you made while testing your function?
Are you seeing any errors in your dev console? What is the response from the validationCreate network request?
To learn more visit the Shopify Help Center or the Community Blog.
Hi,
Thanks for getting back to me.
There were no other changes made except to the main.rs, test.rs, input.graphql and cargo.toml.
Good thing is that it is not working for some reason. not sure why. at the time I did check the dev console and there was no errors in console or network requests so was not sure what was happening. I have seen this happen to other people also so I still think there is some sort of problem with this.
Thanks