Creation menu cache

Hey team,

Over the last few days, we’ve had 3-4 instances where merchants don’t seem to be able to see our applications Discount functions in the ‘create discount’ menu.

My assumption is that the fetching of 3rd party discounts is cached, and that cache is not busted when a new third party application is installed.

EDIT: one specific merchant has reached out again. One staff member is able to see the discount types, the other is not.

Hey @bkspace - thanks for flagging this.

The difference between staff accounts is useful context, and I’d like to take a closer look.

Have you been able to reproduce this? If so, could you or the merchant that has had this happen more than once capture a HAR from the affected staff session while opening the Create discount menu?

If not, the affected shop ID/user ID and approximate time from the merchant report could help as well. I did some digging and found a similar report where signing out and back in restored visibility for the affected user, so it would also be useful to know whether that changes the result here. Intermittent issues like this can be tricky to nail down.

Let me know if you’d prefer to share any of this info over DM and I can set one up.

Cheers Wes, have sent you some follow up information by DM!

@bkspace :
The most useful test is:

Have the staff member who cannot see the function open the Shopify Admin in an incognito window and log in again.

If it appears there, the cache/session theory becomes much stronger.

Other option : Check if admin permissions and app Token Permissions are different.
Did you use app bridge for the call or app Token as both have different permissions and it has been obseved that app bridge access on times fails as the staff might have fewer permission while app Token has more permissions.

Hey @bkspace - thanks for the extra details by DM and for bearing with us.

We’re still investigating. I’m working on additional logging to help identify why the discount options go missing and what needs to be fixed.

I don’t have a resolution timeline yet, but I wanted to keep you in the loop. I’ll follow up as we learn more. If this happens again, please let me know and send any private details by DM.

Thanks @Wes-Dev-Shopify (as always!). Yea, definitely appreciate there’s no blindingly obvious reason for this to be occurring.

Just had another two notifications. The consistent thing is that they have multiple 3rd party discount applications installed. My best bet is this is simply a caching issue.