How do apps show “Powered by” and redirect to app from discount page?

I’m currently building my first public Shopify app that programmatically creates “Buy X Get Y Free” bundles using the discountAutomaticBxgyCreate GraphQL mutation.

The discount creation works, but I noticed some key differences between my app and popular apps like Kaching Bundle or Fast Bundle, and I’d appreciate any insights on how they achieve these features:

1. App branding in the Discounts list

Apps like Kaching display their app icon and “Powered by Kaching Bundle” in the Discounts table in the Shopify Admin (3rd discount on the image).

My app: The discounts appear just like manually created discounts, with no app branding or link to my app (1st discount on the image).

2. Redirection behavior when clicking on a discount

In other apps, when a merchant clicks on the discount entry, it redirects them to the app’s custom interface (not the native Shopify discount editor). This is very helpful to prevent manual edits that could break logic.

My app: Clicking on a discount leads to the default Shopify editor.


Questions:

  • How are these apps branding their discounts with an icon and “powered by” text?
  • How do they make clicking on the discount row open their app’s interface instead of the native editor?
  • Is this possible using Shopify Functions, or is there another mechanism (e.g. metafields, Admin links, app blocks)?

Additionally, I’ve seen that Shopify Functions discounts appear only at checkout, but I want my discounts to be visible in the cart items as well — just like with these third-party apps.

If anyone has tips, official documentation links, or could share how this is achieved, I’d be incredibly grateful!

1 Like

Hey @Oussama_Khalfi :waving_hand: - to get that “Powered by…” pop up to appear, you’d generally just need to set up your discounts as a specific “app” type discount, for example an “AutomaticAppDiscount”.

To get that app interface open, they are likely using this guide here though: Build a discounts UI with Remix which goes over how to create an embedded app UI with App Bridge using our Remix app template.

Hope this helps - let me know if I can clarify anything here :slight_smile:

Yes exactly the “discountAutomaticAppCreate” is the right one.
Mutations that contains the “App” word means that the discount will be linked to your app and it’s logic will come from a function you setup in an extension of type “Discount Function”


And then your discount will appear in the discounts table with the logo of your app and when clicked it will redirect to your app :+1:

I was wrong about that, shopify functions discounts do appear at the cart (don’t always trust chatGPT)