shopify-app | Shopify App Development - Script Tag & ChatBot | Ecommerce library
kandi X-RAY | shopify-app Summary
kandi X-RAY | shopify-app Summary
Shopify App Development - Script Tag & ChatBot
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shopify-app
shopify-app Key Features
shopify-app Examples and Code Snippets
Community Discussions
Trending Discussions on shopify-app
QUESTION
Greetings I have a problem with Heroku because it's don't want to install legacy packages for my Shopify app, my Shopify app is on Github and I just set up everything that my application needs, but when I deploy the main branch on Heroku I get this error in Heroku console below, can someone help me fix this?
...ANSWER
Answered 2022-Feb-10 at 13:23Your lock file contains conflicting dependencies. Since you were able to reproduce the error locally using npm ci
we have a good way to test a fix locally.
It looks like you are depending directly on React 16. Is that something that you need directly, or is it just a dependency for Next.js?
If it's not something you need directly, upgrade it per the Next.js docs:
QUESTION
I have created an APP_SUBSCRIPTIONS_UPDATE
webhook. When I install an app and upgrade the first plan to the second plan, the webhook is run only 1 time. But after that when I upgrade or downgrade the app subscription plan, the webhook is run twice on each plan change event. here is shopify doc link and webhook log
here is shopify-app.php and job file.
...ANSWER
Answered 2022-Mar-03 at 08:05When we upgrade or downgrade an app subscription plan that time if there is no previous activated plan then Shopify only sent one webhook with ACTIVE status. if there is a previously activated plan then Shopify sent two webhook one for the CANCELLED plan and one for a newly activated plan.
QUESTION
I have created Shopify public App using osiset/laravel-shopify package. https://github.com/osiset/laravel-shopify
This app is working fine, also app is published on the Shopify App Store.
but recently I got errors of [API] Invalid API key or access token (unrecognized login or wrong password)
in each Shopify API call.
"laravel/framework": "^8.12"
"osiset/laravel-shopify": "^17.0",
This is happening for all stores which are using this app.
Temp Solution for me.- whenever API failed & got this error that time we update App from the store by the given URL.
"https://shop.myshopify.com/admin/oauth/authorize/?client_id=xxxxxxxxxx&redirect_uri=https://shopify-app.com/authenticate&scope=read_products,write_products,read_orders,write_orders,read_customers,write_customers,read_merchant_managed_fulfillment_orders,write_merchant_managed_fulfillment_orders,read_inventory&grant_options[]=per-user"
one another option
- set an empty password in the user's table in the database.
After doing this App working fine for the next 2-3 days. after 2-3 days again get these problems & fix them by updating the app from the store.
I'm not sure why & when this happens.
Failure LogsResponse of Failed Shopify Rest API.
...ANSWER
Answered 2021-Dec-27 at 05:29In local, you can try ngrok for URLs. https://ngrok.com/docs
QUESTION
I use this extention in vscode for modifying files on my server: SFTP Natizyskunk
but I cannot.
this is the error:
...ANSWER
Answered 2021-Dec-10 at 22:20I think it is easy to fix
you just don't have permission to modify the file on your server with your current user.
add the user as the directory owner:
QUESTION
I have the following setup, when loading a new page using the nextjs router it does not work as the new page is blank. There seems to be no client-side or iframe-based navigation redirection occurring at all.
I have been successful using the Polaris Link
components to navigate from page to page but that seems to completely reload my app in the iframe. I would like to use client-side routing and have even followed this example with no luck https://stackoverflow.com/a/63481122/671095
I am using a custom hook called useAppRoute
to hook into the history of shopify-app-bridge but I don't think that's the best approach for what I would like to achieve.
_app.js
...ANSWER
Answered 2022-Jan-18 at 01:40I've tried a similar approach with the RoutePropagator
but the subscription doesn't actually fire reliably on page changes.
I just don't think Shopify will support NextJS - especially with the change in the CLI tool now scaffolding a custom build instead of using NextJS + Koa.
QUESTION
How do I get route propagation working in a Nextjs Shopify app?
I'm building a Shopify App scaffolded with the CLI and have issues with routing using the Nextjs router. The standard embedded app implementation does not update the URL so a RoutePropagator component is needed.
I implemented Shopify's RoutePropagator but got the error TypeError: Cannot read properties of undefined (reading 'pathname')
Then I found this implementation which works for updating the URL, but runs into a really strange issue for Dynamic Urls.
Whenever a user navigated to a dynamic url, the url would update with [id] in the url. Gif example:
Narrowing it down, the below snipped causes the above dynamic url issue:
...ANSWER
Answered 2021-Dec-19 at 09:04Use
QUESTION
I am trying to setup the appbridge for my shopify APP
I am using this logic here:
...ANSWER
Answered 2021-Sep-03 at 17:41As far as I know, there's no helper getShopifyConfig()
. I think it's a typo, and need to correct it:
QUESTION
I am facing an error while trying to complete the official shopify tutorial about developing shopify app.
I have been following the tutorial step by step but even then ran in to problem where the error is thrown that my config file is invalid as it does not contain the host.
My _app.js file code is as follow:
...ANSWER
Answered 2021-May-19 at 11:02So i was able to solve the problem by changing the version of app bridge I was using the latest version which I think has a bug or I cant configure,
QUESTION
I have successfully installed Ruby in my windows 10 and also the shopify CLI in my OS but when I am trying to connect with my app using
...ANSWER
Answered 2021-Jan-27 at 18:45A similar issue discussed over the Ruby
and Jekyll
forum also suggests the same solution.
Link
QUESTION
I am on a windows 10 machine and trying to use the Shopify App CLI to create apps, but I am running into some errors.
First I installed ruby so I could use the gem command to install the Shopify App CLI, as explained here.
When running shopify version
as explained in the above documentation, I get the following output:
bash: shopify: command not found
After googling for a bit I found a solution to this problem, by running shopify.bat version
. With this command I can use the CLI.
Moving on, I tried following this tutorial to create my first Shopify App. I used shopify.bat create node
to create my app, moved into the folder and ran shopify.bat serve
to serve my app locally.
Now the following problem arises:
It starts promising by installing ngrok:
But after waiting for a bit, I get the following output (Sorry for the screenshot, I could not get it to look normal with inline code):
What I also notice is that it uses C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/shopify-cli-1.4.0/
as the path to the CLI, but when looking on Google, most people have /home/[USER]/.shopify-app-cli/
as the path to the CLI. This path does not exist on my machine.
So I would like to know why first of all the serving of the app won't work, because ngrok can't be found, and second why ~/home/user/.shopify-app-cli
does not exist.
Thanks in advance,
Mike
...ANSWER
Answered 2020-Oct-24 at 20:39I think modern Windows come with Linux now. Since the Internet runs on Linux, you might find development and following tutorials much easier if you use Linux, since all these inconveniences of Windows disappear. Unless you are already super handy with all the quirks of Windows to work around their results, it could be your ticket!
That being said, I mastered this development pattern using *nix and it remains pretty advanced to actually have a smooth workflow for both localhost and production development. Ngrok itself is painful without paying for the service and using puma-dev and puma-ngrok... I laugh when I think about how those essentials running under Windows will be for you.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shopify-app
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page