Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5404

Add an option to export and import Configurable Option Groups with Options

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.11.0
    • Fix Version/s: 5.13.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

      Export

      1. Under Packages > Configurable Options, add an "Export" option before "Delete".
      2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.
      3. Additionally, add an export option for individual Configurable Options, "Export" prior to "Delete". This will allow exporting individual options rather than an entire group if desired.

      Import

      1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
      2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
      3. If it passes validation, create all the options and assign them to this Option Group.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        admin Paul Phillips made changes -
        Rank Ranked lower
        admin Paul Phillips made changes -
        Description It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

        # Export

        1. Under Packages > Configurable Options, add an "Export" option before "Delete".
        2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.

        # Import

        1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
        2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
        3. If it passes validation, create all the options and assign them to this Option Group.
        h2. It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

        h2. Export

        1. Under Packages > Configurable Options, add an "Export" option before "Delete".
        2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.

        h2. Import

        1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
        2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
        3. If it passes validation, create all the options and assign them to this Option Group.
        admin Paul Phillips made changes -
        Description h2. It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

        h2. Export

        1. Under Packages > Configurable Options, add an "Export" option before "Delete".
        2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.

        h2. Import

        1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
        2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
        3. If it passes validation, create all the options and assign them to this Option Group.
        It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

        h2. Export

        1. Under Packages > Configurable Options, add an "Export" option before "Delete".
        2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.

        h2. Import

        1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
        2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
        3. If it passes validation, create all the options and assign them to this Option Group.
        admin Paul Phillips made changes -
        Description It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

        h2. Export

        1. Under Packages > Configurable Options, add an "Export" option before "Delete".
        2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.

        h2. Import

        1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
        2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
        3. If it passes validation, create all the options and assign them to this Option Group.
        It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

        h2. Export

        1. Under Packages > Configurable Options, add an "Export" option before "Delete".
        2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.
        3. Additionally, add an export option

        h2. Import

        1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
        2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
        3. If it passes validation, create all the options and assign them to this Option Group.
        admin Paul Phillips made changes -
        Description It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

        h2. Export

        1. Under Packages > Configurable Options, add an "Export" option before "Delete".
        2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.
        3. Additionally, add an export option

        h2. Import

        1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
        2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
        3. If it passes validation, create all the options and assign them to this Option Group.
        It can be a real pain to create lots of config options, and then re-create them with different pricing in a new group if you have different prices for the options on different packages. Adding an export/import option would also make sharing these export files possible so they could be included in module documentation, or with a module, etc.

        h2. Export

        1. Under Packages > Configurable Options, add an "Export" option before "Delete".
        2. Clicking Export will generate a JSON file containing only the options in the group. Include all the details for every option, and include any Option Logic in the generated JSON file.
        3. Additionally, add an export option for individual Configurable Options, "Export" prior to "Delete". This will allow exporting individual options rather than an entire group if desired.

        h2. Import

        1. When editing a Config Option Group, add an Import option with file selector. Ideally imports will be done on new groups with no options assigned.
        2. Upload the JSON file and do some validation. We want to make sure the JSON data is valid, passes any rules, AND that none of the options in the export file already exist in this group.
        3. If it passes validation, create all the options and assign them to this Option Group.

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: