Script Tags are not being registered
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 1.9k
- Forks
- 739
- Avg merge
- 21h 2m
- Merged PRs (30d)
- 1
Description
Issue summary
Before opening this issue, I have:
- Upgraded to the latest version of the package
shopify_appversion: 22.3.2- Ruby version: 3.3.2
- Operating system: MacOS / Linux
- Set
log_level: :debugin my configuration, if applicable - Found a reliable way to reproduce the problem that indicates it's a problem with the package
- Looked for similar issues in this repository
- Checked that this isn't an issue with a Shopify API
- If it is, please create a post in the Shopify community forums or report it to Shopify Partner Support
When a shop installs the app the scripttags specified in the initializer aren't registered.
Expected behavior
The scripttags listed in the initializer should be registered.
Actual behavior
They are not registered.
Steps to reproduce the problem
- Install an app with
scripttagsin a new shop. - See that the script tag is not registered.
It looks like maybe something on the Shopify side broke this starting sometime in mid June.
I realize that script tags are deprecated, but all of the info I can find says that they should continue to work until August of 2025.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the initializer configuration that lists scripttags, then reproduce the issue by installing the app in a new shop using shopify_app 22.3.2. Verify whether registration is attempted and whether the failure is in the package or Shopify, with the script tag appearing after installation as the done condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100