{
    "componentChunkName": "component---node-modules-rocketseat-gatsby-theme-docs-core-src-templates-docs-query-js",
    "path": "/docs/dashboard/add-custom-user-plan/",
    "result": {"data":{"mdx":{"id":"b481d6e5-bf2d-58d9-9857-27927bd94dcb","excerpt":"You can grant certain users manually a premium / subscription status by creating a custom plan Open a specific LinkFive ID by clicking on the ID itself. Add a…","fields":{"slug":"/docs/dashboard/add-custom-user-plan/"},"frontmatter":{"title":"Add custom plan to a user","description":"You can also manually add a custom plan to a LinkFive user. See how it works.","image":null,"disableTableOfContents":null},"body":"var _excluded = [\"components\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {\n  \"title\": \"Add custom plan to a user\",\n  \"description\": \"You can also manually add a custom plan to a LinkFive user. See how it works.\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"blockquote\", null, mdx(\"p\", {\n    parentName: \"blockquote\"\n  }, \"You can grant certain users manually a premium / subscription status by creating a custom plan\")), mdx(\"p\", null, \"Open a specific LinkFive ID by clicking on the ID itself.\"), mdx(\"h2\", {\n    \"id\": \"add-a-custom-plan-to-a-user\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#add-a-custom-plan-to-a-user\",\n    \"aria-label\": \"add a custom plan to a user permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Add a Custom Plan to a User\"), mdx(DocImg, {\n    img: userSessionDetail,\n    title: \"LinkFive User Session Detail\",\n    mdxType: \"DocImg\"\n  }), mdx(\"p\", null, \"The overview shows the user session and all plans assigned to it. In our example above, the plans are empty.\"), mdx(\"p\", null, \"Click on the Button \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Add Custom Plan\")), mdx(DocImg, {\n    img: addCustomPlanDialog,\n    title: \"LinkFive Add Custom User Plan Dialog\",\n    mdxType: \"DocImg\"\n  }), mdx(\"p\", null, \"You can select the following:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The subscription group to which the plan should be assigned.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"A custom Product ID\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The start date of the plan\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The end date of the plan\")), mdx(\"p\", null, \"Click \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Save\"), \" to create the plan.\"), mdx(DocImg, {\n    img: userPlanCreated,\n    title: \"LinkFive Custom User Plan created\",\n    mdxType: \"DocImg\"\n  }), mdx(\"h2\", {\n    \"id\": \"delete-a-custom-user-plan\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#delete-a-custom-user-plan\",\n    \"aria-label\": \"delete a custom user plan permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Delete a Custom User Plan\"), mdx(\"p\", null, \"To delete a custom user plan, expand the details and click on the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"delete\"), \" button.\"), mdx(\"div\", {\n    style: {\n      \"height\": \"100px\"\n    }\n  }));\n}\n;\nMDXContent.isMDXComponent = true;","headings":[{"depth":2,"value":"Add a Custom Plan to a User"},{"depth":2,"value":"Delete a Custom User Plan"}]}},"pageContext":{"slug":"/docs/dashboard/add-custom-user-plan/","next":{"label":"Introduction","link":"/docs/docs/"},"repositoryEditUrl":"","repositoryProvider":""}},
    "staticQueryHashes": ["1954253342","2328931024","2501019404","973074209"]}