Out now! Check out the Poll results: Do you have a Shopify store?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Cart Transform Function cannot be removed

Cart Transform Function cannot be removed

bbalmer
Shopify Partner
4 0 0

I created a cart_transform function and am now trying to remove it.  I tried removing the code from my extensions folder and redeploying the app as well as uninstalled the app and reinstalled with the code not under the extensions folder but I still see it when I run

 

 

 

 

 

              shopifyFunctions(apiType: "cart_transform", first: 2) {
                nodes {
                  apiType
                  id
                  title
                }
              }

 

 

 

 

 I am not seeing a way to delete the function using graphQL.  Is this possible to delete a function?

Replies 5 (5)

Liam
Community Manager
3108 344 889

Hi Bbalmer,

 

That should be what you need to do to fully remove the function - I've connected with our team now to see why this may be happening. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Liam
Community Manager
3108 344 889

Have you tried running cartTransformDelete?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

shaquibimdad
Shopify Partner
2 0 2

What is the type of gid that it is expecting?

 

 

  shaquibimdad_0-1725650518156.png  

 

MB-Law
Shopify Partner
3 0 1

I got same question as well, did you manage to find it out?

Kalen_Jordan
Shopify Partner
779 36 141

Same question. I also tried gid://shopify/ShopifyFunction/d35b68f0-9db3-435b-b123-4d26e924aa1e since the __typename for the function is ShopifyFunction. Neither worked.