Hi there!
I’ve been trying to create an admin_print extension that connects to our external service and requests a PDF label to be printed. The extension seems to work just fine, but for whatever reason I can’t change the name of the action for the client.
This is what I have right now:
# extensions/admin-print/shopify.extension.toml
api_version = "2025-01"
[[extensions]]
name = "t:name"
handle = "admin-print"
type = "ui_extension"
# Only 1 target can be specified for each admin print action extension
[[extensions.targeting]]
module = "./src/PrintActionExtension.tsx"
# The target used here must match the target used in the module file (./src/PrintActionExtension.tsx)
target = "admin.order-details.print-action.render"
When I check my extension, however, I notice it uses the App’s name rather than the more descriptive name I have in my i18n files!
Any thoughts or ideas on workarounds, or is there no way to change the name at all in this specific case? I couldn’t find anything in the documentation about this.
Thanks!
Hi - just to confirm, the name from name = "t:name" is not being displayed? If you try hardcoding the name, instead of trying to pull from a locale file, is this updating?
Hey Liam,
That’s correct, the name is not being displayed, and I instead see the App name in its spot.
Hardcoding the name doesn’t work either. It seems like Shopify automatically uses the App’s name here.
I followed the tutorial here and notice that it also differs from the others in that there’s no attempt made at changing the extension name:
For comparison, here’s the .toml for the admin action tutorial
Thanks
Yeah, having the same issue. The Admin Print-extension ignores the name set in the .toml-file and just uses the app-name instead.
Is this a bug or intentional?
Same issue. Still waiting for this to be fixed
@Liam-Shopify @GovRayt Its a simple change. Why is this taking so long just to show admin-print extension name at button instead of App Name.
Hi folks - it does look like this is still an open issue. Investigating on my side now.
Any update on this? Basically trying to do the same thing. Doesn’t update the name on dev side.
Again, just want to see if there is any update on this. I’m making an app that is going to do a lot more than just be an admin print action and I would like to be able to change the name on Admin of the extension so that I can name the full app something else