Category: Shopify
-
Post Views: 19 1. Refer to the template source code editing in the Shopify background, when uploading a file greater than 50 MB, the response 413 request entity too large. This should be limited by the settings of the Nginx server: client_max_body_size 50M . as shown in Figure 1 2. When uploading a 48.5 MB CSS file, it takes 2…
-
Post Views: 20 1. Add Template to create a template. as shown in Figure 1 2. Click the save button to view the network request. Request URL:https://xxx.myshopify.com/admin/themes/111/assets. Request method: POST. This is the REST implementation. as shown in Figure 2 Requested form data: Response data: 3. The API for creating template files is not implemented in GraphQL. Decided to refer…
-
Post Views: 18 1. Reference: Some thoughts and practices to migrate from REST to GraphQL, refer to GitHub. On the left is the top-level directory structure of the template file. For each top-level directory, you need to set whether to allow new files. as shown in Figure 1 2. This plan draws on the response structure of Shopify’s GraphQL, but…
-
Post Views: 18 1. Reference:https://shopify.dev/api/admin-graphql#authentication, all GraphQL Admin API queries require a valid Shopify access token. 2. Open the background – Apps – Develop applications – Create custom apps. as shown in Figure 1 3. Enter the application name, select the application developer, and create the application. as shown in Figure 2 4. Configure the background API range. as shown…
-
Post Views: 15 1. In the online store related pages in the Shopify background, prompt: WebSocket Connection towss://argus.shopifycloud.com/graphql?bucket_id=gid://shopify/shop/62755799275Failed: WebSocket is closed before the connection is established. as shown in Figure 1 2, resulting in the page being loaded all the time. There is no solution for the time being. The temporary solution to come up is to open the page…
-
Post Views: 19 1. In Shopify, the current domain name is: xxx-wangqiang.myshopify.com. as shown in Figure 1 2. On the Settings > domain name page, connect the existing domain name, and make your store easy to remember and easy to find through custom domain names. as shown in Figure 2 3. Set the domain name to: xxx-wangqiang-shopify.shuijingwanwq.com, as shown in…