Category: Shopify
-
Post Views: 18 1. Reference: Install Shopify CLI 3.0 (based on Node.js) in Windows 10 Professional Edition. After installation, you will be prompted that the new version of Shopify CLI is available! Your version is 2.15.6 and the latest version is 2.34.0. To upgrade, follow the instructions of the package manager you are using:https://shopify.dev/tools/cli/troubleshooting#upgrade-shopify-cli 2. To upgrade Shopify CLI 3.x…
-
Post Views: 19 1. Reference:https://shopify.dev/themes/tools/cli/install#requirements, the requirements in Windows are as follows 2. The version of Node.js is: V16.13.1, which is higher than 14.17.0. meet the requirements. 3. Reference:https://www.shuijingwanwq.com/2022/05/10/6388/. Steps 1 and 2. The version of Ruby+DevKit is: 3.1.x (x64), which is higher than Ruby+DevKit 3.0. meet the requirements. 4. The version of Bundler is: 2.3.24, which is higher than…
-
Post Views: 16 1. The current implementation principle of the theme editor is: when a configuration item in the editor changes, the temporary storage API of the backend will be requested to cache the data to Redis. When the user clicks the save button, the save API of the backend is requested, and the data will be read from Redis…
-
Post Views: 18 1. When running in the Shopify application: YARN DEV, an error is reported: Bundler version 2.3.7 is not supported. as shown in Figure 1 2. To update to the latest version of Bundler, run gem install bundler. 3. Run again: yarn dev, no more errors.
-
Post Views: 19 1. Execute: When YARN Shopify App Generate Extension, an error is reported: ERROR COULDNT find a package.json file in “E:\\wwwroot\\shopify-theme-app-extension\\20221012” info visithttps://yarnpkg.com/en/docs/cli/runfor documentation about this command. as shown in Figure 1 2. Reference:https://classic.yarnpkg.com/en/docs/cli/init. Create or update the package.json file interactively. Execute: yarn init. as shown in Figure 2 3. View the generated package.json file 4. Error: Error…
-
Post Views: 19 1. View requirements, you have created an app using Shopify CLI 3.0 or later, or you have migrated an existing app to make it compatible with Shopify CLI 3.0 or later. 2. Reference: Use Shopify CLI to create an application (PHP-based application template) and install it in the store 3. Execute: YARN Shopify App Generate Extension Create…
-
Post Views: 15 1. Navigate to the directory where you want to create the application (e:\wwwroot\shopify-app). Your application will be created in a new subdirectory. as shown in Figure 1 2. Run one of the following commands to create a new application, and then select the language of the application template you want to start using: Node, PHP, or Ruby.…
-
Post Views: 15 1. When syncing topics based on GitHub in Shopify, an error is reported: config/settings_schema.json, validation failed. as shown in Figure 1 2. The configuration of the original dawn is as follows 3. The configuration of the error reported after editing is as follows 4. Reference:https://shopify.dev/themes/getting-started/create#step-7-test-your-connection. Update the theme_name value to match the name you specified for the…
-
Post Views: 18 1. At this stage, you need to implement an interface to delete the cache ID in the GraphQL API. Refer to the Shopify example. When the cache ID does not exist, the response fails. as shown in Figure 1 2. Due to the rule to verify whether this cache ID exists, it will be used in a…