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.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Automatic Discount App Function does not run

Automatic Discount App Function does not run

pbintelligems
Visitor
1 0 1

My app has a created an Automatic Discount App for a store. The discount is using our app's Product Discount extension. However, the expected discounts aren't being applied when meeting our conditions defined by the extension code and the function's metadata. 

 

I have a hunch that the Automatic Discount App isn't running on their store. Here are things that I have checked:

  • The discount function is shown as ‘active’ in the store’s discount list
  • The discount function is not reporting any errors
  • I can’t see any function runs for the store in the extension’s run logs
  • I am able to query the function and its metadata using graphQL and can confirm everything exists as expected.
What else should I check? Anyone encountered an issue like this before? Any more context I can provide?
 
Our instance of the Product Discount extension, as a discount in the store dashboard:
 
Screenshot 2024-02-29 at 12.40.26 PM.png
 
The extension, as seen in our app's dashboard:
Screenshot 2024-02-29 at 12.41.27 PM.png
 
Where I'm checking for function runs: 
Screenshot 2024-02-29 at 12.43.25 PM.png
Reply 1 (1)

thesunilyadav
Shopify Partner
9 1 2

I'm experiencing a similar issue. Has anyone identified the exact cause or found a solution?