diff --git a/package-lock.json b/package-lock.json index 6f74931..77422ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,8 +43,8 @@ "node": ">=22" }, "peerDependencies": { - "react": ">=18.0.0", - "react-dom": ">=18.0.0" + "react": ">=17.0.0", + "react-dom": ">=17.0.0" } }, "node_modules/@adobe/css-tools": { @@ -149,7 +149,6 @@ "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", @@ -2179,7 +2178,6 @@ "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "@keyv/serialize": "^1.1.1" } @@ -2242,7 +2240,6 @@ } ], "license": "MIT", - "peer": true, "engines": { "node": ">=18" }, @@ -2283,7 +2280,6 @@ } ], "license": "MIT", - "peer": true, "engines": { "node": ">=18" } @@ -2456,7 +2452,6 @@ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.14.0.tgz", "integrity": "sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA==", "license": "MIT", - "peer": true, "dependencies": { "@babel/runtime": "^7.18.3", "@emotion/babel-plugin": "^11.13.5", @@ -3900,7 +3895,6 @@ "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", "dev": true, "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -3924,7 +3918,6 @@ "integrity": "sha512-s5vvxXPVdjqS3kTLKMeBMvop9hbWkwzBpu+mUO2M7sZtlkyDJGwFe33wRKnbaYDo8ExRVBIIdwIGrqpxHuKttA==", "dev": true, "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=14" }, @@ -3938,7 +3931,6 @@ "integrity": "sha512-OOCM2C/QIURhJMuKaekP3TRBxBKxG/TWWA0TL2J6nXUtDnuCtccy49LUJF8xPFXMX+0LMcxFpCo8M9cGY1W6rQ==", "dev": true, "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/semantic-conventions": "1.28.0" }, @@ -4421,7 +4413,6 @@ "integrity": "sha512-5UxZqiAgLYGFjS4s9qm5mBVo433u+dSPUFWVWXmLAD4wB65oMCoXaJP1KJa9DIYYMeHu3z4BZcStG3LC593cWA==", "dev": true, "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "1.30.1", "@opentelemetry/semantic-conventions": "1.28.0" @@ -4449,7 +4440,6 @@ "integrity": "sha512-jVPgBbH1gCy2Lb7X0AVQ8XAfgg0pJ4nvl8/IiQA6nxOsPvS+0zMJaFSs2ltXe0J6C8dqjcnpyqINDJmU30+uOg==", "dev": true, "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "1.30.1", "@opentelemetry/resources": "1.30.1", @@ -4478,7 +4468,6 @@ "integrity": "sha512-R5R9tb2AXs2IRLNKLBJDynhkfmx7mX0vi8NkhZb3gUkPWHn6HXk5J8iQ/dql0U3ApfWym4kXXmBDRGO+oeOfjg==", "dev": true, "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=14" } @@ -5634,7 +5623,6 @@ "integrity": "sha512-8QqtOQT5ACVlmsvKOJNEaWmRPmcojMOzCz4Hs2BGG/toAp/K38LcsMRyLp349glq5AzJbCEeimEoxaX6v/fLrA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/core": "^7.21.3", "@svgr/babel-preset": "8.1.0", @@ -6051,6 +6039,7 @@ "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.10.4", "@babel/runtime": "^7.12.5", @@ -6071,6 +6060,7 @@ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=8" } @@ -6081,6 +6071,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -6094,6 +6085,7 @@ "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "dequal": "^2.0.3" } @@ -6104,6 +6096,7 @@ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ansi-regex": "^5.0.1", "ansi-styles": "^5.0.0", @@ -6118,7 +6111,8 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@testing-library/jest-dom": { "version": "6.9.1", @@ -6204,7 +6198,8 @@ "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@types/babel__core": { "version": "7.20.5", @@ -6324,7 +6319,6 @@ "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -6529,7 +6523,6 @@ "integrity": "sha512-Rs1bVAIdBs5gbTIKza/tgpMuG1k3U/UMJLWecIMxNdJFDMzcM5LOiLVRYh3PilWEYDIeUDv7bpiHPLPsbydGcw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~6.21.0" } @@ -6604,7 +6597,6 @@ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.28.tgz", "integrity": "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==", "license": "MIT", - "peer": true, "dependencies": { "@types/prop-types": "*", "csstype": "^3.2.2" @@ -6817,7 +6809,6 @@ "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==", "dev": true, "license": "BSD-2-Clause", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "6.21.0", "@typescript-eslint/types": "6.21.0", @@ -7617,7 +7608,6 @@ "integrity": "sha512-yJ474Zv3cwiSOO9nXJuqzvwEeM+chDuQ8GJirw+pZ91sCGCyOZ3dJkVE09fTV0VEVzXyLWhh3G/AolYTPX7Mow==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.25.7", @@ -8851,7 +8841,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -8945,7 +8934,6 @@ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -10118,7 +10106,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -11867,6 +11854,7 @@ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" } @@ -11914,8 +11902,7 @@ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1507524.tgz", "integrity": "sha512-OjaNE7qpk6GRTXtqQjAE5bGx6+c4F1zZH0YXtpZQLM92HNXx4zMAaqlKhP4T52DosG6hDW8gPMNhGOF8xbwk/w==", "dev": true, - "license": "BSD-3-Clause", - "peer": true + "license": "BSD-3-Clause" }, "node_modules/diff-sequences": { "version": "29.6.3", @@ -11971,7 +11958,8 @@ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/dom-converter": { "version": "0.2.0", @@ -12515,7 +12503,6 @@ "dev": true, "hasInstallScript": true, "license": "MIT", - "peer": true, "bin": { "esbuild": "bin/esbuild" }, @@ -12620,7 +12607,6 @@ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -12677,7 +12663,6 @@ "integrity": "sha512-/IGJ6+Dka158JnP5n5YFMOszjDWrXggGz1LaK/guZq9vZTmniaKlHcsscvkAhn9y4U+BU3JuUdYvtAMcv30y4A==", "dev": true, "license": "MIT", - "peer": true, "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -12801,7 +12786,6 @@ "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.9", @@ -16493,7 +16477,6 @@ "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -17594,8 +17577,7 @@ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1566079.tgz", "integrity": "sha512-MJfAEA1UfVhSs7fbSQOG4czavUp1ajfg6prlAN0+cmfa2zNjaIbvq8VneP7do1WAQQIvgNJWSMeP6UyI90gIlQ==", "dev": true, - "license": "BSD-3-Clause", - "peer": true + "license": "BSD-3-Clause" }, "node_modules/lighthouse/node_modules/puppeteer-core/node_modules/ws": { "version": "8.19.0", @@ -18136,6 +18118,7 @@ "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==", "dev": true, "license": "MIT", + "peer": true, "bin": { "lz-string": "bin/bin.js" } @@ -18968,7 +18951,6 @@ "integrity": "sha512-cuXAJJB1Rdqz0UO6w524matlBqDBjcNt7Ru+RDIu4y6RI1gVqiWBnylrK8sPRk81gGBA0X8hJbDXolVOoTc+sA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "ajv": "^6.12.6", "ajv-errors": "^1.0.1", @@ -19761,6 +19743,7 @@ "integrity": "sha512-vA30H8Nvkq/cPBnNw4Q8TWz1EJyqgpuinBcHET0YVJVFldr8JDNiU9LaWAE1KqSkRYazuaBhTpB5ZzShOezQ6A==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "playwright-core": "1.58.2" }, @@ -19780,6 +19763,7 @@ "integrity": "sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "playwright-core": "cli.js" }, @@ -19798,6 +19782,7 @@ "os": [ "darwin" ], + "peer": true, "engines": { "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } @@ -19848,7 +19833,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -20817,7 +20801,6 @@ "integrity": "sha512-X4UlrxDTH8oom9qXlcjnydsjAOD2BmB6yFmvS4Z2zdTzqqpRWb+fbqrH412+l+OUXmbzJlSXjlMFYPgYG12IAA==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -21246,7 +21229,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "license": "MIT", - "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -21322,7 +21304,6 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "license": "MIT", - "peer": true, "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.2" @@ -21343,7 +21324,6 @@ "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -21555,8 +21535,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/reflect.getprototypeof": { "version": "1.0.10", @@ -22103,7 +22082,6 @@ "integrity": "sha512-fDz1zJpd5GycprAbu4Q2PV/RprsRtKC/0z82z0JLgdytmcq0+ujJbJ/09bPGDxCLkKY3Np5cRAOcWiVkLXJURg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "chokidar": "^4.0.0", "immutable": "^5.0.2", @@ -22208,7 +22186,6 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -23060,7 +23037,6 @@ "integrity": "sha512-885uSIn8NQw2ZG7vy84K45lHCOSyz1DVsDV8pHiHQj3J0riCuWLNeO50lK9z98zE8kjhgTtxAAkMTy5nkmNRKQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@storybook/global": "^5.0.0", "@storybook/icons": "^2.0.1", @@ -23512,7 +23488,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@csstools/css-parser-algorithms": "^3.0.5", "@csstools/css-syntax-patches-for-csstree": "^1.0.19", @@ -23842,7 +23817,6 @@ "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -24513,7 +24487,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -24795,7 +24768,6 @@ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, "license": "(MIT OR CC0-1.0)", - "peer": true, "engines": { "node": ">=10" }, @@ -24908,7 +24880,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -25061,7 +25032,6 @@ "dev": true, "hasInstallScript": true, "license": "MIT", - "peer": true, "dependencies": { "napi-postinstall": "^0.3.0" }, @@ -25416,7 +25386,6 @@ "integrity": "sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", @@ -25525,7 +25494,6 @@ "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@discoveryjs/json-ext": "^0.5.0", "@webpack-cli/configtest": "^2.1.1", @@ -25611,7 +25579,6 @@ "integrity": "sha512-0XavAZbNJ5sDrCbkpWL8mia0o5WPOd2YGtxrEiZkBK9FjLppIUK2TgxK6qGD2P3hUXTJNNPVibrerKcx5WkR1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/bonjour": "^3.5.9", "@types/connect-history-api-fallback": "^1.3.5", diff --git a/package.json b/package.json index 0705c7b..d22dfc7 100644 --- a/package.json +++ b/package.json @@ -57,8 +57,8 @@ "prepare": "npm run build" }, "peerDependencies": { - "react": ">=18.0.0", - "react-dom": ">=18.0.0" + "react": ">=17.0.0", + "react-dom": ">=17.0.0" }, "dependencies": { "@base-ui/react": "^1.1.0", diff --git a/src/components/settings/Settings.stories.tsx b/src/components/settings/Settings.stories.tsx index 7545f1f..c4b199e 100644 --- a/src/components/settings/Settings.stories.tsx +++ b/src/components/settings/Settings.stories.tsx @@ -5,6 +5,8 @@ import { Save } from 'lucide-react'; import { Button } from '../ui/button'; import { Settings } from './index'; import type { SettingsElement, SettingsProps } from './settings-types'; +import image from './image.svg'; +import image2 from './image2.svg'; // ============================================ // Event Log — shows onChange / onSave events @@ -28,35 +30,41 @@ function EventLog({ entries }: { entries: LogEntry[] }) { Event Log {entries.length} events -
Thank you for choosing The Marketplace to power your online store! This quick setup wizard will help you configure the basic settings. It’s completely optional and shouldn’t take longer than two minutes.
", + "default": "", + "placeholder": "Enter your welcome message here...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "vendor.vendor_vendor_onboarding_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + ], + "description": "Control the onboarding experience for vendors joining your marketplace.", + "dependency_key": "vendor_onboarding", + "dependencies": [], + "validations": [], + "priority": 100, + "doc_link": "https://wedevs.com/docs/dokan-lite/vendor-onboarding/" + }, + { + "id": "vendor_capabilities", + "type": "subpage", + "title": "Vendor Capabilities", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities", + "children": [ + { + "id": "vendor_capabilities", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities", + "children": [ + { + "id": "global_digital_mode", + "type": "field", + "title": "Selling Product Types", + "icon": "", + "tooltip": "Select the type of products vendor can sell.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_global_digital_mode", + "children": [], + "description": "Select a type for vendors what type of product they can sell only.", + "dependency_key": "vendor_capabilities.vendor_capabilities.global_digital_mode", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "sell_both", + "default": "physical", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "sell_physical", + "title": "Physical", + "startIcon": "Box" + }, + { + "value": "sell_digital", + "title": "Digital", + "startIcon": "Download" + }, + { + "value": "sell_both", + "title": "Both", + "startIcon": "Dices" + } + ] + }, + { + "id": "product_status", + "type": "field", + "title": "Product Status", + "icon": "", + "tooltip": "The status of a product when a vendor creates or updates it.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_product_status", + "children": [], + "description": "The status of a product when a vendor creates or updates it.", + "dependency_key": "vendor_capabilities.vendor_capabilities.product_status", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "pending", + "default": "published", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "publish", + "title": "Published", + "icon": "" + }, + { + "value": "pending", + "title": "Pending Review", + "icon": "" + } + ] + }, + { + "id": "duplicate_product", + "type": "field", + "title": "Duplicate Product", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_duplicate_product", + "children": [], + "description": "Allow vendor to duplicate their product.", + "dependency_key": "vendor_capabilities.vendor_capabilities.duplicate_product", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "allow_vendor_create_manual_order", + "type": "field", + "title": "Allow vendors to create orders", + "icon": "", + "tooltip": "When enabled, vendors can create manual orders directly from their dashboard for direct sales.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_allow_vendor_create_manual_order", + "children": [], + "description": "Enable vendors to create orders manually from their dashboard.", + "dependency_key": "vendor_capabilities.vendor_capabilities.allow_vendor_create_manual_order", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "one_page_creation", + "type": "field", + "title": "One Page Product Creation", + "icon": "", + "tooltip": "If disabled, instead of a single add product page it will open a pop up window or vendor will redirect to product page when adding new product.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_one_page_creation", + "children": [], + "description": "Add new product in single page view.", + "dependency_key": "vendor_capabilities.vendor_capabilities.one_page_creation", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "product_popup", + "type": "field", + "title": "Product Popup", + "icon": "", + "tooltip": "If disabled, instead of a pop up window vendor will redirect to product page when adding new product.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_product_popup", + "children": [], + "description": "Add new product in popup view.", + "dependency_key": "vendor_capabilities.vendor_capabilities.product_popup", + "dependencies": [ + { + "key": "vendor_capabilities.vendor_capabilities.one_page_creation", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "!==", + "self": "vendor_capabilities.vendor_capabilities.product_popup" + }, + { + "key": "vendor_capabilities.vendor_capabilities.one_page_creation", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "vendor_capabilities.vendor_capabilities.product_popup" + } + ], + "validations": [], + "variant": "switch", + "value": "off", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "order_status_change", + "type": "field", + "title": "Order Status Change", + "icon": "", + "tooltip": "Checking this will enable sellers to change the order status. If unchecked, only admin can change the order status.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_order_status_change", + "children": [], + "description": "Allow vendor to update order status.", + "dependency_key": "vendor_capabilities.vendor_capabilities.order_status_change", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "select_any_category", + "type": "field", + "title": "Select any category", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_select_any_category", + "children": [], + "description": "Allow vendors to select any category while creating/editing products.", + "dependency_key": "vendor_capabilities.vendor_capabilities.select_any_category", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "category_selection", + "type": "field", + "title": "Product Category Selection", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_category_selection", + "children": [], + "description": "Control how vendors assign categories to their products.", + "dependency_key": "vendor_capabilities.vendor_capabilities.category_selection", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "single", + "default": "single", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "single", + "title": "Single", + "icon": "" + }, + { + "value": "multiple", + "title": "Multiple", + "icon": "" + } + ] + }, + { + "id": "vendors_create_tags", + "type": "field", + "title": "Vendors Can Create Tags", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_vendors_create_tags", + "children": [], + "description": "Allow vendors to create new product tags from vendor dashboard.", + "dependency_key": "vendor_capabilities.vendor_capabilities.vendors_create_tags", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "add_new_attribute_values", + "type": "field", + "title": "Add New Attribute Values", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_add_new_attribute_values", + "children": [], + "description": "Allow vendors to add new values to predefined attribute.", + "dependency_key": "vendor_capabilities.vendor_capabilities.add_new_attribute_values", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "product_review_management", + "type": "field", + "title": "Product Review Management by Vendors", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_product_review_management", + "children": [], + "description": "Allow vendors to manage product review status changes from their dashboard.", + "dependency_key": "vendor_capabilities.vendor_capabilities.product_review_management", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "discount_order_settings", + "type": "field", + "title": "Discount Editing", + "icon": "", + "tooltip": "Select the pages where you want to display the store location map.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_discount_order_settings", + "children": [], + "description": "Vendor can add order and product quantity discount.", + "dependency_key": "vendor_capabilities.vendor_capabilities.discount_order_settings", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "discount_settings", + "type": "field", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_capabilities_vendor_capabilities_discount_settings", + "children": [], + "description": "", + "dependency_key": "vendor_capabilities.vendor_capabilities.discount_settings", + "dependencies": [ + { + "key": "vendor_capabilities.vendor_capabilities.discount_order_settings", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "vendor_capabilities.vendor_capabilities.discount_settings" + }, + { + "key": "vendor_capabilities.vendor_capabilities.discount_order_settings", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "vendor_capabilities.vendor_capabilities.discount_settings" + } + ], + "validations": [], + "variant": "multicheck", + "value": { + "order-discount": "Order Discount", + "product-discount": "Product Quantity Discount" + }, + "default": [ + "order-discount", + "product-discount" + ], + "options": [ + { + "value": "order-discount", + "title": "Order Discount" + }, + { + "value": "product-discount", + "title": "Product Quantity Discount" + } + ], + "helper_text": "" + } + ], + "description": "", + "dependency_key": "vendor_capabilities.vendor_capabilities", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure what vendors can do and control within your marketplace.", + "dependency_key": "vendor_capabilities", + "dependencies": [], + "validations": [], + "priority": 300, + "doc_link": "http://localhost:6006/?path=/story/components-settings--dokan-settings&globals=theme:light", + "doc_link_text": "Doc" + }, + { + "id": "single_product_multi_vendor", + "type": "subpage", + "title": "Single Product Multi-Vendor", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_single_product_multi_vendor", + "children": [ + { + "id": "single_product_multi_vendor", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_single_product_multi_vendor_single_product_multi_vendor", + "children": [ + { + "id": "single_product_multiple_vendor", + "type": "field", + "title": "Single Product Multiple Vendor", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_single_product_multi_vendor_single_product_multi_vendor_single_product_multiple_vendor", + "children": [], + "description": "Enable Single Product Multiple Vendor functionality.", + "dependency_key": "single_product_multi_vendor.single_product_multi_vendor.single_product_multiple_vendor", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sell_item_button_text", + "type": "field", + "title": "Sell Item Button Text", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_single_product_multi_vendor_single_product_multi_vendor_sell_item_button_text", + "children": [], + "description": "Change your sell this item button text.", + "dependency_key": "single_product_multi_vendor.single_product_multi_vendor.sell_item_button_text", + "dependencies": [], + "validations": [], + "variant": "text", + "value": "Sell This Item", + "default": "Sell This Item", + "placeholder": "Sell This Item", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "available_vendor_display_area_title", + "type": "field", + "title": "Available Vendor Display Area Title", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_single_product_multi_vendor_single_product_multi_vendor_available_vendor_display_area_title", + "children": [], + "description": "Set your heading for available vendor section in single product page.", + "dependency_key": "single_product_multi_vendor.single_product_multi_vendor.available_vendor_display_area_title", + "dependencies": [], + "validations": [], + "variant": "text", + "value": "Other Available Vendor", + "default": "Other Available Vendor", + "placeholder": "Other Available Vendor", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "available_vendor_section_display_position", + "type": "field", + "title": "Available Vendor Section Display Position", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_single_product_multi_vendor_single_product_multi_vendor_available_vendor_section_display_position", + "children": [], + "description": "Control where customers see the list of available vendors when viewing products sold by multiple vendors.", + "dependency_key": "single_product_multi_vendor.single_product_multi_vendor.available_vendor_section_display_position", + "dependencies": [], + "validations": [], + "variant": "customize_radio", + "value": "below_tabs", + "default": "below_tabs", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "title": "Top of Product Tab", + "value": "below_tabs", + "description": "", + "image": image + }, + { + "title": "Inside Product Tab", + "value": "inside_tabs", + "description": "", + "image": image2 + }, + { + "title": "Bottom of Product Tab", + "value": "after_tabs", + "description": "", + "image": image + } + ], + "radio_variant": "card", + "css_class": "md:!grid-cols-3", + "grid_config": [] + }, + { + "id": "spmv_products_display", + "type": "field", + "title": "SPMV Products Display", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_single_product_multi_vendor_single_product_multi_vendor_spmv_products_display", + "children": [], + "description": "Select option for shown products under SPMV concept. "Show all products" will show all duplicate products.", + "dependency_key": "single_product_multi_vendor.single_product_multi_vendor.spmv_products_display", + "dependencies": [], + "validations": [], + "variant": "select", + "value": "", + "default": "", + "placeholder": "Show all products", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "show_all", + "title": "Show all products" + }, + { + "value": "min_price", + "title": "Min price" + }, + { + "value": "max_price", + "title": "Max price" + }, + { + "value": "top_rated_vendor", + "title": "Top rated vendor" + } + ] + } + ], + "description": "", + "dependency_key": "single_product_multi_vendor.single_product_multi_vendor", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "You can configure your site to allow vendors to sell other vendor's products with desired customizations.", + "dependency_key": "single_product_multi_vendor", + "dependencies": [], + "validations": [], + "priority": 600, + "doc_link": "https://wedevs.com/docs/dokan/vendor-settings/single-product-multi-vendor/", + "doc_link_text": "Doc" + }, + { + "id": "store_state", + "type": "subpage", + "title": "Store Stats", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_store_state", + "children": [ + { + "id": "store_stats_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_store_state_store_stats_section", + "children": [ + { + "id": "analytics_authenticate_user", + "type": "field", + "title": "Google Analytics Authentication", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_store_state_store_stats_section_analytics_authenticate_user", + "children": [], + "description": "Connect your Google Analytics account to track vendor store performance.", + "dependency_key": "store_state.store_stats_section.analytics_authenticate_user", + "dependencies": [], + "validations": [], + "variant": "google_analytics", + "value": { + "connected": false, + "profile_id": "profile_1", + "profiles": [ + { "value": "profile_1", "label": "All Web Site Data" }, + { "value": "profile_2", "label": "Test Profile" } + ], + "disconnect_url": "#", + "auth_url": "#" + }, + "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Google_%22G%22_logo.svg/500px-Google_%22G%22_logo.svg.png" + }, + { + "id": "google_analytics_add_tracking_code", + "type": "field", + "title": "Add Tracking Code", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_store_state_store_stats_section_add_tracking_code", + "children": [], + "description": "This is an optional settings that will add Analytics Global Site Tag in you site header. If you use any SEO plugin or add your tracking code by other means, then choose `no` in the settings.", + "dependency_key": "store_state.store_stats_section.add_tracking_code", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + } + } + ], + "description": "", + "dependency_key": "store_state.store_stats_section", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Set up Google Analytics tracking for vendor stores in your marketplace.", + "dependency_key": "store_state", + "dependencies": [], + "validations": [], + "priority": 500, + "doc_link": "https://wedevs.com/docs/dokan/vendor-settings/store-state/", + "doc_link_text": "Doc" + }, + { + "id": "social_onboarding", + "type": "subpage", + "title": "Social Onboarding", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding", + "children": [ + { + "id": "social_onboarding", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding", + "children": [ + { + "id": "social_login", + "type": "field", + "title": "Social Login", + "icon": "", + "tooltip": "Check this to allow social login/signup for customers and vendors.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_social_login", + "children": [], + "description": "Enabling this will add Social Icons under registration form to allow users to login or register using Social Profiles.", + "dependency_key": "social_onboarding.social_onboarding.social_login", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "facebook_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_facebook_api_group", + "children": [ + { + "id": "facebook_enabled", + "type": "field", + "title": "Connect to Facebook", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_facebook_api_group_facebook_enabled", + "children": [], + "description": "Configure your Facebook API settings. Get Help ", + "dependency_key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "facebook_info", + "type": "field", + "title": "You can successfully connect Facebook with your website.", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_facebook_api_group_facebook_info", + "children": [], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.facebook_api_group.facebook_info", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.facebook_api_group.facebook_info" + }, + { + "key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.facebook_api_group.facebook_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://developers.facebook.com/apps/", + "show_icon": true + }, + { + "id": "facebook_redirect_url", + "type": "field", + "title": "Redirect URL", + "icon": "", + "tooltip": "Your store URL, which will be required in creating the App.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_facebook_api_group_facebook_redirect_url", + "children": [], + "description": "Your store URL, which will be required in creating the App.", + "dependency_key": "social_onboarding.social_onboarding.facebook_api_group.facebook_redirect_url", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.facebook_api_group.facebook_redirect_url" + }, + { + "key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.facebook_api_group.facebook_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_facebook_callback", + "placeholder": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_facebook_callback", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "facebook_app_id", + "type": "field", + "title": "Facebook App ID", + "icon": "", + "tooltip": "You can get it from Facebook Developer platform -> Login -> Select "Add A New App" -> Collect App ID.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_facebook_api_group_facebook_app_id", + "children": [], + "description": "Enter your Facebook App ID from Facebook Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.facebook_api_group.facebook_app_id", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.facebook_api_group.facebook_app_id" + }, + { + "key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.facebook_api_group.facebook_app_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Facebook App ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "facebook_app_secret", + "type": "field", + "title": "Facebook App Secret", + "icon": "", + "tooltip": "You can get it from Facebook Developer platform -> Login -> Select "Add A New App" -> Collect App secret.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_facebook_api_group_facebook_app_secret", + "children": [], + "description": "Enter your Facebook App Secret from Facebook Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.facebook_api_group.facebook_app_secret", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.facebook_api_group.facebook_app_secret" + }, + { + "key": "social_onboarding.social_onboarding.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.facebook_api_group.facebook_app_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Facebook App Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.facebook_api_group", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "==", + "self": "social_onboarding.social_onboarding.facebook_api_group" + }, + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "==", + "self": "social_onboarding.social_onboarding.facebook_api_group" + }, + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.facebook_api_group" + } + ], + "validations": [], + "content_class": "" + }, + { + "id": "x_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_x_api_group", + "children": [ + { + "id": "x_enabled", + "type": "field", + "title": "Connect to X (Twitter)", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_x_api_group_x_enabled", + "children": [], + "description": "Configure your X API settings. Get Help", + "dependency_key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "twitter_info", + "type": "field", + "title": "You can successfully connect Twitter with your website.", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_x_api_group_twitter_info", + "children": [], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.x_api_group.twitter_info", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.x_api_group.twitter_info" + }, + { + "key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.x_api_group.twitter_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://apps.twitter.com/", + "show_icon": true + }, + { + "id": "x_redirect_url", + "type": "field", + "title": "Callback URL ", + "icon": "", + "tooltip": "Your store URL, which will be required in creating the App.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_x_api_group_x_redirect_url", + "children": [], + "description": "The redirect URL for X Login. Copy this URL and add it to your X App settings.", + "dependency_key": "social_onboarding.social_onboarding.x_api_group.x_redirect_url", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.x_api_group.x_redirect_url" + }, + { + "key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.x_api_group.x_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_x_callback", + "placeholder": "", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "x_api_key", + "type": "field", + "title": "Consumer Key", + "icon": "", + "tooltip": "You can get it from Twitter Developer platform -> Login -> Select "Create an App" -> Input URL & integrate X with Dokan. Go to "Keys and Tokens" -> View Keys -> Collect API key and use as Consumer Key", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_x_api_group_x_api_key", + "children": [], + "description": "Enter your X API Key from X Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.x_api_group.x_api_key", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.x_api_group.x_api_key" + }, + { + "key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.x_api_group.x_api_key" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your X API Key", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "x_api_secret", + "type": "field", + "title": "Consumer Secret", + "icon": "", + "tooltip": "You can get it from Twitter Developer platform -> Login -> Select "Create an App" -> Input URL & integrate X with Dokan. Go to "Keys and Tokens" -> View Keys -> Collect API secret and use as Consumer secret.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_x_api_group_x_api_secret", + "children": [], + "description": "Enter your X API Secret from X Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.x_api_group.x_api_secret", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.x_api_group.x_api_secret" + }, + { + "key": "social_onboarding.social_onboarding.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.x_api_group.x_api_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your X API Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.x_api_group", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "==", + "self": "social_onboarding.social_onboarding.x_api_group" + }, + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "==", + "self": "social_onboarding.social_onboarding.x_api_group" + } + ], + "validations": [], + "content_class": "" + }, + { + "id": "google_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_google_api_group", + "children": [ + { + "id": "google_enabled", + "type": "field", + "title": "Connect to Google", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_google_api_group_google_enabled", + "children": [], + "description": "Configure your Google API settings. Get Help", + "dependency_key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "google_info", + "type": "field", + "title": "You can successfully connect to your Google account with your website.", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_google_api_group_google_info", + "children": [], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.google_api_group.google_info", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.google_api_group.google_info" + }, + { + "key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.google_api_group.google_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://console.developers.google.com/project", + "show_icon": true + }, + { + "id": "google_redirect_url", + "type": "field", + "title": "Redirect URL", + "icon": "", + "tooltip": "Your store URL, which will be required in syncing with Google API.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_google_api_group_google_redirect_url", + "children": [], + "description": "The redirect URL for Google Login. Copy this URL and add it to your Google OAuth settings.", + "dependency_key": "social_onboarding.social_onboarding.google_api_group.google_redirect_url", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.google_api_group.google_redirect_url" + }, + { + "key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.google_api_group.google_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_google_callback", + "placeholder": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_google_callback", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "google_client_id", + "type": "field", + "title": "Google Client ID", + "icon": "", + "tooltip": "You can get it from Google Console Platform -> Google+API -> Enable -> Manage -> Credentials -> Create Credentials -> OAuth client ID -> Web Application -> Fill in the information & click Create. A pop up will show "Client ID".", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_google_api_group_google_client_id", + "children": [], + "description": "Enter your Google Client ID from Google Cloud Console.", + "dependency_key": "social_onboarding.social_onboarding.google_api_group.google_client_id", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.google_api_group.google_client_id" + }, + { + "key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.google_api_group.google_client_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Google Client ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "google_client_secret", + "type": "field", + "title": "Google Client Secret", + "icon": "", + "tooltip": "You can get it from Google Console Platform -> Google+API -> Enable -> Manage -> Credentials -> Create Credentials -> OAuth client ID -> Web Application -> Fill in the information & click Create. A pop up will show "Client Credentials".", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_google_api_group_google_client_secret", + "children": [], + "description": "Enter your Google Client Secret from Google Cloud Console.", + "dependency_key": "social_onboarding.social_onboarding.google_api_group.google_client_secret", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.google_api_group.google_client_secret" + }, + { + "key": "social_onboarding.social_onboarding.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.google_api_group.google_client_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Google Client Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.google_api_group", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.google_api_group" + }, + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.google_api_group" + } + ], + "validations": [], + "content_class": "" + }, + { + "id": "linkedin_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_linkedin_api_group", + "children": [ + { + "id": "linkedin_enabled", + "type": "field", + "title": "Connect to LinkedIn", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_linkedin_api_group_linkedin_enabled", + "children": [], + "description": "Configure your LinkedIn API settings. Get Help", + "dependency_key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "linkedin_info", + "type": "field", + "title": "You can successfully connect LinkedIn with your website.", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_linkedin_api_group_linkedin_info", + "children": [], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_info", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_info" + }, + { + "key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://www.linkedin.com/developer/apps", + "show_icon": true + }, + { + "id": "linkedin_redirect_url", + "type": "field", + "title": "Redirect URL", + "icon": "", + "tooltip": "Your store URL, which will be required in creating the App.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_linkedin_api_group_linkedin_redirect_url", + "children": [], + "description": "The redirect URL for LinkedIn Login. Copy this URL and add it to your LinkedIn App settings.", + "dependency_key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_redirect_url", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_redirect_url" + }, + { + "key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_linkedin_callback", + "placeholder": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_linkedin_callback", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "linkedin_client_id", + "type": "field", + "title": "LinkedIn Client ID", + "icon": "", + "tooltip": "You can get it from LinkedIn Developers platform -> Create an App -> Fill necessary info -> Click "Create app" -> "Auth" section -> Collect Client ID.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_linkedin_api_group_linkedin_client_id", + "children": [], + "description": "Enter your LinkedIn Client ID from LinkedIn Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_client_id", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_client_id" + }, + { + "key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_client_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your LinkedIn Client ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "linkedin_client_secret", + "type": "field", + "title": "LinkedIn Client Secret", + "icon": "", + "tooltip": "You can get it from LinkedIn Developers platform -> Create an App -> Fill necessary info -> Click "Create app" -> "Auth" section -> Collect Client Secret.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_linkedin_api_group_linkedin_client_secret", + "children": [], + "description": "Enter your LinkedIn Client Secret from LinkedIn Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_client_secret", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_client_secret" + }, + { + "key": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.linkedin_api_group.linkedin_client_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your LinkedIn Client Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.linkedin_api_group", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.linkedin_api_group" + }, + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.linkedin_api_group" + } + ], + "validations": [], + "content_class": "" + }, + { + "id": "apple_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_apple_api_group", + "children": [ + { + "id": "apple_enabled", + "type": "field", + "title": "Connect to Apple", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_apple_api_group_apple_enabled", + "children": [], + "description": "Configure your Apple API settings. Get Help", + "dependency_key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "apple_info", + "type": "field", + "title": "You can successfully connect your Apple account with your website.", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_apple_api_group_apple_info", + "children": [], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.apple_api_group.apple_info", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_info" + }, + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://appleid.apple.com/", + "show_icon": true + }, + { + "id": "apple_redirect_url", + "type": "field", + "title": "Redirect URL", + "icon": "", + "tooltip": "Your store URL, which will be required in creating the app.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_apple_api_group_apple_redirect_url", + "children": [], + "description": "The redirect URL for Apple Sign In. Copy this URL and add it to your Apple Developer account.", + "dependency_key": "social_onboarding.social_onboarding.apple_api_group.apple_redirect_url", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_redirect_url" + }, + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_apple_callback", + "placeholder": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_apple_callback", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "apple_service_id", + "type": "field", + "title": "Apple Service ID", + "icon": "", + "tooltip": "You can get it from Apple Developer platform -> login -> Certificates, IDs & Profiles -> Indentifiers -> Service IDs (drop down) -> Register for Service ID -> Collect Service ID.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_apple_api_group_apple_service_id", + "children": [], + "description": "Enter your Apple Service ID from Apple Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.apple_api_group.apple_service_id", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_service_id" + }, + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_service_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Apple Service ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "apple_team_id", + "type": "field", + "title": "Apple Team ID", + "icon": "", + "tooltip": "You can get it from Apple Developer platform -> login -> Membership -> Collect Team ID.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_apple_api_group_apple_team_id", + "children": [], + "description": "Enter your Apple Team ID from Apple Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.apple_api_group.apple_team_id", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_team_id" + }, + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_team_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Apple Team ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "apple_key_id", + "type": "field", + "title": "Apple Key ID", + "icon": "", + "tooltip": "You can get it from Apple Developer platform -> login -> Certificates, IDs & Profiles -> Keys -> Click " + " -> Register for new Key -> Download "Apple Key Content" -> Collect Key ID.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_apple_api_group_apple_key_id", + "children": [], + "description": "Enter your Apple Key ID from Apple Developer Console.", + "dependency_key": "social_onboarding.social_onboarding.apple_api_group.apple_key_id", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_key_id" + }, + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_key_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Apple Key ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "apple_key_content", + "type": "field", + "title": "Apple Key Content", + "icon": "", + "tooltip": "You can get it from Apple Developer platform -> login -> Certificates, IDs & Profiles -> Keys -> Click " + " -> Register for new Key -> Download "Apple Key Content" -> Collect Key Content.", + "display": true, + "hook_key": "dokan_settings_vendor_social_onboarding_social_onboarding_apple_api_group_apple_key_content", + "children": [], + "description": "Paste your Apple private key content including BEGIN and END lines.", + "dependency_key": "social_onboarding.social_onboarding.apple_api_group.apple_key_content", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_key_content" + }, + { + "key": "social_onboarding.social_onboarding.apple_api_group.apple_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.apple_api_group.apple_key_content" + } + ], + "validations": [], + "variant": "textarea", + "value": "", + "default": "", + "placeholder": "Write here", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "social_onboarding.social_onboarding.apple_api_group", + "dependencies": [ + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "social_onboarding.social_onboarding.apple_api_group" + }, + { + "key": "social_onboarding.social_onboarding.social_login", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "social_onboarding.social_onboarding.apple_api_group" + } + ], + "validations": [], + "content_class": "" + } + ], + "description": "", + "dependency_key": "social_onboarding.social_onboarding", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Define settings to allow vendors to use their social profiles to register or log in to the marketplace.", + "dependency_key": "social_onboarding", + "dependencies": [], + "validations": [], + "priority": 200, + "doc_link": "https://dokan.co/docs/wordpress/settings/dokan-social-login/", + "doc_link_text": "Doc" + }, + { + "id": "vendor_subscription", + "type": "subpage", + "title": "Vendor Subscription", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription", + "children": [ + { + "id": "vendor_subscription", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription", + "children": [ + { + "id": "vendor_subscription", + "type": "field", + "title": "Vendor Subscription", + "icon": "", + "tooltip": "Allow vendors to purchase subscription packages to sell products in your marketplace", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_vendor_subscription", + "children": [], + "description": "Allow vendors to purchase subscription packages to sell products in your marketplace", + "dependency_key": "vendor_subscription.vendor_subscription.vendor_subscription", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "subscription_view_page", + "type": "field", + "title": "Subscription View Page", + "icon": "", + "tooltip": "Select the page where vendors can view and purchase available subscription plans.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_subscription_view_page", + "children": [], + "description": "Select the page where vendors can view and purchase available subscription plans.", + "dependency_key": "vendor_subscription.vendor_subscription.subscription_view_page", + "dependencies": [], + "validations": [], + "variant": "select", + "value": "61", + "default": "", + "placeholder": "Sample Page", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": 582, + "title": "Classic Cart" + }, + { + "value": 329, + "title": "" + }, + { + "value": 320, + "title": "Single Product" + }, + { + "value": 316, + "title": "Block Shop" + }, + { + "value": 106, + "title": "Vendor registration" + }, + { + "value": 61, + "title": "Product Subscription" + }, + { + "value": 60, + "title": "Request for Quote" + }, + { + "value": 54, + "title": "Checkout 2" + }, + { + "value": 222, + "title": "My account Bn" + }, + { + "value": 219, + "title": "My account" + }, + { + "value": 13, + "title": "My account" + }, + { + "value": 12, + "title": "Checkout" + }, + { + "value": 11, + "title": "Cart" + }, + { + "value": 10, + "title": "Shop" + }, + { + "value": 194, + "title": "test-board" + }, + { + "value": 8, + "title": "My Orders" + }, + { + "value": 7, + "title": "Store List" + }, + { + "value": 6, + "title": "Dashboard" + }, + { + "value": 2, + "title": "Sample Page" + } + ] + }, + { + "id": "subscription_in_registration", + "type": "field", + "title": "Subscription in Registration Form", + "icon": "", + "tooltip": "If checked, vendor completes registration only after subscribing to a pack", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_subscription_in_registration", + "children": [], + "description": "Enable subscription pack in registration form for new vendor.", + "dependency_key": "vendor_subscription.vendor_subscription.subscription_in_registration", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "email_alert_before_expiry", + "type": "field", + "title": "Email Notification for Expiry Alerts", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_email_alert_before_expiry", + "children": [], + "description": "Send automatic email reminders to vendors before their subscription expires.", + "dependency_key": "vendor_subscription.vendor_subscription.subscription_in_registration", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "alert_days_before_expiry", + "type": "field", + "title": "Alert Days Before Expiry", + "icon": "", + "tooltip": "Number of days before subscription expires to send the reminder email.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_alert_days_before_expiry", + "children": [], + "description": "Number of days before subscription expires to send the reminder email.", + "dependency_key": "vendor_subscription.vendor_subscription.alert_days_before_expiry", + "dependencies": [], + "validations": [], + "variant": "number", + "value": 10, + "default": "10", + "placeholder": "10", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "Days", + "prefix": "", + "image_url": "", + "minimum": null, + "maximum": null, + "step": 0.1, + "addon_icon": false + }, + { + "id": "products_status_on_expiry", + "type": "field", + "title": "Products Status on Expiry", + "icon": "", + "tooltip": "What happens to vendor's products when their subscription expires", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_products_status_on_expiry", + "children": [], + "description": "What happens to vendor's products when their subscription expires", + "dependency_key": "vendor_subscription.vendor_subscription.products_status_on_expiry", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "draft", + "default": "draft", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "draft", + "title": "Draft", + "icon": "" + }, + { + "value": "publish", + "title": "Published", + "icon": "" + }, + { + "value": "pending", + "title": "Pending Review", + "icon": "" + } + ] + }, + { + "id": "cancelling_email_subject", + "type": "field", + "title": "Cancelling Email Subject", + "icon": "", + "tooltip": "Enter subject text for canceled subscriptions email notification.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_cancelling_email_subject", + "children": [], + "description": "Enter subject text for canceled subscriptions email notification.", + "dependency_key": "vendor_subscription.vendor_subscription.cancelling_email_subject", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "Subscription Package Cancel notification.", + "default": "Subscription Package Cancel notification.", + "placeholder": "Enter subject text", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "cancelling_email_body", + "type": "field", + "title": "Cancelling Email Body", + "icon": "", + "tooltip": "Enter body text for canceled subscriptions email notification.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_cancelling_email_body", + "children": [], + "description": "Enter body text for canceled subscriptions email notification.", + "dependency_key": "vendor_subscription.vendor_subscription.cancelling_email_body", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "Dear subscriber, Your subscription has expired. Please renew your package to continue using it.", + "default": "Dear subscriber, Your subscription has expired. Please renew your package to continue using it.", + "placeholder": "Enter body text", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "alert_email_subject", + "type": "field", + "title": "Alert Email Subject", + "icon": "", + "tooltip": "Enter subject text for package end notification alert email", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_alert_email_subject", + "children": [], + "description": "Enter subject text for package end notification alert email", + "dependency_key": "vendor_subscription.vendor_subscription.alert_email_subject", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "Subscription Ending Soon", + "default": "Subscription Ending Soon", + "placeholder": "Enter subject text", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "alert_email_body", + "type": "field", + "title": "Alert Email body", + "icon": "", + "tooltip": "Enter body text for package end notification alert email.", + "display": true, + "hook_key": "dokan_settings_vendor_vendor_subscription_vendor_subscription_alert_email_body", + "children": [], + "description": "Enter body text for package end notification alert email.", + "dependency_key": "vendor_subscription.vendor_subscription.alert_email_body", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "Dear subscriber, Your subscription will be ending soon. Please renew your package in a timely manner for continued usage.", + "default": "Dear subscriber, Your subscription will be ending soon. Please renew your package in a timely manner for continued usage.", + "placeholder": "Enter body text", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "vendor_subscription.vendor_subscription", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure marketplace settings to authorize vendors to create subscription products for their stores.", + "dependency_key": "vendor_subscription", + "dependencies": [], + "validations": [], + "priority": 400, + "doc_link": "https://wedevs.com/docs/dokan/vendor-settings/vendor-subscription/", + "doc_link_text": "Doc" + } + ], + "description": "Configure vendor-related settings and capabilities.", + "dependency_key": "", + "dependencies": [], + "validations": [] + }, + { + "id": "verification", + "type": "page", + "title": "Vendor Verification", + "icon": "Shield", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification", + "children": [ + { + "id": "email-verification-page", + "type": "subpage", + "title": "Email Verification", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_email-verification-page", + "children": [ + { + "id": "email-verification-content", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_email-verification-page_email-verification-content", + "children": [ + { + "id": "enabled", + "type": "field", + "title": "Email Verification", + "icon": "", + "tooltip": "Check this if you want user to verify their email address upon registration.", + "display": true, + "hook_key": "dokan_settings_verification_email-verification-page_email-verification-content_enabled", + "children": [], + "description": "Enabling this will send a verification email to allow users to verify their email address after the registration form is submitted.", + "dependency_key": "email-verification-page.email-verification-content.enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "registration_notice", + "type": "field", + "title": "Registration Notice", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_email-verification-page_email-verification-content_registration_notice", + "children": [], + "description": "This notice will be shown after a user has registered with pending email verification.", + "dependency_key": "email-verification-page.email-verification-content.registration_notice", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "We have sent a verification link to your email. Please check your inbox to activate your account", + "default": "We have sent a verification link to your email. Please check your inbox to activate your account", + "placeholder": "Enter the notice text to display after registration...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "login_notice", + "type": "field", + "title": "Login Notice", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_email-verification-page_email-verification-content_login_notice", + "children": [], + "description": "This notice will be shown after a user has registered with pending email verification.", + "dependency_key": "email-verification-page.email-verification-content.login_notice", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "Your email address needs verification. Please check your email and click the verification link.", + "default": "Your email address needs verification. Please check your email and click the verification link.", + "placeholder": "Enter the notice text to display during login...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "email-verification-page.email-verification-content", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Manage email verification requirements for user accounts.", + "dependency_key": "email-verification-page", + "dependencies": [], + "validations": [], + "priority": 200, + "doc_link": "" + }, + { + "id": "vendor-verification-page", + "type": "subpage", + "title": "Vendor Verification", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_vendor-verification-page", + "children": [ + { + "id": "verified-icons", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_vendor-verification-page_verified-icons", + "children": [ + { + "id": "verified_icon", + "type": "field", + "title": "Verified Icons", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_vendor-verification-page_verified-icons_verified_icon", + "children": [], + "description": "Choose your preferred icon for verified stores in the marketplace.", + "dependency_key": "vendor-verification-page.verified-icons.verified_icon", + "dependencies": [], + "validations": [], + "variant": "select", + "value": "check_circle_solid", + "default": "check_circle_solid", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "check_circle_solid", + "title": "Icon 1", + "icon_name": "CircleCheckBig" + }, + { + "value": "check_circle_regular", + "title": "Icon 2", + "icon_name": "CircleCheck" + }, + { + "value": "check_solid", + "title": "Icon 3", + "icon_name": "Check" + }, + { + "value": "check_double_solid", + "title": "Icon 4", + "icon_name": "CheckCheck" + }, + { + "value": "check_square_solid", + "title": "Icon 5", + "icon_name": "SquareCheckBig" + }, + { + "value": "check_squire_regular", + "title": "Icon 6", + "icon_name": "SquareCheck" + }, + { + "value": "user_check_solid", + "title": "Icon 7", + "icon_name": "UserCheck" + }, + { + "value": "certificate_solid", + "title": "Icon 8", + "icon_name": "BadgeCheck" + } + ] + } + ], + "description": "", + "dependency_key": "vendor-verification-page.verified-icons", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "verification-methods", + "type": "section", + "title": "Verification Methods", + "icon": "", + "tooltip": "Manage the verification methods vendors can use.", + "display": true, + "hook_key": "dokan_settings_verification_vendor-verification-page_verification-methods", + "children": [ + { + "id": "verification_methods_list", + "type": "field", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_vendor-verification-page_verification-methods_verification_methods_list", + "children": [], + "description": "", + "dependency_key": "vendor-verification-page.verification-methods.verification_methods_list", + "dependencies": [], + "validations": [], + "variant": "verification_methods", + "value": [], + "api_endpoint": "dokan/v1/verification-methods" + } + ], + "description": "Manage the verification methods vendors can use.", + "dependency_key": "vendor-verification-page.verification-methods", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "You can authenticate your vendors by authorizing vendors to connect their social profiles to their storefront.", + "dependency_key": "vendor-verification-page", + "dependencies": [], + "validations": [], + "priority": 100, + "doc_link": "" + }, + { + "id": "sms-gateways-page", + "type": "subpage", + "title": "Verification SMS Gateways", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page", + "children": [ + { + "id": "sms-provider", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider", + "children": [ + { + "id": "sms_provider", + "type": "field", + "title": "SMS Provider", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_sms_provider", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.sms_provider", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "twilio", + "default": "twilio", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "twilio", + "title": "Twilio", + "icon": "" + }, + { + "value": "nexmo", + "title": "Vonage", + "icon": "" + } + ] + }, + { + "id": "twilio_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_twilio_api_group", + "children": [ + { + "id": "connect_to_twilio", + "type": "field", + "title": "Connect to Twilio", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_twilio_api_group_connect_to_twilio", + "children": [], + "description": "Connect to your Twilio account with your website.", + "dependency_key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://e7.pngegg.com/pngimages/122/431/png-clipart-round-red-button-illustration-twilio-logo-icons-logos-emojis-tech-companies-thumbnail.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Connected" + }, + "disable_state": { + "value": "off", + "title": "Disconnected" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "twilio_info", + "type": "field", + "title": "Configure your gateway from the link and fill the details below.", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_twilio_api_group_twilio_info", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.twilio_api_group.twilio_info", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.twilio_api_group.twilio_info" + }, + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.twilio_api_group.twilio_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "Link", + "link_url": "https://www.twilio.com", + "show_icon": true + }, + { + "id": "from_number", + "type": "field", + "title": "From Number", + "icon": "", + "tooltip": "The phone number that will appear as the sender of SMS messages.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_twilio_api_group_from_number", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.twilio_api_group.from_number", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.twilio_api_group.from_number" + }, + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.twilio_api_group.from_number" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Twilio phone number...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "account_sid", + "type": "field", + "title": "Account SID", + "icon": "", + "tooltip": "Your Twilio Account SID from the Twilio Console.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_twilio_api_group_account_sid", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.twilio_api_group.account_sid", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.twilio_api_group.account_sid" + }, + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.twilio_api_group.account_sid" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Account SID...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "auth_token", + "type": "field", + "title": "Auth Token", + "icon": "", + "tooltip": "Your Twilio Auth Token from the Twilio Console.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_twilio_api_group_auth_token", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.twilio_api_group.auth_token", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.twilio_api_group.auth_token" + }, + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.twilio_api_group.auth_token" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Auth Token...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "sms_code_type", + "type": "field", + "title": "SMS Code Type", + "icon": "", + "tooltip": "Choose the type of verification code to send via SMS.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_twilio_api_group_sms_code_type", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.twilio_api_group.sms_code_type", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.twilio_api_group.sms_code_type" + }, + { + "key": "sms-gateways-page.sms-provider.twilio_api_group.connect_to_twilio", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.twilio_api_group.sms_code_type" + } + ], + "validations": [], + "variant": "radio_capsule", + "value": "numeric", + "default": "numeric", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "numeric", + "title": "Numeric", + "icon": "" + }, + { + "value": "alphanumeric", + "title": "Alphanumeric", + "icon": "" + } + ] + } + ], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.twilio_api_group", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.sms_provider", + "value": "twilio", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.twilio_api_group" + }, + { + "key": "sms-gateways-page.sms-provider.sms_provider", + "value": "twilio", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.twilio_api_group" + } + ], + "validations": [], + "content_class": "" + }, + { + "id": "vonage_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_vonage_api_group", + "children": [ + { + "id": "connect_to_vonage", + "type": "field", + "title": "Connect to Vonage", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_vonage_api_group_connect_to_vonage", + "children": [], + "description": "Connect to your Vonage account with your website.", + "dependency_key": "sms-gateways-page.sms-provider.vonage_api_group.connect_to_vonage", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://core-dokan.test/wp-content/plugins/dokan-lite/assets/images/admin-settings-icons/verification/vonage_logo_icon.svg", + "options": [], + "enable_state": { + "value": "on", + "title": "Connected" + }, + "disable_state": { + "value": "off", + "title": "Disconnected" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "vonage_info", + "type": "field", + "title": "Configure your gateway from the link and fill the details below.", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_vonage_api_group_vonage_info", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.vonage_api_group.vonage_info", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.vonage_api_group.connect_to_vonage", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.vonage_api_group.vonage_info" + }, + { + "key": "sms-gateways-page.sms-provider.vonage_api_group.connect_to_vonage", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.vonage_api_group.vonage_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "Link", + "link_url": "https://www.vonage.com", + "show_icon": true + }, + { + "id": "nexmo_username", + "type": "field", + "title": "API Key", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_vonage_api_group_nexmo_username", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.vonage_api_group.nexmo_username", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.vonage_api_group.connect_to_vonage", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.vonage_api_group.nexmo_username" + }, + { + "key": "sms-gateways-page.sms-provider.vonage_api_group.connect_to_vonage", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.vonage_api_group.nexmo_username" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Vonage API Key...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "nexmo_pass", + "type": "field", + "title": "API Secret", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sms-provider_vonage_api_group_nexmo_pass", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.vonage_api_group.nexmo_pass", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.vonage_api_group.connect_to_vonage", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.vonage_api_group.nexmo_pass" + }, + { + "key": "sms-gateways-page.sms-provider.vonage_api_group.connect_to_vonage", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.vonage_api_group.nexmo_pass" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Vonage API Secret...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider.vonage_api_group", + "dependencies": [ + { + "key": "sms-gateways-page.sms-provider.sms_provider", + "value": "nexmo", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "sms-gateways-page.sms-provider.vonage_api_group" + }, + { + "key": "sms-gateways-page.sms-provider.sms_provider", + "value": "nexmo", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "sms-gateways-page.sms-provider.vonage_api_group" + } + ], + "validations": [], + "content_class": "" + } + ], + "description": "", + "dependency_key": "sms-gateways-page.sms-provider", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "sender", + "type": "section", + "title": "Sender", + "icon": "", + "tooltip": "Configure sender information and SMS message templates.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sender", + "children": [ + { + "id": "sender_name", + "type": "field", + "title": "Sender Name", + "icon": "", + "tooltip": "The name that will appear as the sender of SMS messages.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sender_sender_name", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sender.sender_name", + "dependencies": [], + "validations": [], + "variant": "text", + "value": "Market Team", + "default": "Market Team", + "placeholder": "Enter sender name...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "sms_text", + "type": "field", + "title": "SMS Text", + "icon": "", + "tooltip": "This will be displayed in SMS. %CODE% will be replaced by verification code.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sender_sms_text", + "children": [], + "description": "This will be displayed in SMS. %CODE% will be replaced by verification code.", + "dependency_key": "sms-gateways-page.sender.sms_text", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "Your verification code is: %CODE%", + "default": "Your verification code is: %CODE%", + "placeholder": "Enter SMS message template...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "sms_sent_success", + "type": "field", + "title": "SMS Sent Success", + "icon": "", + "tooltip": "Message to display when SMS is sent successfully.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sender_sms_sent_success", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sender.sms_sent_success", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "SMS sent. Please enter your verification code", + "default": "SMS sent. Please enter your verification code", + "placeholder": "Enter success message...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "sms_sent_error", + "type": "field", + "title": "SMS Sent Error", + "icon": "", + "tooltip": "Message to display when SMS sending fails.", + "display": true, + "hook_key": "dokan_settings_verification_sms-gateways-page_sender_sms_sent_error", + "children": [], + "description": "", + "dependency_key": "sms-gateways-page.sender.sms_sent_error", + "dependencies": [], + "validations": [], + "variant": "textarea", + "value": "Unable to send sms. Contact admin", + "default": "Unable to send sms. Contact admin", + "placeholder": "Enter error message...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "sms-gateways-page.sender", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure SMS gateway settings for vendor verification.", + "dependency_key": "sms-gateways-page", + "dependencies": [], + "validations": [], + "priority": 300, + "doc_link": "" + } + ], + "description": "", + "dependency_key": "", + "dependencies": [], + "validations": [] + }, + { + "id": "transaction", + "type": "page", + "title": "Transaction", + "icon": "ArrowRightLeft", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction", + "children": [ + { + "id": "commission", + "type": "subpage", + "title": "Commissions", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_commission", + "children": [ + { + "id": "commission", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_commission_commission", + "children": [ + { + "id": "commission_type", + "type": "field", + "title": "Commission Type", + "icon": "", + "tooltip": "Select a commission type", + "display": true, + "hook_key": "dokan_settings_transaction_commission_commission_commission_type", + "children": [], + "description": "Select a commission type for your marketplace", + "dependency_key": "commission.commission.commission_type", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "fixed", + "default": "fixed", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "fixed", + "title": "Fixed", + "startIcon": "User" + }, + { + "value": "category_based", + "title": "Category Based", + "startIcon": "Users" + } + ] + }, + { + "id": "admin_commission", + "type": "field", + "title": "Admin Commission", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_commission_commission_admin_commission", + "children": [], + "description": "Amount you will get from sales in both percentage and fixed fee", + "dependency_key": "commission.commission.admin_commission", + "dependencies": [ + { + "key": "commission.commission.commission_type", + "value": "fixed", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "commission.commission.admin_commission" + }, + { + "key": "commission.commission.commission_type", + "value": "fixed", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "commission.commission.admin_commission" + } + ], + "validations": [ + { + "rules": "not_empty", + "message": "Both percentage and fixed fee is required.", + "params": [], + "self": "commission.commission.admin_commission" + } + ], + "variant": "combine_input", + "value": { + "additional_fee": "20", + "admin_percentage": "0" + }, + "additional_fee": "20", + "admin_percentage": "0", + "is_automated": false + }, + { + "id": "reset_sub_category_when_edit_all_category", + "type": "field", + "title": "Apply Parent Category Commission to All Subcategories", + "icon": "", + "tooltip": "When enabled, changing a parent category's commission rate will automatically update all its subcategories. Disable this option to maintain independent commission rates for subcategories", + "display": true, + "hook_key": "dokan_settings_transaction_commission_commission_reset_sub_category_when_edit_all_category", + "children": [], + "description": "Important: 'All Categories' commission serves as your marketplace's default rate and cannot be empty. If 0 is given in value, then the marketplace will deduct no commission from vendors", + "dependency_key": "commission.commission.reset_sub_category_when_edit_all_category", + "dependencies": [ + { + "key": "commission.commission.commission_type", + "value": "category_based", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "commission.commission.reset_sub_category_when_edit_all_category" + }, + { + "key": "commission.commission.commission_type", + "value": "category_based", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "commission.commission.reset_sub_category_when_edit_all_category" + } + ], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "commission_category_based_values", + "type": "field", + "title": "Admin Commission", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_commission_commission_commission_category_based_values", + "children": [], + "description": "Amount you will get from each sale", + "dependency_key": "commission.commission.commission_category_based_values", + "dependencies": [ + { + "key": "commission.commission.commission_type", + "value": "category_based", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "commission.commission.commission_category_based_values" + }, + { + "key": "commission.commission.commission_type", + "value": "category_based", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "commission.commission.commission_category_based_values" + }, + { + "key": "commission.commission.reset_sub_category_when_edit_all_category", + "value": "on", + "to_self": true, + "attribute": "custom", + "effect": "custom", + "comparison": "===", + "self": "commission.commission.commission_category_based_values" + }, + { + "key": "commission.commission.reset_sub_category_when_edit_all_category", + "value": "off", + "to_self": true, + "attribute": "custom", + "effect": "custom", + "comparison": "===", + "self": "commission.commission.commission_category_based_values" + } + ], + "validations": [ + { + "rules": "not_empty", + "message": "Both percentage and fixed fee is required.", + "params": [], + "self": "commission.commission.commission_category_based_values" + } + ], + "variant": "category_based_commission", + "value": { + "all": { + "flat": "4", + "percentage": "2" + }, + "items": { + "15": { + "flat": "5", + "percentage": "3" + } + } + }, + "categories": { + "15": { + "term_id": 15, + "name": "Uncategorized", + "parent_id": 0, + "children": [], + "parents": [], + "breadcumb": [ "Uncategorized" ] + }, + "32": { + "term_id": 32, + "name": "Cate 1", + "parent_id": 0, + "children": [], + "parents": [], + "breadcumb": [ "Cate 1" ] + } + }, + "reset_subcategory": "off" + } + ], + "description": "", + "dependency_key": "commission.commission", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Set up marketplace commission structure and earnings from vendor sales.", + "dependency_key": "commission", + "dependencies": [], + "validations": [], + "priority": 200, + "doc_link": "" + }, + { + "id": "fees", + "type": "subpage", + "title": "Fees", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_fees", + "children": [ + { + "id": "fees", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_fees_fees", + "children": [ + { + "id": "shipping_fee", + "type": "field", + "title": "Shipping Fee", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_fees_fees_shipping_fee", + "children": [], + "description": "Who will be receiving the shipping fees? Note that, tax fees for corresponding shipping method will not be included with shipping fees.", + "dependency_key": "fees.fees.shipping_fee", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "seller", + "default": "seller", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "seller", + "title": "Vendor", + "startIcon": "Users" + }, + { + "value": "admin", + "title": "Admin", + "startIcon": "User" + } + ] + }, + { + "id": "product_tax_fee", + "type": "field", + "title": "Product Tax Fee", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_fees_fees_product_tax_fee", + "children": [], + "description": "Who will be receiving the tax fees for products? Note that, shipping tax fees will not be included with product tax.", + "dependency_key": "fees.fees.product_tax_fee", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "seller", + "default": "seller", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "seller", + "title": "Vendor", + "startIcon": "Users" + }, + { + "value": "admin", + "title": "Admin", + "startIcon": "User" + } + ] + }, + { + "id": "shipping_tax_fee", + "type": "field", + "title": "Shipping Tax Fee", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_fees_fees_shipping_tax_fee", + "children": [], + "description": "Who will be receiving the tax fees for shipping?", + "dependency_key": "fees.fees.shipping_tax_fee", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "seller", + "default": "seller", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "seller", + "title": "Vendor", + "startIcon": "Users" + }, + { + "value": "admin", + "title": "Admin", + "startIcon": "User" + } + ] + } + ], + "description": "", + "dependency_key": "fees.fees", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure how different types of fees are distributed between vendors and admin", + "dependency_key": "fees", + "dependencies": [], + "validations": [], + "priority": 100, + "doc_link": "" + }, + { + "id": "withdraw_charge", + "type": "subpage", + "title": "Withdraw", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge", + "children": [ + { + "id": "section_withdraw_charge", + "type": "section", + "title": "Withdraw Methods and Charges", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge", + "children": [ + { + "id": "withdraw_methods_group_paypal", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paypal", + "children": [ + { + "id": "paypal_withdraw", + "type": "field", + "title": "PayPal", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paypal_paypal_withdraw", + "children": [], + "description": "Enable PayPal as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal.paypal_withdraw", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2018/05/08/21/29/paypal-3384015_1280.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "paypal_withdraw_charges", + "type": "field", + "title": "Withdraw charges", + "icon": "", + "tooltip": "Set withdrawal charges for PayPal method.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paypal_paypal_withdraw_charges", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal.paypal_withdraw_charges", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal.paypal_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal.paypal_withdraw_charges" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal.paypal_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal.paypal_withdraw_charges" + } + ], + "validations": [ + { + "rules": "not_empty", + "message": "Both percentage and fixed fee is required.", + "params": [], + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal.paypal_withdraw_charges" + } + ], + "variant": "combine_input", + "value": { + "additional_fee": "0.00", + "admin_percentage": "0.00" + }, + "additional_fee": "0.00", + "admin_percentage": "0.00", + "is_automated": false + } + ], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "withdraw_methods_group_bank", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_bank", + "children": [ + { + "id": "bank_transfer_withdraw", + "type": "field", + "title": "Bank Transfer", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_bank_bank_transfer_withdraw", + "children": [], + "description": "Enable Bank Transfer as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_bank.bank_transfer_withdraw", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2018/05/08/21/29/paypal-3384015_1280.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "bank_transfer_withdraw_charges", + "type": "field", + "title": "Withdraw charges", + "icon": "", + "tooltip": "Set withdrawal charges for Bank Transfer method.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_bank_bank_transfer_withdraw_charges", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_bank.bank_transfer_withdraw_charges", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_bank.bank_transfer_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_bank.bank_transfer_withdraw_charges" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_bank.bank_transfer_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_bank.bank_transfer_withdraw_charges" + } + ], + "validations": [ + { + "rules": "not_empty", + "message": "Both percentage and fixed fee is required.", + "params": [], + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_bank.bank_transfer_withdraw_charges" + } + ], + "variant": "combine_input", + "value": { + "additional_fee": "0.00", + "admin_percentage": "0.00" + }, + "additional_fee": "0.00", + "admin_percentage": "0.00", + "is_automated": false + } + ], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_bank", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "withdraw_methods_group_paypal_marketplace", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paypal_marketplace", + "children": [ + { + "id": "paypal_marketplace_withdraw", + "type": "field", + "title": "PayPal Marketplace", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paypal_marketplace_paypal_marketplace_withdraw", + "children": [], + "description": "Enable PayPal Marketplace as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal_marketplace.paypal_marketplace_withdraw", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2018/05/08/21/29/paypal-3384015_1280.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "paypal_marketplace_withdraw_charges", + "type": "field", + "title": "Withdraw charges", + "icon": "", + "tooltip": "Set withdrawal charges for PayPal Marketplace method.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paypal_marketplace_paypal_marketplace_withdraw_charges", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal_marketplace.paypal_marketplace_withdraw_charges", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal_marketplace.paypal_marketplace_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal_marketplace.paypal_marketplace_withdraw_charges" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal_marketplace.paypal_marketplace_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal_marketplace.paypal_marketplace_withdraw_charges" + } + ], + "validations": [], + "variant": "combine_input", + "value": { + "additional_fee": "0.00", + "admin_percentage": "0.00" + }, + "additional_fee": "0.00", + "admin_percentage": "0.00", + "is_automated": true + } + ], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paypal_marketplace", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "withdraw_methods_group_razorpay", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_razorpay", + "children": [ + { + "id": "razorpay_withdraw", + "type": "field", + "title": "Razorpay", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_razorpay_razorpay_withdraw", + "children": [], + "description": "Enable Razorpay as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_razorpay.razorpay_withdraw", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2018/05/08/21/29/paypal-3384015_1280.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "razorpay_withdraw_charges", + "type": "field", + "title": "Withdraw charges", + "icon": "", + "tooltip": "Set withdrawal charges for Razorpay method.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_razorpay_razorpay_withdraw_charges", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_razorpay.razorpay_withdraw_charges", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_razorpay.razorpay_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_razorpay.razorpay_withdraw_charges" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_razorpay.razorpay_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_razorpay.razorpay_withdraw_charges" + } + ], + "validations": [], + "variant": "combine_input", + "value": { + "additional_fee": "0.00", + "admin_percentage": "0.00" + }, + "additional_fee": "0.00", + "admin_percentage": "0.00", + "is_automated": true + } + ], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_razorpay", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "withdraw_methods_group_stripe", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_stripe", + "children": [ + { + "id": "stripe_withdraw", + "type": "field", + "title": "Stripe", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_stripe_stripe_withdraw", + "children": [], + "description": "Enable Stripe as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_stripe.stripe_withdraw", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2018/05/08/21/29/paypal-3384015_1280.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "stripe_withdraw_charges", + "type": "field", + "title": "Withdraw charges", + "icon": "", + "tooltip": "Set withdrawal charges for Stripe method.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_stripe_stripe_withdraw_charges", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_stripe.stripe_withdraw_charges", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_stripe.stripe_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_stripe.stripe_withdraw_charges" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_stripe.stripe_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_stripe.stripe_withdraw_charges" + } + ], + "validations": [], + "variant": "combine_input", + "value": { + "additional_fee": "0.00", + "admin_percentage": "0.00" + }, + "additional_fee": "0.00", + "admin_percentage": "0.00", + "is_automated": true + } + ], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_stripe", + "dependencies": [], + "validations": [], + "content_class": "", + "is_automated": true + }, + { + "id": "withdraw_methods_group_paystack", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paystack", + "children": [ + { + "id": "paystack_withdraw", + "type": "field", + "title": "Paystack", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paystack_paystack_withdraw", + "children": [], + "description": "Enable Paystack as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paystack.paystack_withdraw", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2018/05/08/21/29/paypal-3384015_1280.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "paystack_withdraw_charges", + "type": "field", + "title": "Withdraw charges", + "icon": "", + "tooltip": "Set withdrawal charges for Paystack method.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_paystack_paystack_withdraw_charges", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paystack.paystack_withdraw_charges", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paystack.paystack_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paystack.paystack_withdraw_charges" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paystack.paystack_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paystack.paystack_withdraw_charges" + } + ], + "validations": [], + "variant": "combine_input", + "value": { + "additional_fee": "0.00", + "admin_percentage": "0.00" + }, + "additional_fee": "0.00", + "admin_percentage": "0.00", + "is_automated": true + } + ], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_paystack", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "withdraw_methods_group_skrill", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_skrill", + "children": [ + { + "id": "skrill_withdraw", + "type": "field", + "title": "Skrill", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_skrill_skrill_withdraw", + "children": [], + "description": "Enable Skrill as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_skrill.skrill_withdraw", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2018/05/08/21/29/paypal-3384015_1280.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "skrill_withdraw_charges", + "type": "field", + "title": "Withdraw charges", + "icon": "", + "tooltip": "Set withdrawal charges for Skrill method.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_skrill_skrill_withdraw_charges", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_skrill.skrill_withdraw_charges", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_skrill.skrill_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_skrill.skrill_withdraw_charges" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_skrill.skrill_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_skrill.skrill_withdraw_charges" + } + ], + "validations": [], + "variant": "combine_input", + "value": { + "additional_fee": "0.00", + "admin_percentage": "0.00" + }, + "additional_fee": "0.00", + "admin_percentage": "0.00", + "is_automated": false + } + ], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_skrill", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "withdraw_methods_group_custom", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_custom", + "children": [ + { + "id": "custom_withdraw", + "type": "field", + "title": "Custom", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_custom_custom_withdraw", + "children": [], + "description": "Enable Custom withdrawal method for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_withdraw", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2018/05/08/21/29/paypal-3384015_1280.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "custom_method_name", + "type": "field", + "title": "Custom Method Name", + "icon": "", + "tooltip": "This will be the title of the custom withdraw method.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_custom_custom_method_name", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_method_name", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_method_name" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_method_name" + } + ], + "validations": [], + "variant": "text", + "value": "", + "default": "", + "placeholder": "Type something", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "custom_method_type", + "type": "field", + "title": "Custom Method Type", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_custom_custom_method_type", + "children": [], + "description": "Custom Withdraw method type.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_method_type", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_method_type" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_method_type" + } + ], + "validations": [], + "variant": "text", + "value": "", + "default": "", + "placeholder": "e.g. Email or Phone Number", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "bank_transfer_withdraw_charges", + "type": "field", + "title": "Withdraw charges", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_section_withdraw_charge_withdraw_methods_group_custom_bank_transfer_withdraw_charges", + "children": [], + "description": "Set withdrawal charges for Bank Transfer method.", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.bank_transfer_withdraw_charges", + "dependencies": [ + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.bank_transfer_withdraw_charges" + }, + { + "key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.custom_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom.bank_transfer_withdraw_charges" + } + ], + "validations": [], + "variant": "combine_input", + "value": { + "additional_fee": "0.00", + "admin_percentage": "0.00" + }, + "additional_fee": "0.00", + "admin_percentage": "0.00", + "is_automated": false + } + ], + "description": "", + "dependency_key": "withdraw_charge.section_withdraw_charge.withdraw_methods_group_custom", + "dependencies": [], + "validations": [], + "content_class": "" + } + ], + "description": "Select suitable withdraw methods and charges for vendors.", + "dependency_key": "withdraw_charge.section_withdraw_charge", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "minimum_withdraw_limit_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_minimum_withdraw_limit_section", + "children": [ + { + "id": "minimum_withdraw_limit", + "type": "field", + "title": "Minimum Withdraw Limit", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_minimum_withdraw_limit_section_minimum_withdraw_limit", + "children": [], + "description": "Minimum balance required to make a withdraw request. Leave blank to set no minimum limits.", + "dependency_key": "withdraw_charge.minimum_withdraw_limit_section.minimum_withdraw_limit", + "dependencies": [], + "validations": [], + "variant": "number", + "value": 50, + "default": "50", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "$", + "image_url": "", + "minimum": null, + "maximum": null, + "step": 0.1, + "addon_icon": false + } + ], + "description": "", + "dependency_key": "withdraw_charge.minimum_withdraw_limit_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "cod_payments_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_cod_payments_section", + "children": [ + { + "id": "cod_payments", + "type": "field", + "title": "COD Payments", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_cod_payments_section_cod_payments", + "children": [], + "description": "If an order is paid with Cash on Delivery (COD), then exclude that payment from vendor balance.", + "dependency_key": "withdraw_charge.cod_payments_section.cod_payments", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "include", + "default": "include", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "include", + "title": "Include", + "icon": "" + }, + { + "value": "exclude", + "title": "Exclude", + "icon": "" + } + ] + } + ], + "description": "", + "dependency_key": "withdraw_charge.cod_payments_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "withdraw_threshold_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_threshold_section", + "children": [ + { + "id": "withdraw_threshold", + "type": "field", + "title": "Withdraw Threshold", + "icon": "", + "tooltip": "If enabled, sales earning will add to vendor balance after mentioned number of days.", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_threshold_section_withdraw_threshold", + "children": [], + "description": "Days to wait before users can withdraw from completed orders. Set to "0" to disable the waiting period.", + "dependency_key": "withdraw_charge.withdraw_threshold_section.withdraw_threshold", + "dependencies": [], + "validations": [], + "variant": "number", + "value": 0, + "default": "0", + "placeholder": "e.g 2", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "Days", + "prefix": "", + "image_url": "", + "minimum": null, + "maximum": null, + "step": 0.1, + "addon_icon": false + } + ], + "description": "", + "dependency_key": "withdraw_charge.withdraw_threshold_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "withdraw_option_visibility_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section", + "children": [ + { + "id": "withdraw_option_visibility", + "type": "field", + "title": "Withdraw Option Visibility", + "icon": "", + "tooltip": "withdraw option (when vendor is getting commission automatically)", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_withdraw_option_visibility", + "description": "withdraw option (when vendor is getting commission automatically)", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "dependencies": [], + "validations": [], + "variant": "switch_group", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [], + "children": [ + { + "id": "manual_withdraw", + "type": "field", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_manual_withdraw", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw" + } + ], + "validations": [], + "variant": "multicheck", + "value": [ "manual" ], + "default": [ "manual" ], + "options": [ + { + "value": "manual", + "title": "Manual Withdraw" + }, + { + "value": "schedule", + "title": "Schedule Disbursement or Auto Withdraw Process for Vendors", + "description": "Admin can make multiple schedules but vendor can choose anyone." + } + ], + "helper_text": "" + } + ] + }, + { + "id": "quarterly_withdraw_sub_section", + "type": "subsection", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section", + "children": [ + { + "id": "quarterly_withdraw_group", + "type": "fieldgroup", + "title": "Quarterly", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group", + "children": [ + { + "id": "quarterly_withdraw", + "type": "field", + "title": "Quarterly Withdraw", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw", + "children": [], + "description": "Enable Quarterly Withdraw as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "in", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "not_in", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw" + } + ], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "quarterly_withdraw_month", + "type": "field", + "title": "First Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month" + } + ], + "validations": [], + "variant": "select", + "value": "march", + "default": "march", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "january", + "title": "January" + }, + { + "value": "february", + "title": "February" + }, + { + "value": "march", + "title": "March" + } + ] + }, + { + "id": "quarterly_withdraw_month_1_schedule_1", + "type": "field", + "title": "Second Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_1_schedule_1", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_1", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_1" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "january", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_1" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_1" + } + ], + "validations": [], + "variant": "select", + "value": "april", + "default": "april", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "april", + "title": "April" + } + ] + }, + { + "id": "quarterly_withdraw_month_1_schedule_2", + "type": "field", + "title": "Second Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_1_schedule_2", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_2", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_2" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "february", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_2" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_2" + } + ], + "validations": [], + "variant": "select", + "value": "may", + "default": "may", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "may", + "title": "May" + } + ] + }, + { + "id": "quarterly_withdraw_month_1_schedule_3", + "type": "field", + "title": "Second Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_1_schedule_3", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_3", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_3" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "march", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_3" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_1_schedule_3" + } + ], + "validations": [], + "variant": "select", + "value": "june", + "default": "june", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "june", + "title": "June" + } + ] + }, + { + "id": "quarterly_withdraw_month_2_schedule_1", + "type": "field", + "title": "Third Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_2_schedule_1", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_1", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_1" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "january", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_1" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_1" + } + ], + "validations": [], + "variant": "select", + "value": "july", + "default": "july", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "july", + "title": "July" + } + ] + }, + { + "id": "quarterly_withdraw_month_2_schedule_2", + "type": "field", + "title": "Third Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_2_schedule_2", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_2", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_2" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "february", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_2" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_2" + } + ], + "validations": [], + "variant": "select", + "value": "august", + "default": "august", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "august", + "title": "August" + } + ] + }, + { + "id": "quarterly_withdraw_month_2_schedule_3", + "type": "field", + "title": "Third Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_2_schedule_3", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_3", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_3" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "march", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_3" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_2_schedule_3" + } + ], + "validations": [], + "variant": "select", + "value": "september", + "default": "september", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "september", + "title": "September" + } + ] + }, + { + "id": "quarterly_withdraw_month_3_schedule_1", + "type": "field", + "title": "Fourth Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_3_schedule_1", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_1", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_1" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "january", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_1" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_1" + } + ], + "validations": [], + "variant": "select", + "value": "october", + "default": "october", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "october", + "title": "October" + } + ] + }, + { + "id": "quarterly_withdraw_month_3_schedule_2", + "type": "field", + "title": "Fourth Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_3_schedule_2", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_2", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_2" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "february", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_2" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_2" + } + ], + "validations": [], + "variant": "select", + "value": "november", + "default": "november", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "november", + "title": "November" + } + ] + }, + { + "id": "quarterly_withdraw_month_3_schedule_3", + "type": "field", + "title": "Fourth Quarter", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_month_3_schedule_3", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_3", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_3" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month", + "value": "march", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_3" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_month_3_schedule_3" + } + ], + "validations": [], + "variant": "select", + "value": "december", + "default": "december", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "december", + "title": "December" + } + ] + }, + { + "id": "quarterly_withdraw_week", + "type": "field", + "title": "Week", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_week", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_week", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_week" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_week" + } + ], + "validations": [], + "variant": "select", + "value": "1", + "default": "1", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "1", + "title": "1st Week" + }, + { + "value": "2", + "title": "2nd Week" + }, + { + "value": "3", + "title": "3rd Week" + }, + { + "value": "L", + "title": "Last Week" + } + ] + }, + { + "id": "quarterly_withdraw_day", + "type": "field", + "title": "Day", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_quarterly_withdraw_sub_section_quarterly_withdraw_group_quarterly_withdraw_day", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_day", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_day" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group.quarterly_withdraw_day" + } + ], + "validations": [], + "variant": "select", + "value": "monday", + "default": "monday", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "saturday", + "title": "Saturday" + }, + { + "value": "sunday", + "title": "Sunday" + }, + { + "value": "monday", + "title": "Monday" + }, + { + "value": "tuesday", + "title": "Tuesday" + }, + { + "value": "wednesday", + "title": "Wednesday" + }, + { + "value": "thursday", + "title": "Thursday" + }, + { + "value": "friday", + "title": "Friday" + } + ] + } + ], + "description": "Select suitable months, weeks and day of week. 4 times in a year.", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "in", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "not_in", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section.quarterly_withdraw_group" + } + ], + "validations": [], + "content_class": "dokan-single-line-row" + } + ], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.quarterly_withdraw_sub_section" + } + ], + "validations": [] + }, + { + "id": "monthly_withdraw_sub_section", + "type": "subsection", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_monthly_withdraw_sub_section", + "children": [ + { + "id": "monthly_withdraw_group", + "type": "fieldgroup", + "title": "Monthly", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_monthly_withdraw_sub_section_monthly_withdraw_group", + "children": [ + { + "id": "monthly_withdraw", + "type": "field", + "title": "Monthly Withdraw", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_monthly_withdraw_sub_section_monthly_withdraw_group_monthly_withdraw", + "children": [], + "description": "Enable Monthly Withdraw as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "in", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "not_in", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw" + } + ], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "monthly_withdraw_week", + "type": "field", + "title": "Week", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_monthly_withdraw_sub_section_monthly_withdraw_group_monthly_withdraw_week", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw_week", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw_week" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw_week" + } + ], + "validations": [], + "variant": "select", + "value": "1", + "default": "1", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "1", + "title": "First Week" + }, + { + "value": "2", + "title": "Second Week" + }, + { + "value": "3", + "title": "Third Week" + }, + { + "value": "L", + "title": "Last Week" + } + ] + }, + { + "id": "monthly_withdraw_day", + "type": "field", + "title": "Day", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_monthly_withdraw_sub_section_monthly_withdraw_group_monthly_withdraw_day", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw_day", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw_day" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group.monthly_withdraw_day" + } + ], + "validations": [], + "variant": "select", + "value": "monday", + "default": "monday", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "saturday", + "title": "Saturday" + }, + { + "value": "sunday", + "title": "Sunday" + }, + { + "value": "monday", + "title": "Monday" + }, + { + "value": "tuesday", + "title": "Tuesday" + }, + { + "value": "wednesday", + "title": "Wednesday" + }, + { + "value": "thursday", + "title": "Thursday" + }, + { + "value": "friday", + "title": "Friday" + } + ] + } + ], + "description": "Select suitable weeks and day of week. 12 times in a year.", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section.monthly_withdraw_group" + } + ], + "validations": [], + "content_class": "dokan-single-line-row" + } + ], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "in", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "not_in", + "self": "withdraw_charge.withdraw_option_visibility_section.monthly_withdraw_sub_section" + } + ], + "validations": [] + }, + { + "id": "biweekly_withdraw_sub_section", + "type": "subsection", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_biweekly_withdraw_sub_section", + "children": [ + { + "id": "biweekly_withdraw_group", + "type": "fieldgroup", + "title": "Biweekly", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_biweekly_withdraw_sub_section_biweekly_withdraw_group", + "children": [ + { + "id": "biweekly_withdraw", + "type": "field", + "title": "Biweekly Withdraw", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_biweekly_withdraw_sub_section_biweekly_withdraw_group_biweekly_withdraw", + "children": [], + "description": "Enable Biweekly Withdraw as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "in", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "not_in", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw" + } + ], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "biweekly_withdraw_week", + "type": "field", + "title": "First", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_biweekly_withdraw_sub_section_biweekly_withdraw_group_biweekly_withdraw_week", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_week", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_week" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_week" + } + ], + "validations": [], + "variant": "select", + "value": "1", + "default": "1", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "1", + "title": "1st Week" + }, + { + "value": "2", + "title": "2nd Week" + } + ] + }, + { + "id": "biweekly_withdraw_1_week_1", + "type": "field", + "title": "Second", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_biweekly_withdraw_sub_section_biweekly_withdraw_group_biweekly_withdraw_1_week_1", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_1_week_1", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_1_week_1" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_week", + "value": "1", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_1_week_1" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_1_week_1" + } + ], + "validations": [], + "variant": "select", + "value": "3", + "default": "3", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "3", + "title": "3rd Week" + } + ] + }, + { + "id": "biweekly_withdraw_1_week_2", + "type": "field", + "title": "Second", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_biweekly_withdraw_sub_section_biweekly_withdraw_group_biweekly_withdraw_1_week_2", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_1_week_2", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_1_week_2" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_week", + "value": "2", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_1_week_2" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_1_week_2" + } + ], + "validations": [], + "variant": "select", + "value": "4", + "default": "4", + "placeholder": "", + "readonly": false, + "disabled": true, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "4", + "title": "4th Week" + } + ] + }, + { + "id": "biweekly_withdraw_day", + "type": "field", + "title": "Day", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_biweekly_withdraw_sub_section_biweekly_withdraw_group_biweekly_withdraw_day", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_day", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_day" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group.biweekly_withdraw_day" + } + ], + "validations": [], + "variant": "select", + "value": "monday", + "default": "monday", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "saturday", + "title": "Saturday" + }, + { + "value": "sunday", + "title": "Sunday" + }, + { + "value": "monday", + "title": "Monday" + }, + { + "value": "tuesday", + "title": "Tuesday" + }, + { + "value": "wednesday", + "title": "Wednesday" + }, + { + "value": "thursday", + "title": "Thursday" + }, + { + "value": "friday", + "title": "Friday" + } + ] + } + ], + "description": "Select suitable weeks and day of week. 24 times in a year.", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section.biweekly_withdraw_group" + } + ], + "validations": [], + "content_class": "dokan-single-line-row" + } + ], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "in", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "not_in", + "self": "withdraw_charge.withdraw_option_visibility_section.biweekly_withdraw_sub_section" + } + ], + "validations": [] + }, + { + "id": "weekly_withdraw_sub_section", + "type": "subsection", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_weekly_withdraw_sub_section", + "children": [ + { + "id": "weekly_withdraw_group", + "type": "fieldgroup", + "title": "Weekly", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_weekly_withdraw_sub_section_weekly_withdraw_group", + "children": [ + { + "id": "weekly_withdraw", + "type": "field", + "title": "Weekly Withdraw", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_weekly_withdraw_sub_section_weekly_withdraw_group_weekly_withdraw", + "children": [], + "description": "Enable Weekly Withdraw as a withdrawal method for vendors.", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group.weekly_withdraw", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "in", + "self": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group.weekly_withdraw" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "not_in", + "self": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group.weekly_withdraw" + } + ], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "weekly_withdraw_day", + "type": "field", + "title": "Day", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_withdraw_charge_withdraw_option_visibility_section_weekly_withdraw_sub_section_weekly_withdraw_group_weekly_withdraw_day", + "children": [], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group.weekly_withdraw_day", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group.weekly_withdraw", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group.weekly_withdraw_day" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group.weekly_withdraw", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group.weekly_withdraw_day" + } + ], + "validations": [], + "variant": "select", + "value": "monday", + "default": "monday", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "saturday", + "title": "Saturday" + }, + { + "value": "sunday", + "title": "Sunday" + }, + { + "value": "monday", + "title": "Monday" + }, + { + "value": "tuesday", + "title": "Tuesday" + }, + { + "value": "wednesday", + "title": "Wednesday" + }, + { + "value": "thursday", + "title": "Thursday" + }, + { + "value": "friday", + "title": "Friday" + } + ] + } + ], + "description": "Select suitable day of week. 52 times in a year.", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.withdraw_option_visibility", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section.weekly_withdraw_group" + } + ], + "validations": [], + "content_class": "dokan-single-line-row" + } + ], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section", + "dependencies": [ + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "in", + "self": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section" + }, + { + "key": "withdraw_charge.withdraw_option_visibility_section.manual_withdraw", + "value": "schedule", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "not_in", + "self": "withdraw_charge.withdraw_option_visibility_section.weekly_withdraw_sub_section" + } + ], + "validations": [] + } + ], + "description": "", + "dependency_key": "withdraw_charge.withdraw_option_visibility_section", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Set up available withdrawal methods and transaction conditions for vendors.", + "dependency_key": "withdraw_charge", + "dependencies": [], + "validations": [], + "priority": 300, + "doc_link": "https://dokan.co/docs/wordpress/withdraw/" + }, + { + "id": "reverse_withdrawal", + "type": "subpage", + "title": "Reverse Withdrawal", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal", + "children": [ + { + "id": "reverse_withdrawal_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section", + "children": [ + { + "id": "enabled", + "type": "field", + "title": "Activate Reverse Withdrawal (Cash On Delivery)", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section_enabled", + "children": [], + "description": "Enable this option to activate automatic balance deducting from vendors.", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section.enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "billing_type", + "type": "field", + "title": "Billing Type", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section_billing_type", + "children": [], + "description": "Select how vendors will be billed for their reverse balance amounts.", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section.billing_type", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "by_amount", + "default": "by_amount", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "by_amount", + "title": "By Amount Limit", + "startIcon": "DollarSign" + }, + { + "value": "by_month", + "title": "Monthly", + "startIcon": "Calendar" + } + ] + }, + { + "id": "reverse_balance_threshold", + "type": "field", + "title": "Reverse Balance Threshold (USD)", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section_reverse_balance_threshold", + "children": [], + "description": "Set the amount that triggers automatic withdrawal actions.", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section.reverse_balance_threshold", + "dependencies": [ + { + "key": "reverse_withdrawal.reverse_withdrawal_section.billing_type", + "value": "by_amount", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "reverse_withdrawal.reverse_withdrawal_section.reverse_balance_threshold" + }, + { + "key": "reverse_withdrawal.reverse_withdrawal_section.billing_type", + "value": "by_month", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "reverse_withdrawal.reverse_withdrawal_section.reverse_balance_threshold" + } + ], + "validations": [], + "variant": "number", + "value": 150, + "default": "150", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "$", + "image_url": "", + "minimum": 0, + "maximum": null, + "step": 0.5, + "addon_icon": true + }, + { + "id": "monthly_billing_day", + "type": "field", + "title": "Monthly Billing Date", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section_monthly_billing_day", + "children": [], + "description": "Enter the day of month when you want to send reverse withdrawal balance invoices to vendors.", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section.monthly_billing_day", + "dependencies": [ + { + "key": "reverse_withdrawal.reverse_withdrawal_section.billing_type", + "value": "by_month", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "reverse_withdrawal.reverse_withdrawal_section.monthly_billing_day" + }, + { + "key": "reverse_withdrawal.reverse_withdrawal_section.billing_type", + "value": "by_amount", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "reverse_withdrawal.reverse_withdrawal_section.monthly_billing_day" + } + ], + "validations": [], + "variant": "number", + "value": 1, + "default": "1", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "Calendar", + "image_url": "", + "minimum": 1, + "maximum": 28, + "step": 0.1, + "addon_icon": true + }, + { + "id": "due_period", + "type": "field", + "title": "Grace Period", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section_due_period", + "children": [], + "description": "Number of days to wait before enforcing collection actions. Set to 0 for immediate action.", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section.due_period", + "dependencies": [], + "validations": [], + "variant": "number", + "value": 7, + "default": "7", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "Days", + "prefix": "Calendar", + "image_url": "", + "minimum": 0, + "maximum": 28, + "step": 1, + "addon_icon": true + }, + { + "id": "failed_actions", + "type": "field", + "title": "Penalty Actions After Grace Period", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section_failed_actions", + "children": [], + "description": "Choose actions to take when the grace period expires and payment remains outstanding.", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section.failed_actions", + "dependencies": [], + "validations": [], + "variant": "multicheck", + "value": [ "enable_catalog_mode" ], + "default": [ "enable_catalog_mode" ], + "options": [ + { + "value": "enable_catalog_mode", + "title": "Disable Add to Cart Button" + }, + { + "value": "hide_withdraw_menu", + "title": "Hide Withdraw Menu" + }, + { + "value": "status_inactive", + "title": "Make Vendor Status Inactive" + } + ], + "helper_text": "" + }, + { + "id": "display_notice", + "type": "field", + "title": "Display Notice During Grace Period", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section_display_notice", + "children": [], + "description": "Show a payment reminder notification on the vendor dashboard during the grace period.", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section.display_notice", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "send_announcement", + "type": "field", + "title": "Send Announcement?", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_transaction_reverse_withdrawal_reverse_withdrawal_section_send_announcement", + "children": [], + "description": "Send platform announcements to vendors during the grace period. Limited to one announcement per billing period.", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section.send_announcement", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "reverse_withdrawal.reverse_withdrawal_section", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Set up commission collection from vendors on Cash on Delivery orders. Control when and how to charge money from vendor accounts when they owe you.", + "dependency_key": "reverse_withdrawal", + "dependencies": [], + "validations": [], + "priority": 400, + "doc_link": "https://wedevs.com/docs/dokan/withdraw/dokan-reverse-withdrawal/" + } + ], + "description": "Configure transaction-related settings including commissions and fees.", + "dependency_key": "", + "dependencies": [], + "validations": [] + }, + { + "id": "appearance", + "type": "page", + "title": "Appearance", + "icon": "PanelsRightBottom", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance", + "children": [ + { + "id": "store", + "type": "subpage", + "title": "Store Page", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store", + "children": [ + { + "id": "products_page", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_products_page", + "children": [ + { + "id": "store_product_per_page", + "type": "field", + "title": "Store Products Per Page", + "icon": "", + "tooltip": "Set the number of products to display per page on the vendor store page.", + "display": true, + "hook_key": "dokan_settings_appearance_store_products_page_store_product_per_page", + "children": [], + "description": "Set how many products to display per page on the\nvendor store page.", + "dependency_key": "store.products_page.store_product_per_page", + "dependencies": [], + "validations": [], + "variant": "number", + "value": 12, + "default": "12", + "placeholder": "Products Per Page", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "minimum": 1, + "maximum": null, + "step": 1, + "addon_icon": false + } + ], + "description": "", + "dependency_key": "store.products_page", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "google_recaptcha", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_google_recaptcha", + "children": [ + { + "id": "google_recaptcha_settings", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_google_recaptcha_google_recaptcha_settings", + "children": [ + { + "id": "recaptcha", + "type": "field", + "title": "Google reCaptcha Validation", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_google_recaptcha_google_recaptcha_settings_recaptcha", + "children": [], + "description": "Connect to enable spam protection that works automatically in the background Get Help", + "dependency_key": "store.google_recaptcha.google_recaptcha_settings.recaptcha", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/200", + "options": [], + "enable_state": { + "value": "on", + "title": "Enable" + }, + "disable_state": { + "value": "off", + "title": "Disable" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "recaptcha_info", + "type": "field", + "title": "Need Help?", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_google_recaptcha_google_recaptcha_settings_recaptcha_info", + "children": [], + "description": "If you don't have a Google reCaptcha account, + Create Google reCaptcha", + "dependency_key": "store.google_recaptcha.google_recaptcha_settings.recaptcha_info", + "dependencies": [ + { + "key": "store.google_recaptcha.google_recaptcha_settings.recaptcha", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "store.google_recaptcha.google_recaptcha_settings.recaptcha_info" + }, + { + "key": "store.google_recaptcha.google_recaptcha_settings.recaptcha", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "store.google_recaptcha.google_recaptcha_settings.recaptcha_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "", + "link_url": "", + "show_icon": true + }, + { + "id": "recaptcha_site_key", + "type": "field", + "title": "Site Key", + "icon": "", + "tooltip": "Insert Google reCAPTCHA v3 site key.", + "display": true, + "hook_key": "dokan_settings_appearance_store_google_recaptcha_google_recaptcha_settings_recaptcha_site_key", + "children": [], + "description": "Enter your Google reCaptcha site key here.", + "dependency_key": "store.google_recaptcha.google_recaptcha_settings.recaptcha_site_key", + "dependencies": [ + { + "key": "store.google_recaptcha.google_recaptcha_settings.recaptcha", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "store.google_recaptcha.google_recaptcha_settings.recaptcha_site_key" + }, + { + "key": "store.google_recaptcha.google_recaptcha_settings.recaptcha", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "store.google_recaptcha.google_recaptcha_settings.recaptcha_site_key" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Site Key", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "Get your site key from Google reCaptcha admin console.", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "recaptcha_secret_key", + "type": "field", + "title": "Secret Key", + "icon": "", + "tooltip": "Insert Google reCAPTCHA v3 secret key.", + "display": true, + "hook_key": "dokan_settings_appearance_store_google_recaptcha_google_recaptcha_settings_recaptcha_secret_key", + "children": [], + "description": "Enter your Google reCaptcha secret key here.", + "dependency_key": "store.google_recaptcha.google_recaptcha_settings.recaptcha_secret_key", + "dependencies": [ + { + "key": "store.google_recaptcha.google_recaptcha_settings.recaptcha", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "store.google_recaptcha.google_recaptcha_settings.recaptcha_secret_key" + }, + { + "key": "store.google_recaptcha.google_recaptcha_settings.recaptcha", + "value": "off", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "store.google_recaptcha.google_recaptcha_settings.recaptcha_secret_key" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Secret Key", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "Get your secret key from Google reCaptcha admin console.", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "store.google_recaptcha.google_recaptcha_settings", + "dependencies": [], + "validations": [], + "content_class": "" + } + ], + "description": "", + "dependency_key": "store.google_recaptcha", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "store_contact_form_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_contact_form_section", + "children": [ + { + "id": "store_clossing_time_widget", + "type": "field", + "title": "Show Contact Form on Store Page", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_contact_form_section_store_clossing_time_widget", + "children": [], + "description": "Display a vendor contact form in the store sidebar", + "dependency_key": "store.store_contact_form_section.store_clossing_time_widget", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enable" + }, + "disable_state": { + "value": "off", + "title": "Disable" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "store.store_contact_form_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "store_banner_dimension_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_banner_dimension_section", + "children": [ + { + "id": "store_banner_dimension", + "type": "field", + "title": "Store Banner Dimension", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_banner_dimension_section_store_banner_dimension", + "children": [], + "description": "", + "dependency_key": "store.store_banner_dimension_section.store_banner_dimension", + "dependencies": [], + "validations": [], + "variant": "double_input", + "value": "{\"first\":\"625\",\"second\":\"300\"}", + "label": "", + "firstLabel": "", + "firstValue": "625", + "firstPlaceholder": "", + "firstPrefix": "Width", + "firstSuffix": "", + "firstRequired": false, + "secondLabel": "", + "secondValue": "300", + "secondPlaceholder": "", + "secondPrefix": "Height", + "secondSuffix": "", + "secondRequired": false, + "firstValueType": "string|int|float", + "secondValueType": "string|int|float" + } + ], + "description": "", + "dependency_key": "store.store_banner_dimension_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "store_template", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_template", + "children": [ + { + "id": "store_template", + "type": "field", + "title": "Store Header Template", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_template_store_template", + "children": [], + "description": "Select a store header for your store.", + "dependency_key": "store.store_template.store_template", + "dependencies": [], + "validations": [], + "variant": "customize_radio", + "value": "default", + "default": "default", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "title": "Template 1", + "value": "default", + "image": image + }, + { + "title": "Template 2", + "value": "layout1", + "image": image + }, + { + "title": "Template 3", + "value": "layout2", + "image": image + }, + { + "title": "Template 4", + "value": "layout3", + "image": image + } + ], + "radio_variant": "template", + "css_class": "", + "grid_config": [] + } + ], + "description": "", + "dependency_key": "store.store_template", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "store_time_widget_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_time_widget_section", + "children": [ + { + "id": "store_time_widget", + "type": "field", + "title": "Store Opening Closing Time Widget", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_time_widget_section_store_time_widget", + "children": [], + "description": "Enable store opening & closing time widget in the store sidebar", + "dependency_key": "store.store_time_widget_section.store_time_widget", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "Note: This option works only if the theme supports WooCommerce single product page sidebar.", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enable" + }, + "disable_state": { + "value": "off", + "title": "Disable" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "store.store_time_widget_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "store_sidebar_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_sidebar_section", + "children": [ + { + "id": "store_opening_time", + "type": "field", + "title": "Store Sidebar From Theme", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_store_sidebar_section_store_opening_time", + "children": [], + "description": "Apply main theme's sidebar styling to vendor stores for a consistent look", + "dependency_key": "store.store_sidebar_section.store_opening_time", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "Note: This option works only if the theme supports WooCommerce single product page sidebar.", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enable" + }, + "disable_state": { + "value": "off", + "title": "Disable" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "store.store_sidebar_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "vendor_info_visibility_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_vendor_info_visibility_section", + "children": [ + { + "id": "vendor_info_visibility", + "type": "field", + "title": "Vendor Info Visibility", + "icon": "", + "tooltip": "Choose what vendor details to show customers in single store page.", + "display": true, + "hook_key": "dokan_settings_appearance_store_vendor_info_visibility_section_vendor_info_visibility", + "children": [], + "description": "Choose what vendor details to show customers in single store page.", + "dependency_key": "store.vendor_info_visibility_section.vendor_info_visibility", + "dependencies": [], + "validations": [], + "variant": "checkbox_group_preview", + "image_url": image, + "value": { + "email": "", + "phone": "", + "address": "" + }, + "default": { + "store_address": true, + "store_phone": true, + "store_email": true + }, + "options": [ + { + "value": "store_email", + "title": "Email Address" + }, + { + "value": "store_phone", + "title": "Phone Number" + }, + { + "value": "store_address", + "title": "Store Address" + } + ], + "helper_text": "Note: This option works only if the theme supports WooCommerce single product page sidebar." + } + ], + "description": "", + "dependency_key": "store.vendor_info_visibility_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "dokan_font_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_dokan_font_section", + "children": [ + { + "id": "dokan_font", + "type": "field", + "title": "Dokan font-awesome Functionality", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_dokan_font_section_dokan_font", + "children": [], + "description": "If disabled then Dokan font-awesome library won't be loaded in frontend.", + "dependency_key": "store.dokan_font_section.dokan_font", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "Note: This option works only if the theme supports WooCommerce single product page sidebar.", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enable" + }, + "disable_state": { + "value": "off", + "title": "Disable" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "store.dokan_font_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "single_product_preview_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_store_single_product_preview_section", + "children": [ + { + "id": "single_product_preview", + "type": "field", + "title": "Single Product Page Appearance", + "icon": "", + "tooltip": "Choose which sections to show when customers view individual products.", + "display": true, + "hook_key": "dokan_settings_appearance_store_single_product_preview_section_single_product_preview", + "children": [], + "description": "Choose which sections to show when customers view individual products.", + "dependency_key": "store.single_product_preview_section.single_product_preview", + "dependencies": [], + "validations": [], + "variant": "checkbox_group_preview", + "image_url": image2, + "value": { + "vendor_info": true, + "more_products_tab": true, + "shipping_tab": true + }, + "default": { + "vendor_info": true, + "more_products_tab": true, + "shipping_tab": true + }, + "options": [ + { + "value": "vendor_info", + "title": "Vendor Info" + }, + { + "value": "more_products_tab", + "title": "More products tab" + }, + { + "value": "shipping_tab", + "title": "Shipping tab" + } + ], + "helper_text": "Note: This option works only if the theme supports WooCommerce single product page sidebar." + } + ], + "description": "", + "dependency_key": "store.single_product_preview_section", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", + "dependency_key": "store", + "dependencies": [], + "validations": [], + "priority": 100, + "doc_link": "" + }, + { + "id": "dashboard-color-customizer-page", + "type": "subpage", + "title": "Color Customizer", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_dashboard-color-customizer-page", + "children": [ + { + "id": "dokan-store-colors", + "type": "section", + "title": "Store Colors", + "icon": "", + "tooltip": "Select a color palette for your store.", + "display": true, + "hook_key": "dokan_settings_appearance_dashboard-color-customizer-page_dokan-store-colors", + "children": [ + { + "id": "dashboard_color_customizer", + "type": "field", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_dashboard-color-customizer-page_dokan-store-colors_dashboard_color_customizer", + "children": [], + "description": "", + "dependency_key": "dashboard-color-customizer-page.dokan-store-colors.dashboard_color_customizer", + "dependencies": [], + "validations": [], + "variant": "color_customizer", + "value": { + "value": "purple pulse", + "pallete_status": "template", + "btn_text": "#FFFFFF", + "btn_primary": "#7047EB", + "btn_primary_border": "#7047EB", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#502BBF", + "btn_hover_border": "#370EB1", + "dash_nav_text": "#DACEFF", + "dash_nav_bg": "#322067", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#7047EB", + "color_options": { + "color-1": "#322067", + "color-2": "#7047EB", + "color-3": null, + "color-4": "#502BBF" + } + }, + "default": { + "value": "purple pulse", + "btn_text": "#FFFFFF", + "btn_hover": "#502BBF", + "btn_primary": "#7047EB", + "dash_nav_bg": "#322067", + "dash_nav_text": "#DACEFF", + "pallete_status": "template", + "btn_hover_text": "#FFFFFF", + "dash_active_link": "#7047EB", + "btn_hover_border": "#370EB1", + "btn_primary_border": "#7047EB", + "dash_nav_active_text": "#FFFFFF", + "color_options": { + "color-1": "#322067", + "color-2": "#7047EB", + "color-3": "#DACEFF82", + "color-4": "#502BBF" + } + }, + "options": [ + { + "key": "purple_pulse", + "value": "purple pulse", + "title": "Purple Pulse", + "image": "https://core-dokan.test/wp-content/plugins/dokan-pro/assets/images/admin-settings-icons/color-preview-img/purple-pulse.svg", + "color_options": { + "color-1": "#322067", + "color-2": "#7047EB", + "color-3": "#DACEFF82", + "color-4": "#502BBF" + }, + "btn_text": "#FFFFFF", + "btn_primary": "#7047EB", + "btn_primary_border": "#7047EB", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#502BBF", + "btn_hover_border": "#370EB1", + "dash_nav_text": "#DACEFF", + "dash_nav_bg": "#322067", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#7047EB" + }, + { + "key": "majestic_orange", + "value": "majestic orange", + "title": "Majestic Orange", + "image": "https://core-dokan.test/wp-content/plugins/dokan-pro/assets/images/admin-settings-icons/color-preview-img/majestic-orange.svg", + "color_options": { + "color-1": "#1B233B", + "color-2": "#F05025", + "color-3": "#ffcbbc", + "color-4": "#DD3B0F" + }, + "btn_text": "#FFFFFF", + "btn_primary": "#F05025", + "btn_primary_border": "#F05025", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#DD3B0F", + "btn_hover_border": "#C83811", + "dash_nav_text": "#CFCFCF", + "dash_nav_bg": "#1B233B", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#F05025" + }, + { + "key": "petal_party", + "value": "petal party", + "title": "Petal Party", + "image": "https://core-dokan.test/wp-content/plugins/dokan-pro/assets/images/admin-settings-icons/color-preview-img/petal-party.svg", + "color_options": { + "color-1": "#870A30", + "color-2": "#D43790", + "color-3": "#F4BECF", + "color-4": "#C33385" + }, + "btn_text": "#FFFFFF", + "btn_primary": "#D43790", + "btn_primary_border": "#D43790", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#C33385", + "btn_hover_border": "#BB3381", + "dash_nav_text": "#F4BECF", + "dash_nav_bg": "#870A30", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#D43790" + }, + { + "key": "pinky", + "value": "pinky", + "title": "Pinky", + "image": "https://core-dokan.test/wp-content/plugins/dokan-pro/assets/images/admin-settings-icons/color-preview-img/pinky.svg", + "color_options": { + "color-1": "#B52E5F", + "color-2": "#FF0080", + "color-3": "#FFCAE4", + "color-4": "#FF21E1" + }, + "btn_text": "#FFFFFF", + "btn_primary": "#FF0080", + "btn_primary_border": "#FF0080", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#DF0070", + "btn_hover_border": "#C50063", + "dash_nav_text": "#EBE0D0", + "dash_nav_bg": "#A91B60", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#D43790" + }, + { + "key": "ocean", + "value": "ocean", + "title": "Ocean", + "image": "https://core-dokan.test/wp-content/plugins/dokan-pro/assets/images/admin-settings-icons/color-preview-img/ocean.svg", + "color_options": { + "color-1": "#38748C", + "color-2": "#34ABDB", + "color-3": "#C6EFFF", + "color-4": "#2FA3D1" + }, + "btn_text": "#FFFFFF", + "btn_primary": "#34ABDB", + "btn_primary_border": "#34ABDB", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#2FA3D1", + "btn_hover_border": "#2C98C3", + "dash_nav_text": "#99C7DA", + "dash_nav_bg": "#38748C", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#34ABDB" + }, + { + "key": "sweety", + "value": "sweety", + "title": "Sweety", + "image": "https://core-dokan.test/wp-content/plugins/dokan-pro/assets/images/admin-settings-icons/color-preview-img/sweety.svg", + "color_options": { + "color-1": "#FB4570", + "color-2": "#C61740", + "color-3": "#FFC8D5", + "color-4": "#FB4570" + }, + "btn_text": "#FFFFFF", + "btn_primary": "#FB4570", + "btn_primary_border": "#FB4570", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#EC3661", + "btn_hover_border": "#D33A5E", + "dash_nav_text": "#FFC8D5", + "dash_nav_bg": "#FB4570", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#C61740" + }, + { + "key": "summer_splash", + "value": "summer splash", + "title": "Summer Splash", + "image": "https://core-dokan.test/wp-content/plugins/dokan-pro/assets/images/admin-settings-icons/color-preview-img/summer-splash.svg", + "color_options": { + "color-1": "#29A0B1", + "color-2": "#167D7F", + "color-3": "#BDECF2", + "color-4": "#228D9C" + }, + "btn_text": "#FFFFFF", + "btn_primary": "#29A0B1", + "btn_primary_border": "#29A0B1", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#228D9C", + "btn_hover_border": "#1E7683", + "dash_nav_text": "#BDECF2", + "dash_nav_bg": "#29A0B1", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#167D7F" + }, + { + "key": "tree", + "value": "tree", + "title": "Tree", + "image": "https://core-dokan.test/wp-content/plugins/dokan-pro/assets/images/admin-settings-icons/color-preview-img/tree.svg", + "color_options": { + "color-1": "#1BAC9E", + "color-2": "#167067", + "color-3": "#ABF5EE", + "color-4": "#1CB6A7" + }, + "btn_text": "#FFFFFF", + "btn_primary": "#1CB6A7", + "btn_primary_border": "#1CB6A7", + "btn_hover_text": "#FFFFFF", + "btn_hover": "#1DADA0", + "btn_hover_border": "#148C81", + "dash_nav_text": "#ABF5EE", + "dash_nav_bg": "#1BAC9E", + "dash_nav_active_text": "#FFFFFF", + "dash_active_link": "#167D7F" + } + ] + } + ], + "description": "Select a color palette for your store.", + "dependency_key": "dashboard-color-customizer-page.dokan-store-colors", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Customize the colors and appearance of vendor dashboards to match your brand.", + "dependency_key": "dashboard-color-customizer-page", + "dependencies": [], + "validations": [], + "priority": 300, + "doc_link": "https://dokan.co/docs/wordpress/modules/color-scheme/" + }, + { + "id": "storefont_social_onboarding", + "type": "subpage", + "title": "Storefront Socials", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding", + "children": [ + { + "id": "storefont_social_onboarding_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section", + "children": [ + { + "id": "facebook_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_facebook_api_group", + "children": [ + { + "id": "facebook_enabled", + "type": "field", + "title": "Connect to Facebook", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_facebook_api_group_facebook_enabled", + "children": [], + "description": "Configure your Facebook API settings. Get Help", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "facebook_info", + "type": "field", + "title": "Facebook app / meta app instead of facebook account", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_facebook_api_group_facebook_info", + "children": [], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_info", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_info" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://developers.facebook.com/apps/", + "show_icon": true + }, + { + "id": "facebook_app_id", + "type": "field", + "title": "Facebook App ID", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_facebook_api_group_facebook_app_id", + "children": [], + "description": "Enter your Facebook App ID from Facebook Developer Console.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_app_id", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_app_id" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_app_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Facebook App ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "facebook_app_secret", + "type": "field", + "title": "Facebook App Secret", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_facebook_api_group_facebook_app_secret", + "children": [], + "description": "Enter your Facebook App Secret from Facebook Developer Console.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_app_secret", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_app_secret" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_app_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Facebook App Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "facebook_redirect_url", + "type": "field", + "title": "Redirect URL", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_facebook_api_group_facebook_redirect_url", + "children": [], + "description": "The redirect URL for Facebook Login. Copy this URL and add it to your Facebook App settings.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_redirect_url", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_redirect_url" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group.facebook_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_facebook_callback", + "placeholder": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_facebook_callback", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.facebook_api_group", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "x_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_x_api_group", + "children": [ + { + "id": "x_enabled", + "type": "field", + "title": "Connect to X", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_x_api_group_x_enabled", + "children": [], + "description": "Configure your X API settings. Get Help", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "x_info", + "type": "field", + "title": "X app / meta app instead of x account", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_x_api_group_x_info", + "children": [], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_info", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_info" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://apps.twitter.com/", + "show_icon": true + }, + { + "id": "x_api_key", + "type": "field", + "title": "X API Key", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_x_api_group_x_api_key", + "children": [], + "description": "Enter your X API Key from X Developer Console.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_api_key", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_api_key" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_api_key" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your X API Key", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "x_api_secret", + "type": "field", + "title": "X API Secret", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_x_api_group_x_api_secret", + "children": [], + "description": "Enter your X API Secret from X Developer Console.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_api_secret", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_api_secret" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_api_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your X API Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "x_redirect_url", + "type": "field", + "title": "Redirect URL", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_x_api_group_x_redirect_url", + "children": [], + "description": "The redirect URL for X Login. Copy this URL and add it to your X App settings.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_redirect_url", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_redirect_url" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group.x_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_x_callback", + "placeholder": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_x_callback", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.x_api_group", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "google_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_google_api_group", + "children": [ + { + "id": "google_enabled", + "type": "field", + "title": "Connect to Google", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_google_api_group_google_enabled", + "children": [], + "description": "Configure your Google API settings. Get Help", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "google_info", + "type": "field", + "title": "Google app / meta app instead of google account", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_google_api_group_google_info", + "children": [], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_info", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_info" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://console.developers.google.com/project", + "show_icon": true + }, + { + "id": "google_client_id", + "type": "field", + "title": "Google Client ID", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_google_api_group_google_client_id", + "children": [], + "description": "Enter your Google Client ID from Google Cloud Console.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_client_id", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_client_id" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_client_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Google Client ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "google_client_secret", + "type": "field", + "title": "Google Client Secret", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_google_api_group_google_client_secret", + "children": [], + "description": "Enter your Google Client Secret from Google Cloud Console.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_client_secret", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_client_secret" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_client_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your Google Client Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "google_redirect_url", + "type": "field", + "title": "Redirect URL", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_google_api_group_google_redirect_url", + "children": [], + "description": "The redirect URL for Google Login. Copy this URL and add it to your Google OAuth settings.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_redirect_url", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_redirect_url" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group.google_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_google_callback", + "placeholder": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_google_callback", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.google_api_group", + "dependencies": [], + "validations": [], + "content_class": "" + }, + { + "id": "linkedin_api_group", + "type": "fieldgroup", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_linkedin_api_group", + "children": [ + { + "id": "linkedin_enabled", + "type": "field", + "title": "Connect to LinkedIn", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_linkedin_api_group_linkedin_enabled", + "children": [], + "description": "Configure your LinkedIn API settings. Get Help", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://cdn.pixabay.com/photo/2021/06/15/12/51/facebook-6338508_640.png", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "linkedin_info", + "type": "field", + "title": "Linkedin app / meta app instead of linkedin account", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_linkedin_api_group_linkedin_info", + "children": [], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_info", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_info" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_info" + } + ], + "validations": [], + "variant": "info", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "link_text": "+ Create an App", + "link_url": "https://www.linkedin.com/developer/apps/", + "show_icon": true + }, + { + "id": "linkedin_client_id", + "type": "field", + "title": "LinkedIn Client ID", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_linkedin_api_group_linkedin_client_id", + "children": [], + "description": "Enter your LinkedIn Client ID from LinkedIn Developer Console.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_client_id", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_client_id" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_client_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your LinkedIn Client ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "linkedin_client_secret", + "type": "field", + "title": "LinkedIn Client Secret", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_linkedin_api_group_linkedin_client_secret", + "children": [], + "description": "Enter your LinkedIn Client Secret from LinkedIn Developer Console.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_client_secret", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_client_secret" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_client_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your LinkedIn Client Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "linkedin_redirect_url", + "type": "field", + "title": "Redirect URL", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_storefont_social_onboarding_storefont_social_onboarding_section_linkedin_api_group_linkedin_redirect_url", + "children": [], + "description": "The redirect URL for LinkedIn Login. Copy this URL and add it to your LinkedIn App settings.", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_redirect_url", + "dependencies": [ + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_redirect_url" + }, + { + "key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_enabled", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group.linkedin_redirect_url" + } + ], + "validations": [], + "variant": "copy_field", + "value": "https://core-dokan.test/my-account/", + "default": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_linkedin_callback", + "placeholder": "https://core-dokan.test/wp-admin/admin-ajax.php?action=dokan_linkedin_callback", + "readonly": true, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section.linkedin_api_group", + "dependencies": [], + "validations": [], + "content_class": "" + } + ], + "description": "", + "dependency_key": "storefont_social_onboarding.storefont_social_onboarding_section", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Allow vendors to link their social accounts to build trust and connect with customers.", + "dependency_key": "storefont_social_onboarding", + "dependencies": [], + "validations": [], + "priority": 400, + "doc_link": "https://dokan.co/docs/wordpress/settings/dokan-social-login/" + }, + { + "id": "dashboard-menu-manager-page", + "type": "subpage", + "title": "Dashboard Menu Manager", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_dashboard-menu-manager-page", + "children": [ + { + "id": "dokan-menu-manager", + "type": "subsection", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_dashboard-menu-manager-page_dokan-menu-manager", + "children": [ + { + "id": "dashboard_menu_manager", + "type": "field", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_appearance_dashboard-menu-manager-page_dokan-menu-manager_dashboard_menu_manager", + "children": [], + "description": "", + "dependency_key": "dashboard-menu-manager-page.dokan-menu-manager.dashboard_menu_manager", + "dependencies": [], + "validations": [], + "variant": "menu_manager", + "value": { + "left_menus": { + "dashboard": { + "title": "Dashboard", + "url": "https://core-dokan.test/dashboard/?path=analyticsOverview", + "permission": "dokan_view_overview_menu", + "icon": "", + "pos": 10 + }, + "products": { + "title": "Products", + "url": "https://core-dokan.test/dashboard/products/", + "permission": "dokan_view_product_menu", + "icon": "", + "pos": 30 + }, + "orders": { + "title": "Orders", + "url": "https://core-dokan.test/dashboard/orders/", + "permission": "dokan_view_order_menu", + "icon": "", + "pos": 50, + "submenu": { + "all": { + "title": "All Orders", + "url": "https://core-dokan.test/dashboard/orders/", + "permission": "dokan_view_order_menu", + "icon": "", + "pos": 30 + }, + "order-new": { + "title": "Add New Order", + "url": "https://core-dokan.test/dashboard/new/#orders/new", + "permission": "dokan_manage_manual_order", + "react_route": "orders/new", + "icon": "", + "pos": 50 + } + } + }, + "requested-quotes": { + "title": "Request Quotes", + "url": "https://core-dokan.test/dashboard/requested-quotes/", + "permission": "dokan_view_request_quote_menu", + "icon": "", + "pos": 53 + }, + "coupons": { + "title": "Coupons", + "url": "https://core-dokan.test/dashboard/new/#coupons", + "permission": "dokan_view_coupon_menu", + "react_route": "coupons", + "icon": "", + "pos": 55 + }, + "reports": { + "title": "Reports", + "url": "https://core-dokan.test/dashboard/reports/?path=analyticsproducts", + "permission": "dokan_view_report_menu", + "icon": "", + "pos": 60, + "submenu": { + "report_products": { + "title": "Products", + "url": "https://core-dokan.test/dashboard/reports/?path=analyticsproducts", + "permission": "dokan_view_report_menu", + "icon": "", + "pos": 60 + }, + "report_revenue": { + "title": "Revenue", + "url": "https://core-dokan.test/dashboard/reports/?path=analyticsrevenue", + "permission": "dokan_view_report_menu", + "icon": "", + "pos": 60 + }, + "report_orders": { + "title": "Orders", + "url": "https://core-dokan.test/dashboard/reports/?path=analyticsorders", + "permission": "dokan_view_report_menu", + "icon": "", + "pos": 60 + }, + "report_variations": { + "title": "Variations", + "url": "https://core-dokan.test/dashboard/reports/?path=analyticsvariations", + "permission": "dokan_view_report_menu", + "icon": "", + "pos": 60 + }, + "report_categories": { + "title": "Categories", + "url": "https://core-dokan.test/dashboard/reports/?path=analyticscategories", + "permission": "dokan_view_report_menu", + "icon": "", + "pos": 60 + }, + "report_stock": { + "title": "Stock", + "url": "https://core-dokan.test/dashboard/reports/?path=analyticsstock", + "permission": "dokan_view_report_menu", + "icon": "", + "pos": 60 + }, + "report_statement": { + "title": "Statement", + "url": "https://core-dokan.test/dashboard/reports/?path=analyticsstatement", + "permission": "dokan_view_statement_report", + "icon": "", + "pos": 60 + } + } + }, + "delivery-time-dashboard": { + "title": "Delivery Time", + "url": "https://core-dokan.test/dashboard/new/#delivery-time-dashboard", + "permission": "dokandar", + "react_route": "delivery-time-dashboard", + "icon": "", + "pos": 61 + }, + "reviews": { + "title": "Reviews", + "url": "https://core-dokan.test/dashboard/new/#reviews", + "permission": "dokan_view_review_menu", + "react_route": "reviews", + "icon": "", + "pos": 65 + }, + "withdraw": { + "title": "Withdraw", + "url": "https://core-dokan.test/dashboard/new/#withdraw", + "permission": "dokan_view_withdraw_menu", + "react_route": "withdraw", + "icon": "", + "pos": 70 + }, + "seller-badge": { + "title": "Badge", + "url": "https://core-dokan.test/dashboard/seller-badge/", + "permission": "dokan_view_badge_menu", + "icon": "", + "pos": 73 + }, + "product-questions-answers": { + "title": "Product Q&A", + "url": "https://core-dokan.test/dashboard/new/#product-questions-answers", + "permission": "dokandar", + "react_route": "product-questions-answers", + "icon": "", + "pos": 80 + }, + "return-request": { + "title": "Return Requests", + "url": "https://core-dokan.test/dashboard/new/#return-request", + "permission": "dokan_view_store_rma_menu", + "react_route": "return-request", + "icon": "", + "pos": 170, + "counts": 0 + }, + "staffs": { + "title": "Staff", + "url": "https://core-dokan.test/dashboard/new/#staffs", + "react_route": "staffs", + "icon": "", + "pos": 172 + }, + "followers": { + "title": "Followers", + "url": "https://core-dokan.test/dashboard/followers/", + "permission": "dokan_view_overview_menu", + "icon": "", + "pos": 175 + }, + "subscription": { + "title": "Subscription", + "url": "https://core-dokan.test/dashboard/new/#subscription", + "react_route": "subscription", + "icon": "", + "pos": 180 + }, + "announcement": { + "title": "Announcements", + "url": "https://core-dokan.test/dashboard/new/#announcement", + "permission": "dokan_view_announcement", + "react_route": "announcement", + "icon": "", + "pos": 181 + }, + "analytics": { + "title": "Store Stats", + "url": "https://core-dokan.test/dashboard/analytics/", + "icon": "", + "pos": 182 + }, + "vendor-support": { + "title": "Admin Support", + "url": "https://core-dokan.test/dashboard/new/#vendor-support", + "permission": "dokan_view_announcement", + "react_route": "vendor-support", + "icon": "", + "pos": 182 + }, + "tools": { + "title": "Tools", + "url": "https://core-dokan.test/dashboard/tools/", + "icon": "", + "pos": 183 + }, + "support": { + "title": "Support", + "url": "https://core-dokan.test/dashboard/new/#support", + "react_route": "support", + "icon": "", + "pos": 199, + "counts": 0 + } + }, + "settings_sub_menu": { + "store": { + "title": "Store", + "url": "https://core-dokan.test/dashboard/settings/store/", + "permission": "dokan_view_store_settings_menu", + "icon": "", + "pos": 30 + }, + "payment": { + "title": "Payment", + "url": "https://core-dokan.test/dashboard/settings/payment/", + "permission": "dokan_view_store_payment_menu", + "icon": "", + "pos": 50 + }, + "verification": { + "title": "Verification", + "url": "https://core-dokan.test/dashboard/new/#settings/verification", + "permission": "dokan_view_store_verification_menu", + "react_route": "settings/verification", + "icon": "", + "pos": 55 + }, + "shipping": { + "title": "Shipping", + "url": "https://core-dokan.test/dashboard/new/#settings/shipping", + "permission": "dokan_view_store_shipping_menu", + "react_route": "settings/shipping", + "icon": "", + "pos": 70 + }, + "shipstation": { + "title": "ShipStation", + "url": "https://core-dokan.test/dashboard/settings/shipstation/", + "permission": "dokan_view_store_shipping_menu", + "icon": "", + "pos": 72 + }, + "social": { + "title": "Social Profile", + "url": "https://core-dokan.test/dashboard/new/#settings/social", + "permission": "dokan_view_store_social_menu", + "react_route": "settings/social", + "icon": "", + "pos": 90 + }, + "rma": { + "title": "RMA", + "url": "https://core-dokan.test/dashboard/settings/rma/", + "permission": "dokan_view_store_rma_menu", + "icon": "", + "pos": 93 + }, + "seo": { + "title": "Store SEO", + "url": "https://core-dokan.test/dashboard/new/#settings/seo", + "permission": "dokan_view_store_seo_menu", + "react_route": "settings/seo", + "icon": "", + "pos": 110 + } + } + }, + "default": { + "left_menus": { + "dashboard": { + "title": "Dashboard", + "icon": "", + "url": "https://core-dokan.test/dashboard/?path=%2Fanalytics%2FOverview", + "pos": 10, + "icon_name": "House", + "permission": "dokan_view_overview_menu" + }, + "products": { + "title": "Products", + "icon": "", + "url": "https://core-dokan.test/dashboard/products/", + "pos": 30, + "icon_name": "Box", + "permission": "dokan_view_product_menu" + }, + "orders": { + "title": "Orders", + "icon": "", + "url": "https://core-dokan.test/dashboard/orders/", + "pos": 50, + "icon_name": "ShoppingCart", + "permission": "dokan_view_order_menu", + "submenu": { + "all": { + "title": "All Orders", + "icon": "", + "url": "https://core-dokan.test/dashboard/orders/", + "pos": 30, + "icon_name": "ShoppingCart", + "permission": "dokan_view_order_menu" + }, + "order-new": { + "title": "Add New Order", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#orders/new", + "pos": 50, + "permission": "dokan_manage_manual_order", + "react_route": "orders/new" + } + } + }, + "requested-quotes": { + "title": "Request Quotes", + "icon": "", + "url": "https://core-dokan.test/dashboard/requested-quotes/", + "pos": 53, + "icon_name": "ShoppingBag", + "permission": "dokan_view_request_quote_menu" + }, + "coupons": { + "title": "Coupons", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#coupons", + "pos": 55, + "icon_name": "CirclePercent", + "permission": "dokan_view_coupon_menu", + "react_route": "coupons" + }, + "reports": { + "title": "Reports", + "icon": "", + "url": "https://core-dokan.test/dashboard/reports/?path=%2Fanalytics%2Fproducts", + "pos": 60, + "icon_name": "ChartPie", + "permission": "dokan_view_report_menu", + "submenu": { + "report_products": { + "title": "Products", + "icon": "", + "url": "https://core-dokan.test/dashboard/reports/?path=%2Fanalytics%2Fproducts", + "pos": 60, + "permission": "dokan_view_report_menu" + }, + "report_revenue": { + "title": "Revenue", + "icon": "", + "url": "https://core-dokan.test/dashboard/reports/?path=%2Fanalytics%2Frevenue", + "pos": 60, + "permission": "dokan_view_report_menu" + }, + "report_orders": { + "title": "Orders", + "icon": "", + "url": "https://core-dokan.test/dashboard/reports/?path=%2Fanalytics%2Forders", + "pos": 60, + "permission": "dokan_view_report_menu" + }, + "report_variations": { + "title": "Variations", + "icon": "", + "url": "https://core-dokan.test/dashboard/reports/?path=%2Fanalytics%2Fvariations", + "pos": 60, + "permission": "dokan_view_report_menu" + }, + "report_categories": { + "title": "Categories", + "icon": "", + "url": "https://core-dokan.test/dashboard/reports/?path=%2Fanalytics%2Fcategories", + "pos": 60, + "permission": "dokan_view_report_menu" + }, + "report_stock": { + "title": "Stock", + "icon": "", + "url": "https://core-dokan.test/dashboard/reports/?path=%2Fanalytics%2Fstock", + "pos": 60, + "permission": "dokan_view_report_menu" + }, + "report_statement": { + "title": "Statement", + "icon": "", + "url": "https://core-dokan.test/dashboard/reports/?path=%2Fanalytics%2Fstatement", + "pos": 60, + "permission": "dokan_view_statement_report" + } + } + }, + "delivery-time-dashboard": { + "title": "Delivery Time", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#delivery-time-dashboard", + "pos": 61, + "icon_name": "Truck", + "react_route": "delivery-time-dashboard", + "permission": "dokandar" + }, + "reviews": { + "title": "Reviews", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#reviews", + "pos": 65, + "icon_name": "Star", + "permission": "dokan_view_review_menu", + "react_route": "reviews" + }, + "withdraw": { + "title": "Withdraw", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#withdraw", + "pos": 70, + "icon_name": "DollarSign", + "permission": "dokan_view_withdraw_menu", + "react_route": "withdraw" + }, + "seller-badge": { + "title": "Badge", + "icon": "", + "url": "https://core-dokan.test/dashboard/seller-badge/", + "pos": 73, + "icon_name": "BadgeCheck", + "permission": "dokan_view_badge_menu" + }, + "product-questions-answers": { + "title": "Product Q&A", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#product-questions-answers", + "pos": 80, + "icon_name": "MessageCircleQuestionMark", + "permission": "dokandar", + "react_route": "product-questions-answers" + }, + "return-request": { + "title": "Return Requests", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#return-request", + "pos": 170, + "icon_name": "IterationCw", + "permission": "dokan_view_store_rma_menu", + "counts": 0, + "react_route": "return-request" + }, + "staffs": { + "title": "Staff", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#staffs", + "pos": 172, + "icon_name": "Users", + "react_route": "staffs" + }, + "followers": { + "title": "Followers", + "icon": "", + "url": "https://core-dokan.test/dashboard/followers/", + "pos": 175, + "icon_name": "UserStar", + "permission": "dokan_view_overview_menu" + }, + "subscription": { + "title": "Subscription", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#subscription", + "pos": 180, + "icon_name": "Crown", + "react_route": "subscription" + }, + "announcement": { + "title": "Announcements", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#announcement", + "pos": 181, + "icon_name": "Megaphone", + "react_route": "announcement", + "permission": "dokan_view_announcement" + }, + "analytics": { + "title": "Store Stats", + "icon": "", + "url": "https://core-dokan.test/dashboard/analytics/", + "icon_name": "ChartSpline", + "pos": 182 + }, + "vendor-support": { + "title": "Admin Support", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#vendor-support", + "pos": 182, + "icon_name": "MessagesSquare", + "react_route": "vendor-support", + "permission": "dokan_view_announcement" + }, + "tools": { + "title": "Tools", + "icon": "", + "url": "https://core-dokan.test/dashboard/tools/", + "icon_name": "Settings2", + "pos": 183 + }, + "support": { + "title": "Support", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#support", + "pos": 199, + "icon_name": "Headphones", + "react_route": "support", + "counts": 0 + } + }, + "settings_sub_menu": { + "store": { + "title": "Store", + "icon": "", + "url": "https://core-dokan.test/dashboard/settings/store/", + "pos": 30, + "permission": "dokan_view_store_settings_menu" + }, + "payment": { + "title": "Payment", + "icon": "", + "url": "https://core-dokan.test/dashboard/settings/payment/", + "pos": 50, + "permission": "dokan_view_store_payment_menu" + }, + "verification": { + "title": "Verification", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#settings/verification", + "pos": 55, + "permission": "dokan_view_store_verification_menu", + "react_route": "settings/verification" + }, + "shipping": { + "title": "Shipping", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#settings/shipping", + "pos": 70, + "permission": "dokan_view_store_shipping_menu", + "react_route": "settings/shipping" + }, + "shipstation": { + "title": "ShipStation", + "icon": "", + "url": "https://core-dokan.test/dashboard/settings/shipstation/", + "pos": 72, + "permission": "dokan_view_store_shipping_menu" + }, + "social": { + "title": "Social Profile", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#settings/social", + "pos": 90, + "permission": "dokan_view_store_social_menu", + "react_route": "settings/social" + }, + "rma": { + "title": "RMA", + "icon": "", + "url": "https://core-dokan.test/dashboard/settings/rma/", + "pos": 93, + "permission": "dokan_view_store_rma_menu" + }, + "seo": { + "title": "Store SEO", + "icon": "", + "url": "https://core-dokan.test/dashboard/new/#settings/seo", + "pos": 110, + "permission": "dokan_view_store_seo_menu", + "react_route": "settings/seo" + } + } + }, + "api_endpoint": "https://core-dokan.test/wp-json/dokan/v1/admin/menu-manager" + } + ], + "description": "", + "dependency_key": "dashboard-menu-manager-page.dokan-menu-manager", + "dependencies": [], + "validations": [] + } + ], + "description": "Reorder, Rename, Activate, and Deactivate menus for your vendor dashboard.", + "dependency_key": "dashboard-menu-manager-page", + "dependencies": [], + "validations": [], + "priority": 200, + "doc_link": "https://dokan.co/docs/wordpress/dokan-dashboard/vendor-dashboard-menu-manager/" + } + ], + "description": "Configure dashboard menu settings, visibility, and customization options.", + "dependency_key": "", + "dependencies": [], + "validations": [] + }, + { + "id": "shipment", + "type": "page", + "title": "Shipment", + "icon": "Truck", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment", + "children": [ + { + "id": "shipment-setting-page", + "type": "subpage", + "title": "Shipment Settings", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page", + "children": [ + { + "id": "shipment-settings", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-settings", + "children": [ + { + "id": "allows_shipment_tracking", + "type": "field", + "title": "Allow Shipment Tracking", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-settings_allows_shipment_tracking", + "children": [], + "description": "Allow vendors to provide tracking information for customer orders.", + "dependency_key": "shipment-setting-page.shipment-settings.allows_shipment_tracking", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "enable_shipstation_logging", + "type": "field", + "title": "Log ShipStation API Request", + "icon": "", + "tooltip": "Log all ShipStation API interactions.", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-settings_enable_shipstation_logging", + "children": [], + "description": "Record all API requests and responses from ShipStation integration.", + "dependency_key": "shipment-setting-page.shipment-settings.enable_shipstation_logging", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "allow_mark_received", + "type": "field", + "title": "Allow Mark as Received", + "icon": "", + "tooltip": "Allow customers to mark order as received.", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-settings_allow_mark_received", + "children": [], + "description": "Permit customers to confirm delivery completion.", + "dependency_key": "shipment-setting-page.shipment-settings.allow_mark_received", + "dependencies": [ + { + "key": "shipment-setting-page.shipment-settings.allows_shipment_tracking", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "shipment-setting-page.shipment-settings.allow_mark_received" + }, + { + "key": "shipment-setting-page.shipment-settings.allows_shipment_tracking", + "value": "on", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "shipment-setting-page.shipment-settings.allow_mark_received" + } + ], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "shipment-setting-page.shipment-settings", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "shipment-provider", + "type": "section", + "title": "Shipment Providers", + "icon": "", + "tooltip": "Choose the 3rd party shipping providers.", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider", + "children": [ + { + "id": "sp-australia-post", + "type": "field", + "title": "Australia Post", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-australia-post", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-australia-post", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-australia-post", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-canada-post", + "type": "field", + "title": "Canada Post", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-canada-post", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-canada-post", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-canada-post", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-city-link", + "type": "field", + "title": "City Link", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-city-link", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-city-link", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-city-link", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-dhl", + "type": "field", + "title": "DHL", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-dhl", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-dhl", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "sp-dhl", + "default": "sp-dhl", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "options": [], + "image_url": "https://picsum.photos/100", + "enable_state": { + "value": "sp-dhl", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-dpd", + "type": "field", + "title": "DPD", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-dpd", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-dpd", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "sp-dpd", + "default": "sp-dpd", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-dpd", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-fastway-south-africa", + "type": "field", + "title": "Fastway South Africa", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-fastway-south-africa", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-fastway-south-africa", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-fastway-south-africa", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-fedex", + "type": "field", + "title": "Fedex", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-fedex", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-fedex", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "sp-fedex", + "default": "sp-fedex", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-fedex", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-ontrac", + "type": "field", + "title": "OnTrac", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-ontrac", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-ontrac", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-ontrac", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-parcelforce", + "type": "field", + "title": "ParcelForce", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-parcelforce", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-parcelforce", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-parcelforce", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-polish-shipping-providers", + "type": "field", + "title": "Polish shipping providers", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-polish-shipping-providers", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-polish-shipping-providers", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "sp-polish-shipping-providers", + "default": "sp-polish-shipping-providers", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-polish-shipping-providers", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-royal-mail", + "type": "field", + "title": "Royal Mail", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-royal-mail", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-royal-mail", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-royal-mail", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-tnt-express-consignment", + "type": "field", + "title": "TNT Express (consignment)", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-tnt-express-consignment", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-tnt-express-consignment", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-tnt-express-consignment", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-tnt-express-reference", + "type": "field", + "title": "TNT Express (reference)", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-tnt-express-reference", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-tnt-express-reference", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-tnt-express-reference", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-fedex-sameday", + "type": "field", + "title": "FedEx Sameday", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-fedex-sameday", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-fedex-sameday", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-fedex-sameday", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-ups", + "type": "field", + "title": "UPS", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-ups", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-ups", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "sp-ups", + "default": "sp-ups", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-ups", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-usps", + "type": "field", + "title": "USPS", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-usps", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-usps", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "sp-usps", + "default": "sp-usps", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-usps", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-dhl-us", + "type": "field", + "title": "DHL US", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-dhl-us", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-dhl-us", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "", + "default": "", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-dhl-us", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "sp-other", + "type": "field", + "title": "Other", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-provider_sp-other", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-provider.sp-other", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "sp-other", + "default": "sp-other", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "https://picsum.photos/100", + "options": [], + "enable_state": { + "value": "sp-other", + "title": "Enabled" + }, + "disable_state": { + "value": "", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "Select shipping providers that vendors can offer to customers.", + "dependency_key": "shipment-setting-page.shipment-provider", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "shipment-status", + "type": "section", + "title": "Shipment Status", + "icon": "", + "tooltip": "Add custom shipping status", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-status", + "children": [ + { + "id": "shipping_status_list", + "type": "field", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_shipment-setting-page_shipment-status_shipping_status_list", + "children": [], + "description": "", + "dependency_key": "shipment-setting-page.shipment-status.shipping_status_list", + "dependencies": [], + "validations": [], + "variant": "repeater", + "value": [ + { + "id": "ss_delivered", + "order": 0, + "title": "Delivered", + "required": true + }, + { + "id": "ss_cancelled", + "order": 1, + "title": "Cancelled", + "required": true + }, + { + "id": "ss_proceccing", + "order": 2, + "title": "Processing" + }, + { + "id": "ss_ready_for_pickup", + "order": 3, + "title": "Ready for pickup" + }, + { + "id": "ss_pickedup", + "order": 4, + "title": "Pickedup" + }, + { + "id": "ss_on_the_way", + "order": 5, + "title": "On the way" + } + ], + "items": [ + { + "id": "ss_delivered", + "title": "Delivered", + "order": 0, + "required": true + }, + { + "id": "ss_cancelled", + "title": "Cancelled", + "order": 1, + "required": true + }, + { + "id": "ss_proceccing", + "title": "Processing", + "order": 2, + "required": false + }, + { + "id": "ss_ready_for_pickup", + "title": "Ready for Pickup", + "order": 3, + "required": false + }, + { + "id": "ss_pickedup", + "title": "Picked Up", + "order": 4, + "required": false + }, + { + "id": "ss_on_the_way", + "title": "On the way", + "order": 5, + "required": false + } + ], + "default": [], + "new_title": "Add New Shipping Status" + } + ], + "description": "Define shipping statuses that vendors can use to update customers.", + "dependency_key": "shipment-setting-page.shipment-status", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure shipment tracking, integrations, and delivery options for your marketplace.", + "dependency_key": "shipment-setting-page", + "dependencies": [], + "validations": [], + "priority": 100, + "doc_link": "https://picsum.photos/100", + "doc_link_text": "Doc" + }, + { + "id": "dashboard-delivery-days-page", + "type": "subpage", + "title": "Delivery Time", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page", + "children": [ + { + "id": "dokan_delivery_time", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time", + "children": [ + { + "id": "allow_vendor_override_settings", + "type": "field", + "title": "Allow Vendor Customization", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_allow_vendor_override_settings", + "children": [], + "description": "Allow vendors to customize their own delivery time settings.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.allow_vendor_override_settings", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "selection_required", + "type": "field", + "title": "Require Delivery Date and Time", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_selection_required", + "children": [], + "description": "Make delivery date and time selection required for all orders.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.selection_required", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "delivery_support", + "type": "field", + "title": "Delivery Support", + "icon": "", + "tooltip": "Home delivery refers to that you will deliver to users set location. Store pickup refers to that customers will come to your location and pickup the order.", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_delivery_support", + "children": [], + "description": "Select the types of delivery services offered.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_support", + "dependencies": [], + "validations": [], + "variant": "multicheck", + "value": [ "delivery", "store-pickup" ], + "default": [ "delivery", "store-pickup" ], + "options": [ + { + "value": "delivery", + "title": "Home Delivery" + }, + { + "value": "store-pickup", + "title": "Store Pickup" + } + ], + "helper_text": "" + }, + { + "id": "delivery_date_label", + "type": "field", + "title": "Delivery Date Label", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_delivery_date_label", + "children": [], + "description": "This label will show on checkout page", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_date_label", + "dependencies": [], + "validations": [ + { + "rules": "required|not_empty", + "message": "Delivery date label can not be empty", + "params": [], + "self": "dashboard-delivery-days-page.dokan_delivery_time.delivery_date_label" + } + ], + "variant": "text", + "value": "Delivery Date", + "default": "Delivery Date", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "delivery_buffer_unit", + "type": "field", + "title": "Delivery Blocked Buffer Units", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_delivery_buffer_unit", + "children": [], + "description": "Select the time unit for the delivery buffer. Choose "Days" for full calendar days or "Hours" for more precise same-day delivery control.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_unit", + "dependencies": [], + "validations": [], + "variant": "select", + "value": "days", + "default": "days", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "days", + "title": "Days" + }, + { + "value": "hours", + "title": "Hours" + } + ] + }, + { + "id": "preorder_date", + "type": "field", + "title": "Buffer Duration", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_preorder_date", + "children": [], + "description": "Minimum number of days between order and delivery. Set to 0 for same-day delivery, 1 for next-day delivery, etc.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.preorder_date", + "dependencies": [ + { + "key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_unit", + "value": "days", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "dashboard-delivery-days-page.dokan_delivery_time.preorder_date" + }, + { + "key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_unit", + "value": "hours", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "dashboard-delivery-days-page.dokan_delivery_time.preorder_date" + } + ], + "validations": [ + { + "rules": "min_value", + "message": "Delivery blocked buffer can not be empty or less than 0", + "params": { + "min": 0 + }, + "self": "dashboard-delivery-days-page.dokan_delivery_time.preorder_date" + } + ], + "variant": "number", + "value": 0, + "default": "0", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "days", + "prefix": "", + "image_url": "", + "minimum": 0, + "maximum": null, + "step": 0.1, + "addon_icon": false + }, + { + "id": "delivery_buffer_value", + "type": "field", + "title": "Buffer Duration", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_delivery_buffer_value", + "children": [], + "description": "Minimum number of hours between order and delivery. If the time exceeds today's store hours, delivery starts from the next business day.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_value", + "dependencies": [ + { + "key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_unit", + "value": "hours", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_value" + }, + { + "key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_unit", + "value": "days", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "===", + "self": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_value" + } + ], + "validations": [ + { + "rules": "min_value", + "message": "Delivery buffer hours can not be empty or less than 0", + "params": { + "min": 0 + }, + "self": "dashboard-delivery-days-page.dokan_delivery_time.delivery_buffer_value" + } + ], + "variant": "number", + "value": 0, + "default": "0", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "hours", + "prefix": "", + "image_url": "", + "minimum": 0, + "maximum": null, + "step": 0.1, + "addon_icon": false + }, + { + "id": "time_slot_minutes", + "type": "field", + "title": "Time Slot", + "icon": "", + "tooltip": "Check this to allow vendors to override & customize the delivery settings. Otherwise, admin configured settings will be applied.", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_time_slot_minutes", + "children": [], + "description": "Time slot in minutes. Please keep opening and closing time divisible by slot minutes. E.g ( 30, 60, 120 ). Also this cannot be empty, less then 10 or greater then 1440 minutes.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.time_slot_minutes", + "dependencies": [], + "validations": [ + { + "rules": "not_empty|min_value|max_value", + "message": "Time slot minutes can not be empty, less than 10 minutes or greater than 1440 minutes", + "params": { + "min": 10, + "max": 1440 + }, + "self": "dashboard-delivery-days-page.dokan_delivery_time.time_slot_minutes" + } + ], + "variant": "number", + "value": 30, + "default": "30", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "Minutes", + "prefix": "", + "image_url": "", + "minimum": null, + "maximum": 1440, + "step": 30, + "addon_icon": false + }, + { + "id": "order_per_slot", + "type": "field", + "title": "Order Per Slot", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_order_per_slot", + "children": [], + "description": "Maximum number of orders that can be scheduled for each time slot. Set to 0 for unlimited capacity.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.order_per_slot", + "dependencies": [], + "validations": [], + "variant": "number", + "value": 0, + "default": "0", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "minimum": null, + "maximum": null, + "step": 0.1, + "addon_icon": false + }, + { + "id": "delivery_box_info", + "type": "field", + "title": "Delivery Box Info", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dokan_delivery_time_delivery_box_info", + "children": [], + "description": "Message shown on checkout page about delivery timing. %DAY% will show the blocked buffer days.", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time.delivery_box_info", + "dependencies": [], + "validations": [ + { + "rules": "required|not_empty", + "message": "Delivery box information can not be empty", + "params": [], + "self": "dashboard-delivery-days-page.dokan_delivery_time.delivery_box_info" + } + ], + "variant": "textarea", + "value": "This store needs Y% day(s) to process your delivery request", + "default": "This store needs %DAY% day(s) to process your delivery request", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "dashboard-delivery-days-page.dokan_delivery_time", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "dashboard-delivery-days-page", + "type": "section", + "title": "Delivery Days", + "icon": "", + "tooltip": "Configure delivery schedule and operating hours for each day of the week. At least one delivery date should be selected.", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dashboard-delivery-days-page", + "children": [ + { + "id": "delivery_days_schedule", + "type": "field", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_shipment_dashboard-delivery-days-page_dashboard-delivery-days-page_delivery_days_schedule", + "children": [], + "description": "", + "dependency_key": "dashboard-delivery-days-page.dashboard-delivery-days-page.delivery_days_schedule", + "dependencies": [], + "validations": [], + "variant": "delivery_days", + "value": { + "monday": { + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "tuesday": { + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "wednesday": { + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "thursday": { + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "friday": { + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "saturday": { + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "sunday": { + "delivery_status": "", + "opening_time": "", + "closing_time": "" + } + }, + "default": { + "monday": { + "day_name": "Monday", + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "tuesday": { + "day_name": "Tuesday", + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "wednesday": { + "day_name": "Wednesday", + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "thursday": { + "day_name": "Thursday", + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "friday": { + "day_name": "Friday", + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "saturday": { + "day_name": "Saturday", + "delivery_status": "", + "opening_time": "", + "closing_time": "" + }, + "sunday": { + "day_name": "Sunday", + "delivery_status": "", + "opening_time": "", + "closing_time": "" + } + }, + "days": { + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday" + }, + "is12Hour": true + } + ], + "description": "Configure delivery schedule and operating hours for each day of the week. At least one delivery date should be selected.", + "dependency_key": "dashboard-delivery-days-page.dashboard-delivery-days-page", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Set up delivery scheduling options and time slots for customer orders.", + "dependency_key": "dashboard-delivery-days-page", + "dependencies": [], + "validations": [], + "priority": 200, + "doc_link": "https://dokan.co/docs/wordpress/modules/dokan-delivery-time/", + "doc_link_text": "Doc" + } + ], + "description": "", + "dependency_key": "", + "dependencies": [], + "validations": [] + }, + { + "id": "moderation", + "type": "page", + "title": "Moderation", + "icon": "Settings2", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation", + "children": [ + { + "id": "rma", + "type": "subpage", + "title": "RMA", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma", + "children": [ + { + "id": "rma_settings", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma_rma_settings", + "children": [ + { + "id": "rma_order_status", + "type": "field", + "title": "Order Status", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma_rma_settings_rma_order_status", + "children": [], + "description": "Choose which order status allows customers to start the return process.", + "dependency_key": "rma.rma_settings.rma_order_status", + "dependencies": [], + "validations": [], + "variant": "select", + "value": "wc-completed", + "default": "wc-completed", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "title": "Pending payment", + "value": "wc-pending" + }, + { + "title": "Processing", + "value": "wc-processing" + }, + { + "title": "On hold", + "value": "wc-on-hold" + }, + { + "title": "Completed", + "value": "wc-completed" + }, + { + "title": "Cancelled", + "value": "wc-cancelled" + }, + { + "title": "Refunded", + "value": "wc-refunded" + }, + { + "title": "Failed", + "value": "wc-failed" + }, + { + "title": "Draft", + "value": "wc-checkout-draft" + } + ] + }, + { + "id": "rma_refund_requests", + "type": "field", + "title": "Refund Requests", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma_rma_settings_rma_refund_requests", + "children": [], + "description": "Let customers submit refund requests directly through vendor stores.", + "dependency_key": "rma.rma_settings.rma_refund_requests", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "rma_coupon_requests", + "type": "field", + "title": "Coupon Requests", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma_rma_settings_rma_coupon_requests", + "children": [], + "description": "Allow customers to request for coupons as store credit.", + "dependency_key": "rma.rma_settings.rma_coupon_requests", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "rma.rma_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "reasons_of_rma_settings", + "type": "section", + "title": "Reasons for RMA", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma_reasons_of_rma_settings", + "children": [ + { + "id": "rma_reasons", + "type": "field", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma_reasons_of_rma_settings_rma_reasons", + "children": [], + "description": "", + "dependency_key": "rma.reasons_of_rma_settings.rma_reasons", + "dependencies": [], + "validations": [], + "variant": "repeater", + "value": [ + { + "id": "broken", + "value": "Broken", + "order": 1, + "title": "Broken" + }, + { + "id": "not_working", + "value": "Not working", + "order": 2, + "title": "Not working" + }, + { + "id": "duplicate/clone_copy", + "value": "Duplicate/clone copy", + "order": 3, + "title": "Duplicate/clone copy" + } + ], + "items": [], + "default": [ + { + "id": "broken", + "value": "Broken", + "order": 1, + "title": "Broken" + }, + { + "id": "not_working", + "value": "Not working", + "order": 2, + "title": "Not working" + }, + { + "id": "duplicate/clone_copy", + "value": "Duplicate/clone copy", + "order": 3, + "title": "Duplicate/clone copy" + } + ], + "new_title": "Add Reasons for RMA" + } + ], + "description": "Set up return reasons for customers to choose from.", + "dependency_key": "rma.reasons_of_rma_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "refund_policy_settings", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma_refund_policy_settings", + "children": [ + { + "id": "rma_refund_policy", + "type": "field", + "title": "Refund Policy", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_rma_refund_policy_settings_rma_refund_policy", + "children": [], + "description": "Create a standard refund policy for all vendors. Vendors can customize this policy for their specific needs.", + "dependency_key": "rma.refund_policy_settings.rma_refund_policy", + "dependencies": [], + "validations": [], + "variant": "rich_text", + "value": "", + "default": "", + "placeholder": "Enter your refund policy here...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "", + "dependency_key": "rma.refund_policy_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Allow vendors to offer customize return and warranty facility on their sold products and Configure customer return options.", + "dependency_key": "rma", + "dependencies": [], + "validations": [], + "priority": 100, + "doc_link": "https://wedevs.com/docs/dokan-lite/moderation/rma/", + "doc_link_text": "Doc" + }, + { + "id": "livechat", + "type": "subpage", + "title": "Live Chat", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat", + "children": [ + { + "id": "livechat_settings", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings", + "children": [ + { + "id": "livechat_enabled", + "type": "field", + "title": "Live Chat", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings_livechat_enabled", + "children": [], + "description": "Enable live chat between vendor and customer", + "dependency_key": "livechat.livechat_settings.livechat_enabled", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "livechat_provider", + "type": "field", + "title": "Chat Provider", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings_livechat_provider", + "children": [], + "description": "Select which chat platform to use.", + "dependency_key": "livechat.livechat_settings.livechat_provider", + "dependencies": [], + "validations": [], + "variant": "customize_radio", + "value": "messenger", + "default": "talkjs", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "title": "Messenger", + "value": "messenger", + "description": "Connect with customers via Facebook Messenger", + "icon": "https://picsum.photos/100" + }, + { + "title": "Talk JS", + "value": "talkjs", + "description": "Real-time chat with TalkJS integration", + "icon": "https://picsum.photos/100" + }, + { + "title": "Tawk.to", + "value": "tawkto", + "description": "Live chat support with Tawk.to platform", + "icon": "https://picsum.photos/100" + }, + { + "title": "WhatsApp", + "value": "whatsapp", + "description": "Connect with customers via WhatsApp Business", + "icon": "https://picsum.photos/100" + } + ], + "radio_variant": "radio_box", + "css_class": "", + "grid_config": [] + }, + { + "id": "livechat_app_id", + "type": "field", + "title": "App ID", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings_livechat_app_id", + "children": [], + "description": "Insert App ID Get your App ID \u2197", + "dependency_key": "livechat.livechat_settings.livechat_app_id", + "dependencies": [ + { + "key": "livechat.livechat_settings.livechat_provider", + "value": "talkjs", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "livechat.livechat_settings.livechat_app_id" + }, + { + "key": "livechat.livechat_settings.livechat_provider", + "value": "talkjs", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "livechat.livechat_settings.livechat_app_id" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your App ID", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "livechat_app_secret", + "type": "field", + "title": "App Secret", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings_livechat_app_secret", + "children": [], + "description": "Insert App Secret Get your App Secret \u2197", + "dependency_key": "livechat.livechat_settings.livechat_app_secret", + "dependencies": [ + { + "key": "livechat.livechat_settings.livechat_provider", + "value": "talkjs", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "livechat.livechat_settings.livechat_app_secret" + }, + { + "key": "livechat.livechat_settings.livechat_provider", + "value": "talkjs", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "livechat.livechat_settings.livechat_app_secret" + } + ], + "validations": [], + "variant": "show_hide", + "value": "", + "default": "", + "placeholder": "Enter your App Secret", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "wa_opening_method", + "type": "field", + "title": "Opening Pattern", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings_wa_opening_method", + "children": [], + "description": "", + "dependency_key": "livechat.livechat_settings.wa_opening_method", + "dependencies": [ + { + "key": "livechat.livechat_settings.livechat_provider", + "value": "whatsapp", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "livechat.livechat_settings.wa_opening_method" + }, + { + "key": "livechat.livechat_settings.livechat_provider", + "value": "whatsapp", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "livechat.livechat_settings.wa_opening_method" + } + ], + "validations": [], + "variant": "select", + "value": "in_app", + "default": "in_app", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "in_browser", + "title": "Browser" + }, + { + "value": "in_app", + "title": "App" + } + ] + }, + { + "id": "wa_pre_filled_message", + "type": "field", + "title": "Pre-filled Message", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings_wa_pre_filled_message", + "children": [], + "description": "Text that appears in the WhatsApp Chat window. Add variables {store_name}, {store_url} to replace with store name, store url", + "dependency_key": "livechat.livechat_settings.wa_pre_filled_message", + "dependencies": [ + { + "key": "livechat.livechat_settings.livechat_provider", + "value": "whatsapp", + "to_self": true, + "attribute": "display", + "effect": "show", + "comparison": "===", + "self": "livechat.livechat_settings.wa_pre_filled_message" + }, + { + "key": "livechat.livechat_settings.livechat_provider", + "value": "whatsapp", + "to_self": true, + "attribute": "display", + "effect": "hide", + "comparison": "!==", + "self": "livechat.livechat_settings.wa_pre_filled_message" + } + ], + "validations": [], + "variant": "textarea", + "value": "Hello {store_name}, I have an enquiry regarding your store at {store_url}", + "default": "Hello {store_name}, I have an enquiry regarding your store at {store_url}", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "livechat_vendor_page_button", + "type": "field", + "title": "Chat Button on Vendor Page", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings_livechat_vendor_page_button", + "children": [], + "description": "Display a chat button on vendor store pages", + "dependency_key": "livechat.livechat_settings.livechat_vendor_page_button", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "livechat_product_page_button", + "type": "field", + "title": "Chat Button on Product Page", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_livechat_livechat_settings_livechat_product_page_button", + "children": [], + "description": "Choose where to show the chat button on product pages.", + "dependency_key": "livechat.livechat_settings.livechat_product_page_button", + "dependencies": [], + "validations": [], + "variant": "customize_radio", + "value": "above_tab", + "default": "above_tab", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "title": "Above Product Tab", + "value": "above_tab", + "description": "", + "image": image + }, + { + "title": "Inside Product Tab", + "value": "inside_tab", + "description": "", + "image": image2 + }, + { + "title": "Don't Show", + "value": "dont_show", + "description": "", + "image": image + } + ], + "radio_variant": "template", + "css_class": "md:!grid-cols-3", + "grid_config": [] + } + ], + "description": "", + "dependency_key": "livechat.livechat_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure live chat settings for vendor-customer communication.", + "dependency_key": "livechat", + "dependencies": [], + "validations": [], + "priority": 300, + "doc_link": "https://wedevs.com/docs/dokan-lite/moderation/livechat/", + "doc_link_text": "Doc" + }, + { + "id": "report_abuse", + "type": "subpage", + "title": "Report Abuse", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_report_abuse", + "children": [ + { + "id": "report_abuse_settings", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_report_abuse_report_abuse_settings", + "children": [ + { + "id": "report_abuse_reported_by", + "type": "field", + "title": "Reported by", + "icon": "", + "tooltip": "Restrict Product Abuse feature for logged-In users only.", + "display": true, + "hook_key": "dokan_settings_moderation_report_abuse_report_abuse_settings_report_abuse_reported_by", + "children": [], + "description": "Choose who has permission to report products.", + "dependency_key": "report_abuse.report_abuse_settings.report_abuse_reported_by", + "dependencies": [], + "validations": [], + "variant": "radio_capsule", + "value": "logged_in_users", + "default": "logged_in_users", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "value": "logged_in_users", + "title": "Logged-in Users", + "icon": "" + }, + { + "value": "all_users", + "title": "All Users", + "icon": "" + } + ] + }, + { + "id": "report_abuse_reasons", + "type": "field", + "title": "Reasons for Abuse Reports", + "icon": "", + "tooltip": "Add multiple customized reasons.", + "display": true, + "hook_key": "dokan_settings_moderation_report_abuse_report_abuse_settings_report_abuse_reasons", + "children": [], + "description": "Create a list of reasons users can select when reporting products.", + "dependency_key": "report_abuse.report_abuse_settings.report_abuse_reasons", + "dependencies": [], + "validations": [], + "variant": "repeater", + "value": [ + { + "id": "spam_content", + "title": "This content is spam", + "order": 1 + }, + { + "id": "adult_content", + "title": "This content should marked as adult", + "order": 2 + }, + { + "id": "abusive_content", + "title": "This content is abusive", + "order": 3 + }, + { + "id": "violent_content", + "title": "This content is violent", + "order": 4 + }, + { + "id": "nudity_content", + "title": "This content contains nudity", + "order": 5 + } + ], + "items": [], + "default": [ + { + "id": "spam_content", + "title": "This content is spam", + "order": 1 + }, + { + "id": "adult_content", + "title": "This content should marked as adult", + "order": 2 + }, + { + "id": "abusive_content", + "title": "This content is abusive", + "order": 3 + }, + { + "id": "violent_content", + "title": "This content is violent", + "order": 4 + }, + { + "id": "nudity_content", + "title": "This content contains nudity", + "order": 5 + } + ], + "new_title": "Add Reasons for Report Abuse" + } + ], + "description": "", + "dependency_key": "report_abuse.report_abuse_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure your marketplace to ensure safety and honesty by allowing customers to report fraudulent products.", + "dependency_key": "report_abuse", + "dependencies": [], + "validations": [], + "priority": 400, + "doc_link": "https://dokan.co/docs/wordpress/modules/dokan-report-abuse/" + }, + { + "id": "store_support", + "type": "subpage", + "title": "Store Support", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_store_support", + "children": [ + { + "id": "store_support_settings", + "type": "section", + "title": "Store Support Settings", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_store_support_store_support_settings", + "children": [ + { + "id": "store_support_order_details", + "type": "field", + "title": "Display on Order Details", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_store_support_store_support_settings_store_support_order_details", + "children": [], + "description": "Add a support button to order details pages for customers to easily contact vendors about their orders.", + "dependency_key": "store_support.store_support_settings.store_support_order_details", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "store_support_button_label", + "type": "field", + "title": "Support Button Label", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_store_support_store_support_settings_store_support_button_label", + "children": [], + "description": "Customize the text that appears on the support button.", + "dependency_key": "store_support.store_support_settings.store_support_button_label", + "dependencies": [], + "validations": [], + "variant": "text", + "value": "Get Support", + "default": "Get Support", + "placeholder": "Get Support", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + }, + { + "id": "store_support_product_page", + "type": "field", + "title": "Display on Single Product Page", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_moderation_store_support_store_support_settings_store_support_product_page", + "children": [], + "description": "Choose where to show the support button on individual product pages for customer support.", + "dependency_key": "store_support.store_support_settings.store_support_product_page", + "dependencies": [], + "validations": [], + "variant": "customize_radio", + "value": "above_tab", + "default": "above_tab", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "title": "Above Product Tab", + "value": "above_tab", + "description": "", + "image": image + }, + { + "title": "Inside Product Tab", + "value": "inside_tab", + "description": "", + "image": image2 + }, + { + "title": "Don't Show", + "value": "dont_show", + "description": "", + "image": image + } + ], + "radio_variant": "template", + "css_class": "md:!grid-cols-3", + "grid_config": [] + } + ], + "description": "Configure store support button display and customization.", + "dependency_key": "store_support.store_support_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure store support settings for vendor-customer communication.", + "dependency_key": "store_support", + "dependencies": [], + "validations": [], + "priority": 200, + "doc_link": "https://wedevs.com/docs/dokan-lite/moderation/store-support/", + "doc_link_text": "Doc" + } + ], + "description": "Configure moderation settings, return policies, and customer request management.", + "dependency_key": "", + "dependencies": [], + "validations": [] + }, + { + "id": "compliance", + "type": "page", + "title": "Compliance", + "icon": "Files", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance", + "children": [ + { + "id": "privacy", + "type": "subpage", + "title": "Privacy", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy", + "children": [ + { + "id": "privacy_settings", + "type": "section", + "title": "Privacy Settings", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy_privacy_settings", + "children": [ + { + "id": "privacy_policy_display", + "type": "field", + "title": "Privacy Policy Display", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy_privacy_settings_privacy_policy_display", + "children": [], + "description": "Show privacy policy link on vendor store contact forms.", + "dependency_key": "privacy.privacy_settings.privacy_policy_display", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "privacy_policy_page", + "type": "field", + "title": "Privacy Policy Page", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy_privacy_settings_privacy_policy_page", + "children": [], + "description": "Choose which page displays your privacy policy", + "dependency_key": "privacy.privacy_settings.privacy_policy_page", + "dependencies": [], + "validations": [], + "variant": "select", + "value": "", + "default": "", + "placeholder": "Select a page", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [ + { + "title": "Classic Cart", + "value": 582 + }, + { + "title": "", + "value": 329 + }, + { + "title": "Single Product", + "value": 320 + }, + { + "title": "Block Shop", + "value": 316 + }, + { + "title": "Vendor registration", + "value": 106 + }, + { + "title": "Product Subscription", + "value": 61 + }, + { + "title": "Request for Quote", + "value": 60 + }, + { + "title": "Checkout 2", + "value": 54 + }, + { + "title": "My account Bn", + "value": 222 + }, + { + "title": "My account", + "value": 219 + }, + { + "title": "My account", + "value": 13 + }, + { + "title": "Checkout", + "value": 12 + }, + { + "title": "Cart", + "value": 11 + }, + { + "title": "Shop", + "value": 10 + }, + { + "title": "test-board", + "value": 194 + }, + { + "title": "My Orders", + "value": 8 + }, + { + "title": "Store List", + "value": 7 + }, + { + "title": "Dashboard", + "value": 6 + }, + { + "title": "Sample Page", + "value": 2 + } + ] + }, + { + "id": "privacy_policy_content", + "type": "field", + "title": "Privacy Policy Content", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy_privacy_policy_content_privacy_policy_content", + "children": [], + "description": "Create or edit your privacy policy text that will be displayed to users", + "dependency_key": "privacy.privacy_policy_content.privacy_policy_content", + "dependencies": [], + "validations": [], + "variant": "rich_text", + "value": "", + "default": "", + "placeholder": "Enter your privacy policy content here...", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "" + } + ], + "description": "Configure privacy policy display and content settings.", + "dependency_key": "privacy.privacy_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "admin_access_section", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy_admin_access_section", + "children": [ + { + "id": "admin_access", + "type": "field", + "title": "Admin Area Access", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy_admin_access_section_admin_access", + "children": [], + "description": "Prevent vendors from accessing the wp-admin dashboard area. If HPOS feature is enabled, admin access will be blocked regardless of this setting.", + "dependency_key": "privacy.admin_access_section.admin_access", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "privacy.admin_access_section", + "dependencies": [], + "validations": [], + "doc_link": "" + }, + { + "id": "data_clear_section", + "type": "section", + 'is_danger': true, + "title": "", + "icon": "TriangleAlert", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy_data_clear_section", + "children": [ + { + "id": "data_clear_on_uninstall", + "type": "field", + "title": "Data Clear Consent", + "icon": "TriangleAlert", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_privacy_data_clear_section_data_clear_on_uninstall", + "children": [], + "description": "Permanently delete all data and database tables related to Dokan and Dokan Pro plugins. This action cannot be undone.", + "dependency_key": "privacy.data_clear_section.data_clear_on_uninstall", + "dependencies": [], + "validations": [], + "is_danger": true, + "variant": "switch", + "value": "off", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Clear Data" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": "error", + "should_confirm": true, + "confirm_modal": { + "title": "Are you sure to delete all data?", + "confirmationTitle": "Are you sure to delete all data?", + "description": "All data and tables related to Dokan and Dokan Pro will be deleted permanently. You will not be able to recover your lost data unless you keep a backup. Do you want to continue?", + "confirmText": "Yes, Delete", + "cancelText": "Cancel", + "checkboxLabel": "Yes, I understand." + } + } + ], + "description": "", + "dependency_key": "privacy.data_clear_section", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Configure privacy policy settings and content for vendor stores.", + "dependency_key": "privacy", + "dependencies": [], + "validations": [], + "priority": 100, + "doc_link": "https://wedevs.com/docs/dokan-lite/compliance/privacy/", + "doc_link_text": "Doc" + }, + { + "id": "eu_compliance", + "type": "subpage", + "title": "EU Compliance", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_eu_compliance", + "children": [ + { + "id": "eu_compliance_settings", + "type": "section", + "title": "", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_eu_compliance_eu_compliance_settings", + "children": [ + { + "id": "eu_vendor_registration_display", + "type": "field", + "title": "Display in Vendor Registration Form?", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_eu_compliance_eu_compliance_settings_eu_vendor_registration_display", + "children": [], + "description": "Show required EU business fields during vendor account creation.", + "dependency_key": "eu_compliance.eu_compliance_settings.eu_vendor_registration_display", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "on", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "vendor_extra_fields", + "type": "field", + "title": "Vendor Extra Fields", + "icon": "", + "tooltip": "Allow extra input fields for vendor info. Uncheck the fields that won't be available to the vendors.", + "display": true, + "hook_key": "dokan_settings_compliance_eu_compliance_eu_compliance_settings_vendor_extra_fields", + "children": [], + "description": "Checked fields will be used as extra fields for vendors.", + "dependency_key": "eu_compliance.eu_compliance_settings.vendor_extra_fields", + "dependencies": [], + "validations": [], + "variant": "multicheck", + "value": [ "company_name" ], + "default": [ "company_name" ], + "options": [ + { + "value": "company_name", + "title": "Company Name" + }, + { + "value": "company_id_number", + "title": "Company ID/EUID Number" + }, + { + "value": "vat_number", + "title": "Vat/Tax ID" + }, + { + "value": "bank_name", + "title": "Name of Bank" + }, + { + "value": "bank_iban", + "title": "Account/IBAN" + } + ], + "helper_text": "" + }, + { + "id": "customer_extra_fields", + "type": "field", + "title": "Customer Extra Fields", + "icon": "", + "tooltip": "Allow extra input fields for customer billing and shipping address.", + "display": true, + "hook_key": "dokan_settings_compliance_eu_compliance_eu_compliance_settings_customer_extra_fields", + "children": [], + "description": "Checked fields will be used as extra fields for customers.", + "dependency_key": "eu_compliance.eu_compliance_settings.customer_extra_fields", + "dependencies": [], + "validations": [], + "variant": "multicheck", + "value": [ "billing_dokan_bank_iban" ], + "default": [ "billing_dokan_bank_iban" ], + "options": [ + { + "value": "billing_dokan_company_id_number", + "title": "Company ID/EUID Number" + }, + { + "value": "billing_dokan_vat_number", + "title": "Vat/Tax ID" + }, + { + "value": "billing_dokan_bank_name", + "title": "Name of Bank" + }, + { + "value": "billing_dokan_bank_iban", + "title": "Bank IBAN" + } + ], + "helper_text": "" + }, + { + "id": "germanized_support_vendors", + "type": "field", + "title": "Germanized Support For Vendors", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_eu_compliance_eu_compliance_settings_germanized_support_vendors", + "children": [], + "description": "This will add a new section in vendor product edit page with fields provided by Germanized for WooCommerce plugin.", + "dependency_key": "eu_compliance.eu_compliance_settings.germanized_support_vendors", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + }, + { + "id": "vendor_invoice_number_override", + "type": "field", + "title": "Vendor's Can Override Invoice Number", + "icon": "", + "tooltip": "", + "display": true, + "hook_key": "dokan_settings_compliance_eu_compliance_eu_compliance_settings_vendor_invoice_number_override", + "children": [], + "description": "If you enable this setting, each vendor will be able to customize invoice number for their orders.", + "dependency_key": "eu_compliance.eu_compliance_settings.vendor_invoice_number_override", + "dependencies": [], + "validations": [], + "variant": "switch", + "value": "on", + "default": "off", + "placeholder": "", + "readonly": false, + "disabled": false, + "size": 20, + "helper_text": "", + "postfix": "", + "prefix": "", + "image_url": "", + "options": [], + "enable_state": { + "value": "on", + "title": "Enabled" + }, + "disable_state": { + "value": "off", + "title": "Disabled" + }, + "switcher_type": null, + "should_confirm": false, + "confirm_modal": [] + } + ], + "description": "", + "dependency_key": "eu_compliance.eu_compliance_settings", + "dependencies": [], + "validations": [], + "doc_link": "" + } + ], + "description": "Collect mandatory business information required by European Union law for marketplace operations.", + "dependency_key": "eu_compliance", + "dependencies": [], + "validations": [], + "priority": 200, + "doc_link": "https://wedevs.com/docs/dokan-lite/compliance/eu-compliance/", + "doc_link_text": 'Doc' + } + ], + "description": "Configure compliance settings, privacy policies, and legal requirements.", + "dependency_key": "", + "dependencies": [], + "validations": [] + } +]; + +/** + * Dokan settings + */ +export const DokanSettings: Story = { + args: { + schema: dokanSettingsSchema, + title: 'Dokan Settings', + }, + render: (args) =>{element.validationError}
+{element.validationError}
+{element.tooltip}
-{element.tooltip}
+- {element.description} -
- )}