shoplazza-cli 1.1.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/LICENSE +21 -0
- package/README.md +206 -332
- package/README.zh.md +318 -0
- package/package.json +24 -70
- package/scripts/install.js +144 -0
- package/scripts/jsbuild/dev/index.js +123 -0
- package/scripts/jsbuild/index.js +77 -0
- package/{lib/checkout/build → scripts/jsbuild}/plugin/vite-plugin-add-extension-id.js +4 -2
- package/scripts/jsbuild/vite.config.js +35 -0
- package/scripts/run.js +29 -0
- package/.editorconfig +0 -28
- package/.prettierrc +0 -9
- package/bin/shoplazza +0 -137
- package/fixtures/assets/blog.scss +0 -74
- package/fixtures/assets/cart_modal.scss +0 -450
- package/fixtures/assets/collection_detail.js +0 -234
- package/fixtures/assets/collection_detail.scss +0 -345
- package/fixtures/assets/collection_list.scss +0 -11
- package/fixtures/assets/collection_slider.scss +0 -169
- package/fixtures/assets/feature_columns.scss +0 -26
- package/fixtures/assets/feature_product.scss +0 -109
- package/fixtures/assets/footer.js +0 -58
- package/fixtures/assets/footer.scss +0 -337
- package/fixtures/assets/four_images.scss +0 -29
- package/fixtures/assets/gallery.scss +0 -55
- package/fixtures/assets/header.js +0 -178
- package/fixtures/assets/header.scss +0 -929
- package/fixtures/assets/image_text.scss +0 -72
- package/fixtures/assets/logo_bar.scss +0 -11
- package/fixtures/assets/newsletter.scss +0 -90
- package/fixtures/assets/not_found.scss +0 -39
- package/fixtures/assets/page_detail.scss +0 -16
- package/fixtures/assets/pagination.scss +0 -150
- package/fixtures/assets/postcss.config.js +0 -6
- package/fixtures/assets/product_description.scss +0 -88
- package/fixtures/assets/product_detail.js +0 -634
- package/fixtures/assets/product_detail.scss +0 -1106
- package/fixtures/assets/relative_product.scss +0 -45
- package/fixtures/assets/reviews.scss +0 -70
- package/fixtures/assets/rich_text.scss +0 -71
- package/fixtures/assets/search.js +0 -87
- package/fixtures/assets/search.scss +0 -67
- package/fixtures/assets/slide.scss +0 -51
- package/fixtures/assets/slider.scss +0 -141
- package/fixtures/assets/test.scss +0 -1
- package/fixtures/assets/theme.css +0 -976
- package/fixtures/assets/theme.scss +0 -1100
- package/fixtures/assets/three_images.scss +0 -20
- package/fixtures/assets/tools.scss +0 -23
- package/fixtures/assets/two_images.scss +0 -24
- package/fixtures/assets/video.scss +0 -45
- package/fixtures/assets/video_text.scss +0 -63
- package/fixtures/config/settings_data.json +0 -107
- package/fixtures/config/settings_schema.json +0 -690
- package/fixtures/layout/theme.liquid +0 -76
- package/fixtures/locales/ar-SA.json +0 -212
- package/fixtures/locales/de-DE.json +0 -290
- package/fixtures/locales/en-US.json +0 -290
- package/fixtures/locales/es-ES.json +0 -290
- package/fixtures/locales/fr-FR.json +0 -290
- package/fixtures/locales/id-ID.json +0 -212
- package/fixtures/locales/it-IT.json +0 -212
- package/fixtures/locales/ja-JP.json +0 -289
- package/fixtures/locales/ko-KR.json +0 -290
- package/fixtures/locales/nl-NL.json +0 -290
- package/fixtures/locales/pl-PL.json +0 -290
- package/fixtures/locales/pt-PT.json +0 -212
- package/fixtures/locales/ru-RU.json +0 -212
- package/fixtures/locales/th-TH.json +0 -212
- package/fixtures/locales/zh-CN.json +0 -290
- package/fixtures/locales/zh-TW.json +0 -290
- package/fixtures/sections/apps.liquid +0 -47
- package/fixtures/sections/blog.liquid +0 -137
- package/fixtures/sections/collection_desc.liquid +0 -34
- package/fixtures/sections/collection_detail.liquid +0 -436
- package/fixtures/sections/collection_image.liquid +0 -104
- package/fixtures/sections/collection_list.liquid +0 -161
- package/fixtures/sections/collection_name.liquid +0 -34
- package/fixtures/sections/collection_slider.liquid +0 -330
- package/fixtures/sections/feature_columns.liquid +0 -275
- package/fixtures/sections/feature_product.liquid +0 -227
- package/fixtures/sections/footer.liquid +0 -488
- package/fixtures/sections/four_images.liquid +0 -160
- package/fixtures/sections/gallery.liquid +0 -258
- package/fixtures/sections/header.liquid +0 -1157
- package/fixtures/sections/html.liquid +0 -40
- package/fixtures/sections/image_text.liquid +0 -350
- package/fixtures/sections/instagram_plus.liquid +0 -393
- package/fixtures/sections/logo_bar.liquid +0 -183
- package/fixtures/sections/newsletter.liquid +0 -225
- package/fixtures/sections/not_found.liquid +0 -39
- package/fixtures/sections/overlay_image.liquid +0 -648
- package/fixtures/sections/page_detail.liquid +0 -39
- package/fixtures/sections/photo_collection.liquid +0 -433
- package/fixtures/sections/product_description.liquid +0 -208
- package/fixtures/sections/product_detail.liquid +0 -611
- package/fixtures/sections/products.liquid +0 -216
- package/fixtures/sections/relative_product.liquid +0 -121
- package/fixtures/sections/reviews.liquid +0 -115
- package/fixtures/sections/rich_text.liquid +0 -157
- package/fixtures/sections/search.liquid +0 -163
- package/fixtures/sections/slide.liquid +0 -719
- package/fixtures/sections/three_images.liquid +0 -157
- package/fixtures/sections/two_images.liquid +0 -125
- package/fixtures/sections/video.liquid +0 -95
- package/fixtures/sections/video_text.liquid +0 -128
- package/fixtures/snippets/bgset.liquid +0 -21
- package/fixtures/snippets/card_title.liquid +0 -8
- package/fixtures/snippets/cart_modal.liquid +0 -74
- package/fixtures/snippets/collection.liquid +0 -77
- package/fixtures/snippets/collection_filter_modal.liquid +0 -56
- package/fixtures/snippets/default_image_4.liquid +0 -14
- package/fixtures/snippets/default_image_6.liquid +0 -18
- package/fixtures/snippets/default_image_8.liquid +0 -23
- package/fixtures/snippets/four_images_item.liquid +0 -8
- package/fixtures/snippets/header_ads.liquid +0 -95
- package/fixtures/snippets/hero_image.liquid +0 -94
- package/fixtures/snippets/icon_video_play_large.liquid +0 -1
- package/fixtures/snippets/icon_video_play_medium.liquid +0 -4
- package/fixtures/snippets/icon_video_play_small.liquid +0 -4
- package/fixtures/snippets/lazyimg.liquid +0 -22
- package/fixtures/snippets/lazyimg_art.liquid +0 -36
- package/fixtures/snippets/lazysizes.liquid +0 -41
- package/fixtures/snippets/link.liquid +0 -2
- package/fixtures/snippets/pagination.liquid +0 -48
- package/fixtures/snippets/product.liquid +0 -126
- package/fixtures/snippets/product_art_tpl.liquid +0 -152
- package/fixtures/snippets/product_info_body.liquid +0 -337
- package/fixtures/snippets/product_info_tpl.liquid +0 -423
- package/fixtures/snippets/product_label.liquid +0 -46
- package/fixtures/snippets/settings.liquid +0 -295
- package/fixtures/snippets/social-meta-tags.liquid +0 -106
- package/fixtures/snippets/video_html.liquid +0 -11
- package/fixtures/snippets/video_source.liquid +0 -98
- package/fixtures/snippets/video_thumb_icon.liquid +0 -2
- package/fixtures/templates/404.liquid +0 -1
- package/fixtures/templates/collection.liquid +0 -92
- package/fixtures/templates/index.liquid +0 -206
- package/fixtures/templates/page.liquid +0 -1
- package/fixtures/templates/product.liquid +0 -99
- package/fixtures/templates/search.liquid +0 -1
- package/jest.config.js +0 -192
- package/lib/__tests__/log.test.js +0 -15
- package/lib/__tests__/utils.test.js +0 -69
- package/lib/app/api/cli.js +0 -225
- package/lib/app/api/openapi.js +0 -121
- package/lib/app/api/partnerOpenapi.js +0 -104
- package/lib/app/bin/index.js +0 -20
- package/lib/app/bin/javy/javy-arm-linux-v5.0.1 +0 -0
- package/lib/app/bin/javy/javy-arm-macos-v5.0.1 +0 -0
- package/lib/app/bin/javy/javy-x86_64-linux-v5.0.1 +0 -0
- package/lib/app/bin/javy/javy-x86_64-macos-v5.0.1 +0 -0
- package/lib/app/bin/javy/javy-x86_64-windows-v5.0.1 +0 -0
- package/lib/app/commands/config/actions/link.js +0 -189
- package/lib/app/commands/config/actions/use.js +0 -40
- package/lib/app/commands/config/index.js +0 -25
- package/lib/app/commands/config/link.js +0 -11
- package/lib/app/commands/config/use.js +0 -11
- package/lib/app/commands/deploy/actions/deploy.js +0 -196
- package/lib/app/commands/deploy/index.js +0 -11
- package/lib/app/commands/dev/actions/dev.js +0 -206
- package/lib/app/commands/dev/index.js +0 -11
- package/lib/app/commands/generate/actions/extension.js +0 -97
- package/lib/app/commands/generate/actions/generateCheckout.js +0 -58
- package/lib/app/commands/generate/actions/generateFunction.js +0 -56
- package/lib/app/commands/generate/actions/generateTheme.js +0 -128
- package/lib/app/commands/generate/extension.js +0 -11
- package/lib/app/commands/generate/index.js +0 -22
- package/lib/app/commands/index.js +0 -82
- package/lib/app/commands/info/actions/info.js +0 -168
- package/lib/app/commands/info/index.js +0 -11
- package/lib/app/commands/init/actions/init.js +0 -176
- package/lib/app/commands/init/index.js +0 -14
- package/lib/app/commands/versions/actions/list.js +0 -210
- package/lib/app/commands/versions/index.js +0 -22
- package/lib/app/commands/versions/list.js +0 -14
- package/lib/app/constant/code.js +0 -7
- package/lib/app/constant/color.js +0 -18
- package/lib/app/constant/extension.js +0 -16
- package/lib/app/constant/host.js +0 -23
- package/lib/app/constant/sso.js +0 -7
- package/lib/app/index.js +0 -8
- package/lib/app/services/auth/config.js +0 -33
- package/lib/app/services/auth/index.js +0 -9
- package/lib/app/services/auth/oauth-server.js +0 -70
- package/lib/app/services/auth/partner-token.js +0 -45
- package/lib/app/services/auth/sso-token.js +0 -69
- package/lib/app/services/auth/store-token.js +0 -100
- package/lib/app/services/auth/url-builder.js +0 -23
- package/lib/app/services/config/index.js +0 -41
- package/lib/app/services/devServer/app.js +0 -76
- package/lib/app/services/devServer/index.js +0 -103
- package/lib/app/services/devServer/middleware/hmacValidatorMiddleWare.js +0 -20
- package/lib/app/services/devServer/middleware/index.js +0 -5
- package/lib/app/services/devServer/tunnel/index.js +0 -43
- package/lib/app/services/devServer/tunnel/providers/cloudflare.js +0 -364
- package/lib/app/services/devServer/tunnel/providers/ngrok.js +0 -70
- package/lib/app/services/devServer/utils/index.js +0 -5
- package/lib/app/services/devServer/utils/secureCompare.js +0 -5
- package/lib/app/services/devServer/views/app.ejs +0 -133
- package/lib/app/services/extension-build/buildCheckout.js +0 -47
- package/lib/app/services/extension-build/buildFunction.js +0 -57
- package/lib/app/services/extension-build/buildTheme.js +0 -100
- package/lib/app/services/extension-build/index.js +0 -23
- package/lib/app/services/extension-build/plugins/vite-plugin-add-extension-id.js +0 -26
- package/lib/app/services/extension-diff/index.js +0 -132
- package/lib/app/services/extension-upsert/index.js +0 -21
- package/lib/app/services/extension-upsert/upsertCheckout.js +0 -44
- package/lib/app/services/extension-upsert/upsertFunction.js +0 -52
- package/lib/app/services/extension-upsert/upsertTheme.js +0 -113
- package/lib/app/services/oss/index.js +0 -45
- package/lib/app/services/partner/index.js +0 -52
- package/lib/app/store/base-store.js +0 -37
- package/lib/app/store/config-store.js +0 -55
- package/lib/app/store/config.js +0 -21
- package/lib/app/store/index.js +0 -14
- package/lib/app/store/install-store.js +0 -41
- package/lib/app/store/sso-store.js +0 -55
- package/lib/app/utils/asyncPool.js +0 -42
- package/lib/app/utils/debug/index.js +0 -16
- package/lib/app/utils/env.js +0 -24
- package/lib/app/utils/error.js +0 -20
- package/lib/app/utils/git.js +0 -20
- package/lib/app/utils/json.js +0 -27
- package/lib/app/utils/path.js +0 -33
- package/lib/app/utils/platform.js +0 -37
- package/lib/app/utils/request/cli.js +0 -72
- package/lib/app/utils/request/debug.js +0 -13
- package/lib/app/utils/request/openapi.js +0 -67
- package/lib/app/utils/request/partnerOpenapi.js +0 -47
- package/lib/app/utils/toml.js +0 -56
- package/lib/app/utils/views/message.js +0 -68
- package/lib/app/utils/views/select.js +0 -36
- package/lib/app/utils/withTempDir.js +0 -55
- package/lib/auth/__mocks__/getCode.js +0 -7
- package/lib/auth/__mocks__/index.js +0 -0
- package/lib/auth/child.js +0 -23
- package/lib/auth/getCode.js +0 -39
- package/lib/auth/index.js +0 -134
- package/lib/check.js +0 -28
- package/lib/checkout/api.js +0 -164
- package/lib/checkout/build/plugin/vite-plugin-transform-extension-html.js +0 -207
- package/lib/checkout/build/vite.config.js +0 -34
- package/lib/checkout/build.js +0 -38
- package/lib/checkout/config.js +0 -97
- package/lib/checkout/create.js +0 -132
- package/lib/checkout/delete.js +0 -26
- package/lib/checkout/deploy.js +0 -59
- package/lib/checkout/dev/index.js +0 -143
- package/lib/checkout/fields.js +0 -29
- package/lib/checkout/index.js +0 -63
- package/lib/checkout/preview.js +0 -52
- package/lib/checkout/pull.js +0 -22
- package/lib/checkout/push.js +0 -141
- package/lib/checkout/template/README.md +0 -34
- package/lib/checkout/template/_gitignore +0 -4
- package/lib/checkout/template/extension.config.js +0 -4
- package/lib/checkout/template/extensions/extension-template/extension.json +0 -10
- package/lib/checkout/template/extensions/extension-template/src/content.html +0 -3
- package/lib/checkout/template/extensions/extension-template/src/index.html +0 -5
- package/lib/checkout/template/extensions/extension-template/src/index.js +0 -11
- package/lib/checkout/template/extensions/extension-template/src/script.html +0 -3
- package/lib/checkout/template/extensions/extension-template/src/style.html +0 -3
- package/lib/checkout/template/package.json +0 -17
- package/lib/checkout/undeploy.js +0 -40
- package/lib/checkout/util.js +0 -201
- package/lib/checkout/verify.js +0 -16
- package/lib/checkout/version.js +0 -7
- package/lib/commands/__tests__/login.test.js +0 -77
- package/lib/commands/__tests__/logout.test.js +0 -29
- package/lib/commands/__tests__/store.test.js +0 -44
- package/lib/commands/__tests__/switch.test.js +0 -45
- package/lib/commands/login.js +0 -120
- package/lib/commands/logout.js +0 -23
- package/lib/commands/store.js +0 -14
- package/lib/commands/switch.js +0 -52
- package/lib/commands/theme/__tests__/delete.test.js +0 -49
- package/lib/commands/theme/__tests__/init.test.js +0 -21
- package/lib/commands/theme/__tests__/list.test.js +0 -80
- package/lib/commands/theme/__tests__/package.test.js +0 -17
- package/lib/commands/theme/__tests__/publish.test.js +0 -61
- package/lib/commands/theme/__tests__/pull.test.js +0 -69
- package/lib/commands/theme/__tests__/push.test.js +0 -63
- package/lib/commands/theme/__tests__/serve.test.js +0 -107
- package/lib/commands/theme/delete.js +0 -64
- package/lib/commands/theme/init.js +0 -51
- package/lib/commands/theme/list.js +0 -28
- package/lib/commands/theme/package.js +0 -37
- package/lib/commands/theme/publish.js +0 -56
- package/lib/commands/theme/pull.js +0 -62
- package/lib/commands/theme/push.js +0 -106
- package/lib/commands/theme/serve.js +0 -153
- package/lib/commands/theme/share.js +0 -20
- package/lib/commands/version.js +0 -6
- package/lib/common/constants.js +0 -24
- package/lib/common/db/partner.js +0 -91
- package/lib/common/inquirers/choose-app.js +0 -79
- package/lib/common/inquirers/choose-partner.js +0 -74
- package/lib/common/log.js +0 -15
- package/lib/common/login.js +0 -125
- package/lib/common/logout.js +0 -16
- package/lib/db/__mocks__/index.js +0 -9
- package/lib/db/__tests__/analytics.test.js +0 -19
- package/lib/db/__tests__/user.test.js +0 -20
- package/lib/db/analytics.js +0 -48
- package/lib/db/index.js +0 -9
- package/lib/db/user.js +0 -71
- package/lib/function/bin/index.js +0 -20
- package/lib/function/bin/javy/javy-arm-linux-v5.0.1 +0 -0
- package/lib/function/bin/javy/javy-arm-macos-v5.0.1 +0 -0
- package/lib/function/bin/javy/javy-x86_64-linux-v5.0.1 +0 -0
- package/lib/function/bin/javy/javy-x86_64-macos-v5.0.1 +0 -0
- package/lib/function/bin/javy/javy-x86_64-windows-v5.0.1 +0 -0
- package/lib/function/commands/compile.js +0 -43
- package/lib/function/commands/create.js +0 -77
- package/lib/function/commands/list.js +0 -18
- package/lib/function/commands/release.js +0 -69
- package/lib/function/index.js +0 -24
- package/lib/function/template/js/README.md +0 -37
- package/lib/function/template/js/_gitignore +0 -4
- package/lib/function/template/js/extension.config.json +0 -5
- package/lib/function/template/js/package.json +0 -17
- package/lib/function/template/js/src/index.js +0 -64
- package/lib/function/utils.js +0 -29
- package/lib/log.js +0 -13
- package/lib/openAPI/__mocks__/index.js +0 -20
- package/lib/openAPI/api.js +0 -76
- package/lib/openAPI/index.js +0 -56
- package/lib/oss.js +0 -102
- package/lib/partner-api/axios.js +0 -67
- package/lib/partner-api/index.js +0 -79
- package/lib/report.js +0 -37
- package/lib/theme-extension/api/index.js +0 -96
- package/lib/theme-extension/commands/build.js +0 -114
- package/lib/theme-extension/commands/connect.js +0 -73
- package/lib/theme-extension/commands/create.js +0 -105
- package/lib/theme-extension/commands/deploy.js +0 -56
- package/lib/theme-extension/commands/list.js +0 -35
- package/lib/theme-extension/commands/release.js +0 -59
- package/lib/theme-extension/commands/serve.js +0 -179
- package/lib/theme-extension/commands/versions.js +0 -55
- package/lib/theme-extension/index.js +0 -29
- package/lib/theme-extension/template/basic-app/README.md +0 -125
- package/lib/theme-extension/template/basic-app/extension.config.json +0 -4
- package/lib/theme-extension/template/basic-app/package.json +0 -18
- package/lib/theme-extension/template/basic-app/theme-app/assets/index.css +0 -4
- package/lib/theme-extension/template/basic-app/theme-app/assets-manifest.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/blocks/index.liquid +0 -16
- package/lib/theme-extension/template/basic-app/theme-app/locales/ar-SA.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/de-DE.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/en-US.json +0 -6
- package/lib/theme-extension/template/basic-app/theme-app/locales/es-ES.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/fr-FR.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/id-ID.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/it-IT.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/ja-JP.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/ko-KR.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/nl-NL.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/pl-PL.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/pt-PT.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/ru-RU.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/th-TH.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/locales/zh-CN.json +0 -6
- package/lib/theme-extension/template/basic-app/theme-app/locales/zh-TW.json +0 -1
- package/lib/theme-extension/template/basic-app/theme-app/snippets/index.liquid +0 -8
- package/lib/theme-extension/template/embed-app/README.md +0 -125
- package/lib/theme-extension/template/embed-app/extension.config.json +0 -4
- package/lib/theme-extension/template/embed-app/package.json +0 -18
- package/lib/theme-extension/template/embed-app/theme-app/assets-manifest.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/blocks/index.liquid +0 -18
- package/lib/theme-extension/template/embed-app/theme-app/locales/ar-SA.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/de-DE.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/en-US.json +0 -6
- package/lib/theme-extension/template/embed-app/theme-app/locales/es-ES.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/fr-FR.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/id-ID.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/it-IT.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/ja-JP.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/ko-KR.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/nl-NL.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/pl-PL.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/pt-PT.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/ru-RU.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/th-TH.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/locales/zh-CN.json +0 -6
- package/lib/theme-extension/template/embed-app/theme-app/locales/zh-TW.json +0 -1
- package/lib/theme-extension/template/embed-app/theme-app/snippets/index.liquid +0 -8
- package/lib/theme-extension/template/embed-app/theme-app/snippets/index_css.liquid +0 -6
- package/lib/theme-extension/utils/config.js +0 -32
- package/lib/theme-extension/utils/index.js +0 -213
- package/lib/tracing.js +0 -50
- package/lib/utils/config.js +0 -12
- package/lib/utils/console.js +0 -33
- package/lib/utils/env.js +0 -17
- package/lib/utils/file.js +0 -48
- package/lib/utils/platform.js +0 -37
- package/lib/utils/utils.js +0 -165
- /package/{lib/checkout → scripts/jsbuild}/dev/client.js +0 -0
- /package/{lib/app/services/extension-build/plugins → scripts/jsbuild/plugin}/vite-plugin-transform-extension-html.js +0 -0
|
@@ -1,690 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "theme_info",
|
|
4
|
-
"theme_name": "TestLifeStyle",
|
|
5
|
-
"theme_author": "Underground",
|
|
6
|
-
"theme_version": "1.0"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"name": {
|
|
10
|
-
"zh-CN": "常规",
|
|
11
|
-
"en-US": "General"
|
|
12
|
-
},
|
|
13
|
-
"settings": [
|
|
14
|
-
{
|
|
15
|
-
"type": "header",
|
|
16
|
-
"content": {
|
|
17
|
-
"en-US": "Layout",
|
|
18
|
-
"zh-CN": "布局"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"type": "text",
|
|
23
|
-
"id": "general_layout_width",
|
|
24
|
-
"label": {
|
|
25
|
-
"en-US": "Content width",
|
|
26
|
-
"zh-CN": "内容宽度"
|
|
27
|
-
},
|
|
28
|
-
"info": {
|
|
29
|
-
"en-US": "Content width in px",
|
|
30
|
-
"zh-CN": "内容宽度单位为px"
|
|
31
|
-
},
|
|
32
|
-
"default": "1080",
|
|
33
|
-
"props": {
|
|
34
|
-
"type": "number"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"type": "text",
|
|
39
|
-
"id": "general_layout_spacing",
|
|
40
|
-
"label": {
|
|
41
|
-
"en-US": "Content space",
|
|
42
|
-
"zh-CN": "内容留白"
|
|
43
|
-
},
|
|
44
|
-
"default": "40",
|
|
45
|
-
"info": {
|
|
46
|
-
"en-US": "Content space in px",
|
|
47
|
-
"zh-CN": "内容留白单位为px"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": {
|
|
54
|
-
"en-US": "Color",
|
|
55
|
-
"zh-CN": "颜色"
|
|
56
|
-
},
|
|
57
|
-
"settings": [
|
|
58
|
-
{
|
|
59
|
-
"type": "header",
|
|
60
|
-
"content": {
|
|
61
|
-
"en-US": "General",
|
|
62
|
-
"zh-CN": "通用"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"type": "color",
|
|
67
|
-
"id": "skin_bg",
|
|
68
|
-
"label": {
|
|
69
|
-
"en-US": "Background",
|
|
70
|
-
"zh-CN": "页面背景"
|
|
71
|
-
},
|
|
72
|
-
"default": "#FFFFFF"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"type": "color",
|
|
76
|
-
"id": "skin_title_color",
|
|
77
|
-
"label": {
|
|
78
|
-
"en-US": "Heading",
|
|
79
|
-
"zh-CN": "标题"
|
|
80
|
-
},
|
|
81
|
-
"default": "#000000"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"type": "color",
|
|
85
|
-
"id": "skin_text_color",
|
|
86
|
-
"label": {
|
|
87
|
-
"en-US": "Text",
|
|
88
|
-
"zh-CN": "正文"
|
|
89
|
-
},
|
|
90
|
-
"default": "#999999"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"type": "color",
|
|
94
|
-
"id": "skin_price_color",
|
|
95
|
-
"label": {
|
|
96
|
-
"en-US": "Price",
|
|
97
|
-
"zh-CN": "现价"
|
|
98
|
-
},
|
|
99
|
-
"default": "#9B3C44"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"type": "color",
|
|
103
|
-
"id": "skin_compare_at_price_color",
|
|
104
|
-
"label": {
|
|
105
|
-
"zh-CN": "原价",
|
|
106
|
-
"en-US": "Compare at price"
|
|
107
|
-
},
|
|
108
|
-
"default": "#999999"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"type": "header",
|
|
112
|
-
"content": {
|
|
113
|
-
"en-US": "Buttons",
|
|
114
|
-
"zh-CN": "按钮"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"type": "color",
|
|
119
|
-
"id": "skin_primary_btn_bg_color",
|
|
120
|
-
"label": {
|
|
121
|
-
"en-US": "Primary buttons",
|
|
122
|
-
"zh-CN": "主要按钮背景"
|
|
123
|
-
},
|
|
124
|
-
"default": "#212121"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"type": "color",
|
|
128
|
-
"id": "skin_primary_btn_text_color",
|
|
129
|
-
"label": {
|
|
130
|
-
"en-US": "Primary labels",
|
|
131
|
-
"zh-CN": "主要按钮字体"
|
|
132
|
-
},
|
|
133
|
-
"default": "#FFFFFF"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"type": "color",
|
|
137
|
-
"id": "skin_primary_btn_border_color",
|
|
138
|
-
"label": {
|
|
139
|
-
"en-US": "Primary border",
|
|
140
|
-
"zh-CN": "主要按钮边框"
|
|
141
|
-
},
|
|
142
|
-
"default": "#212121"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"type": "color",
|
|
146
|
-
"id": "skin_secondary_btn_bg_color",
|
|
147
|
-
"label": {
|
|
148
|
-
"en-US": "Secondary buttons",
|
|
149
|
-
"zh-CN": "次要按钮背景"
|
|
150
|
-
},
|
|
151
|
-
"default": "#FFFFFF"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"type": "color",
|
|
155
|
-
"id": "skin_secondary_btn_text_color",
|
|
156
|
-
"label": {
|
|
157
|
-
"zh-CN": "次要按钮字体&边框",
|
|
158
|
-
"en-US": "Secondary label and borders"
|
|
159
|
-
},
|
|
160
|
-
"default": "#212121"
|
|
161
|
-
}
|
|
162
|
-
]
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"name": {
|
|
166
|
-
"en-US": "Font",
|
|
167
|
-
"zh-CN": "字体"
|
|
168
|
-
},
|
|
169
|
-
"settings": [
|
|
170
|
-
{
|
|
171
|
-
"type": "header",
|
|
172
|
-
"content": {
|
|
173
|
-
"en-US": "Font type",
|
|
174
|
-
"zh-CN": "字体类型"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"type": "font_picker",
|
|
179
|
-
"id": "skin_title_font_family",
|
|
180
|
-
"label": {
|
|
181
|
-
"en-US": "Heading",
|
|
182
|
-
"zh-CN": "标题"
|
|
183
|
-
},
|
|
184
|
-
"default": "work_sans_n7"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"type": "font_picker",
|
|
188
|
-
"id": "skin_text_font_family",
|
|
189
|
-
"label": {
|
|
190
|
-
"en-US": "Text",
|
|
191
|
-
"zh-CN": "正文"
|
|
192
|
-
},
|
|
193
|
-
"default": "work_sans_n4"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"type": "font_picker",
|
|
197
|
-
"id": "skin_btn_font_family",
|
|
198
|
-
"label": {
|
|
199
|
-
"en-US": "Buttons",
|
|
200
|
-
"zh-CN": "按钮"
|
|
201
|
-
},
|
|
202
|
-
"default": "work_sans_n4"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"type": "font_picker",
|
|
206
|
-
"id": "skin_product_header_font_family",
|
|
207
|
-
"label": {
|
|
208
|
-
"en-US": "Product title",
|
|
209
|
-
"zh-CN": "商品标题"
|
|
210
|
-
},
|
|
211
|
-
"default": "work_sans_n4"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"type": "header",
|
|
215
|
-
"content": {
|
|
216
|
-
"zh-CN": "字号",
|
|
217
|
-
"en-US": "Font size"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"type": "range",
|
|
222
|
-
"id": "skin_title_font_size",
|
|
223
|
-
"step": 1,
|
|
224
|
-
"max": 60,
|
|
225
|
-
"min": 16,
|
|
226
|
-
"unit": "px",
|
|
227
|
-
"label": {
|
|
228
|
-
"en-US": "Heading",
|
|
229
|
-
"zh-CN": "标题"
|
|
230
|
-
},
|
|
231
|
-
"default": 34
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"type": "range",
|
|
235
|
-
"id": "skin_product_header_font_size",
|
|
236
|
-
"step": 1,
|
|
237
|
-
"max": 34,
|
|
238
|
-
"min": 12,
|
|
239
|
-
"unit": "px",
|
|
240
|
-
"label": {
|
|
241
|
-
"en-US": "Product title",
|
|
242
|
-
"zh-CN": "商品标题"
|
|
243
|
-
},
|
|
244
|
-
"default": 13
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"type": "range",
|
|
248
|
-
"id": "skin_price_font_size",
|
|
249
|
-
"step": 1,
|
|
250
|
-
"max": 34,
|
|
251
|
-
"min": 12,
|
|
252
|
-
"unit": "px",
|
|
253
|
-
"label": {
|
|
254
|
-
"en-US": "Price",
|
|
255
|
-
"zh-CN": "现价"
|
|
256
|
-
},
|
|
257
|
-
"default": 15
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"type": "range",
|
|
261
|
-
"id": "skin_compare_at_price_font_size",
|
|
262
|
-
"step": 1,
|
|
263
|
-
"max": 34,
|
|
264
|
-
"min": 12,
|
|
265
|
-
"unit": "px",
|
|
266
|
-
"label": {
|
|
267
|
-
"zh-CN": "原价",
|
|
268
|
-
"en-US": "Compare at price"
|
|
269
|
-
},
|
|
270
|
-
"default": 15
|
|
271
|
-
}
|
|
272
|
-
]
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"name": {
|
|
276
|
-
"en-US": "Product",
|
|
277
|
-
"zh-CN": "商品"
|
|
278
|
-
},
|
|
279
|
-
"settings": [
|
|
280
|
-
{
|
|
281
|
-
"type": "header",
|
|
282
|
-
"content": {
|
|
283
|
-
"en-US": "Product information",
|
|
284
|
-
"zh-CN": "商品通用信息"
|
|
285
|
-
},
|
|
286
|
-
"info": {
|
|
287
|
-
"zh-CN": "以下设置皆为全局设置不仅限于对当前页面生效,改动之后将会影响该主题全部页面的商品列表/商品详情/快速浏览弹窗的信息展示",
|
|
288
|
-
"en-US": "The following settings are global settings.The changes will affect the list of products/product details /quick view popup information display for all pages of the theme instead of the current page"
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"type": "checkbox",
|
|
293
|
-
"label": {
|
|
294
|
-
"zh-CN": "原价",
|
|
295
|
-
"en-US": "Compare at price"
|
|
296
|
-
},
|
|
297
|
-
"id": "is_compare_at_price_show",
|
|
298
|
-
"default": true
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"type": "checkbox",
|
|
302
|
-
"label": {
|
|
303
|
-
"zh-CN": "折扣标签",
|
|
304
|
-
"en-US": "Sale label"
|
|
305
|
-
},
|
|
306
|
-
"id": "is_discount_show",
|
|
307
|
-
"default": true
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"type": "checkbox",
|
|
311
|
-
"id": "vendor_enable",
|
|
312
|
-
"label": {
|
|
313
|
-
"en-US": "Show vendor",
|
|
314
|
-
"zh-CN": "供应商"
|
|
315
|
-
},
|
|
316
|
-
"default": false
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"type": "checkbox",
|
|
320
|
-
"id": "product_save_amount",
|
|
321
|
-
"label": {
|
|
322
|
-
"zh-CN": "优惠金额",
|
|
323
|
-
"en-US": "Show discount amount"
|
|
324
|
-
},
|
|
325
|
-
"default": false
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"type": "custom_select",
|
|
329
|
-
"id": "label_style",
|
|
330
|
-
"label": {
|
|
331
|
-
"en-US": "Label style",
|
|
332
|
-
"zh-CN": "标签样式"
|
|
333
|
-
},
|
|
334
|
-
"options": [
|
|
335
|
-
{
|
|
336
|
-
"label": "/oss/operation/672cd638f48d0d99f610b15fc970b2f4.svg",
|
|
337
|
-
"value": "triangle"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"label": "/oss/operation/7471ce3cb36b9239d033f6ccb67f38fa.svg",
|
|
341
|
-
"value": "flag"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"label": "/oss/operation/51691a108428a9cec48a317b3c2cb751.svg",
|
|
345
|
-
"value": "badge"
|
|
346
|
-
}
|
|
347
|
-
],
|
|
348
|
-
"default": "triangle"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"type": "color",
|
|
352
|
-
"id": "label_background_color",
|
|
353
|
-
"label": {
|
|
354
|
-
"en-US": "Label background color",
|
|
355
|
-
"zh-CN": "标签背景"
|
|
356
|
-
},
|
|
357
|
-
"default": "#9B3C44"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"type": "color",
|
|
361
|
-
"id": "label_color",
|
|
362
|
-
"label": {
|
|
363
|
-
"en-US": "Label text color",
|
|
364
|
-
"zh-CN": "标签文字"
|
|
365
|
-
},
|
|
366
|
-
"default": "#FFFFFF"
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
"type": "header",
|
|
370
|
-
"content": {
|
|
371
|
-
"zh-CN": "quickview信息",
|
|
372
|
-
"en-US": "quick view information"
|
|
373
|
-
},
|
|
374
|
-
"info": {
|
|
375
|
-
"zh-CN": "以下商品信息位于商品详情与快速浏览弹窗,改动后不仅限于对当前页面生效,将会对全局生效。",
|
|
376
|
-
"en-US": "The following settings are global and are not limited to the current page, but will affect the product list/product details/quick view popup display on all pages of the theme"
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"type": "checkbox",
|
|
381
|
-
"label": {
|
|
382
|
-
"en-US": "SKU",
|
|
383
|
-
"zh-CN": "SKU"
|
|
384
|
-
},
|
|
385
|
-
"id": "is_sku_show",
|
|
386
|
-
"default": false
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
"type": "checkbox",
|
|
390
|
-
"label": {
|
|
391
|
-
"en-US": "Inventory",
|
|
392
|
-
"zh-CN": "库存"
|
|
393
|
-
},
|
|
394
|
-
"id": "is_stock_show",
|
|
395
|
-
"default": true
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"type": "checkbox",
|
|
399
|
-
"label": {
|
|
400
|
-
"zh-CN": "销量",
|
|
401
|
-
"en-US": "Sales"
|
|
402
|
-
},
|
|
403
|
-
"id": "is_sales_show",
|
|
404
|
-
"default": false
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"type": "checkbox",
|
|
408
|
-
"label": {
|
|
409
|
-
"zh-CN": "副标题",
|
|
410
|
-
"en-US": "Subheading"
|
|
411
|
-
},
|
|
412
|
-
"id": "is_brief_show",
|
|
413
|
-
"default": true
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"type": "checkbox",
|
|
417
|
-
"label": {
|
|
418
|
-
"zh-CN": "数量选择框",
|
|
419
|
-
"en-US": "Quantity selector"
|
|
420
|
-
},
|
|
421
|
-
"id": "is_quantity_box_show",
|
|
422
|
-
"default": true
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"type": "checkbox",
|
|
426
|
-
"label": {
|
|
427
|
-
"en-US": "Select the variants by default",
|
|
428
|
-
"zh-CN": "默认选中款式"
|
|
429
|
-
},
|
|
430
|
-
"id": "is_select_default_variants",
|
|
431
|
-
"default": false
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"type": "select",
|
|
435
|
-
"id": "variant_type",
|
|
436
|
-
"label": {
|
|
437
|
-
"en-US": "Variant picker style",
|
|
438
|
-
"zh-CN": "款式选择形式"
|
|
439
|
-
},
|
|
440
|
-
"default": "button",
|
|
441
|
-
"options": [
|
|
442
|
-
{
|
|
443
|
-
"value": "button",
|
|
444
|
-
"label": {
|
|
445
|
-
"en-US": "Buttons",
|
|
446
|
-
"zh-CN": "按钮"
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"value": "dropdown",
|
|
451
|
-
"label": {
|
|
452
|
-
"en-US": "Dropdown",
|
|
453
|
-
"zh-CN": "下拉列表"
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
]
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"type": "checkbox",
|
|
460
|
-
"label": {
|
|
461
|
-
"zh-CN": "展示 Add To Cart 按钮",
|
|
462
|
-
"en-US": "Show 'Add To Cart' button"
|
|
463
|
-
},
|
|
464
|
-
"id": "is_add_to_cart_show",
|
|
465
|
-
"default": true
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"type": "checkbox",
|
|
469
|
-
"label": {
|
|
470
|
-
"zh-CN": "展示 Buy Now 按钮",
|
|
471
|
-
"en-US": "Show 'Buy Now' button"
|
|
472
|
-
},
|
|
473
|
-
"id": "is_payment_btn_show",
|
|
474
|
-
"default": true
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"type": "select",
|
|
478
|
-
"id": "add_to_cart_process",
|
|
479
|
-
"label": {
|
|
480
|
-
"zh-CN": "点击 Add to Cart",
|
|
481
|
-
"en-US": "Click on 'Add to Cart'"
|
|
482
|
-
},
|
|
483
|
-
"default": "to_toast",
|
|
484
|
-
"options": [
|
|
485
|
-
{
|
|
486
|
-
"value": "to_toast",
|
|
487
|
-
"label": {
|
|
488
|
-
"en-US": "Drawer",
|
|
489
|
-
"zh-CN": "侧边购物车"
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"value": "toast",
|
|
494
|
-
"label": {
|
|
495
|
-
"en-US": "Pop up message",
|
|
496
|
-
"zh-CN": "弹提示框,页面不跳转"
|
|
497
|
-
}
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"value": "to_cart",
|
|
501
|
-
"label": {
|
|
502
|
-
"zh-CN": "跳到购物车",
|
|
503
|
-
"en-US": "Into the shopping cart"
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"value": "to_checkout",
|
|
508
|
-
"label": {
|
|
509
|
-
"zh-CN": "跳到支付页",
|
|
510
|
-
"en-US": "Into the payment page"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
]
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"type": "header",
|
|
517
|
-
"content": {
|
|
518
|
-
"en-US": "Product list",
|
|
519
|
-
"zh-CN": "商品列表"
|
|
520
|
-
}
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"type": "checkbox",
|
|
524
|
-
"label": {
|
|
525
|
-
"zh-CN": "是否展示 Quick View 按钮",
|
|
526
|
-
"en-US": "Show quick view button"
|
|
527
|
-
},
|
|
528
|
-
"id": "is_quick_view_btn_show",
|
|
529
|
-
"default": true
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"type": "text",
|
|
533
|
-
"id": "quick_view_btn_text",
|
|
534
|
-
"label": {
|
|
535
|
-
"zh-CN": "Quick View 按钮文案",
|
|
536
|
-
"en-US": "Quick view button text"
|
|
537
|
-
},
|
|
538
|
-
"default": "Quick View",
|
|
539
|
-
"placeholder": "Quick View"
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"type": "select",
|
|
543
|
-
"id": "product_grid_image_size",
|
|
544
|
-
"label": {
|
|
545
|
-
"en-US": "Grid image size",
|
|
546
|
-
"zh-CN": "商品列表图片尺寸"
|
|
547
|
-
},
|
|
548
|
-
"default": "100%",
|
|
549
|
-
"options": [
|
|
550
|
-
{
|
|
551
|
-
"value": "100%",
|
|
552
|
-
"label": {
|
|
553
|
-
"zh-CN": "小",
|
|
554
|
-
"en-US": "Small"
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"value": "121%",
|
|
559
|
-
"label": {
|
|
560
|
-
"zh-CN": "中",
|
|
561
|
-
"en-US": "Medium"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"value": "150%",
|
|
566
|
-
"label": {
|
|
567
|
-
"zh-CN": "大",
|
|
568
|
-
"en-US": "Large"
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"value": "natural",
|
|
573
|
-
"label": {
|
|
574
|
-
"zh-CN": "原始比例",
|
|
575
|
-
"en-US": "Natural"
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
]
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"type": "checkbox",
|
|
582
|
-
"label": {
|
|
583
|
-
"zh-CN": "购物车推荐商品",
|
|
584
|
-
"en-US": "Cart recommendations"
|
|
585
|
-
},
|
|
586
|
-
"id": "is_cart_recommended_products_show",
|
|
587
|
-
"default": false
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
"type": "range",
|
|
591
|
-
"id": "cart_recommended_products_number",
|
|
592
|
-
"step": 1,
|
|
593
|
-
"max": 5,
|
|
594
|
-
"min": 1,
|
|
595
|
-
"label": {
|
|
596
|
-
"en-US": "Cart recommended products number",
|
|
597
|
-
"zh-CN": "购物车推荐商品数量"
|
|
598
|
-
},
|
|
599
|
-
"default": 3,
|
|
600
|
-
"unit": ""
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
"type": "header",
|
|
604
|
-
"content": {
|
|
605
|
-
"en-US": "Color swatches",
|
|
606
|
-
"zh-CN": "色卡"
|
|
607
|
-
},
|
|
608
|
-
"info": {
|
|
609
|
-
"zh-CN": "色卡功能仅在款式名称包含“color”或“colour”(不区分大小写)的情况下生效。",
|
|
610
|
-
"en-US": "The color card function only takes effect when the style name contains \"color\" or \"colour\" (not case sensitive)."
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
"type": "checkbox",
|
|
615
|
-
"id": "product_color_swatches",
|
|
616
|
-
"label": {
|
|
617
|
-
"en-US": "Enable color swatches on product page",
|
|
618
|
-
"zh-CN": "允许商品详情页显示色卡"
|
|
619
|
-
},
|
|
620
|
-
"default": false
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"type": "checkbox",
|
|
624
|
-
"id": "collection_color_swatches",
|
|
625
|
-
"label": {
|
|
626
|
-
"en-US": "Enable color swatches on collection page",
|
|
627
|
-
"zh-CN": "允许专辑商品显示色卡"
|
|
628
|
-
},
|
|
629
|
-
"default": false
|
|
630
|
-
}
|
|
631
|
-
]
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": {
|
|
635
|
-
"en-US": "Social media",
|
|
636
|
-
"zh-CN": "社交媒体"
|
|
637
|
-
},
|
|
638
|
-
"settings": [
|
|
639
|
-
{
|
|
640
|
-
"type": "header",
|
|
641
|
-
"content": {
|
|
642
|
-
"en-US": "Social media link",
|
|
643
|
-
"zh-CN": "社媒链接"
|
|
644
|
-
}
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"type": "text",
|
|
648
|
-
"id": "instagram_url",
|
|
649
|
-
"label": "Instagram link",
|
|
650
|
-
"placeholder": "https://instagram.com"
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
"type": "text",
|
|
654
|
-
"id": "facebook_url",
|
|
655
|
-
"label": "Facebook link",
|
|
656
|
-
"placeholder": "https://www.facebook.com"
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
"type": "text",
|
|
660
|
-
"id": "twitter_url",
|
|
661
|
-
"label": "Twitter link",
|
|
662
|
-
"placeholder": "https://twitter.com"
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
"type": "text",
|
|
666
|
-
"id": "pinterest_url",
|
|
667
|
-
"label": "Pinterest link",
|
|
668
|
-
"placeholder": "https://pinterest.com"
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"type": "text",
|
|
672
|
-
"id": "youtube_url",
|
|
673
|
-
"label": "Youtube link",
|
|
674
|
-
"placeholder": "https://youtube.com"
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
"type": "image_picker",
|
|
678
|
-
"id": "homepage_social_image",
|
|
679
|
-
"label": {
|
|
680
|
-
"zh-CN": "首页分享图片",
|
|
681
|
-
"en-US": "Homepage image for sharing"
|
|
682
|
-
},
|
|
683
|
-
"info": {
|
|
684
|
-
"zh-CN": "分享首页到 Facebook 或者 Twitter 时展示。",
|
|
685
|
-
"en-US": "It will be displayed when your home page is shared on Facebook or Twitter"
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
]
|
|
689
|
-
}
|
|
690
|
-
]
|