Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3028 Add renewal pricing option
  3. CORE-3093

Add package setting for whether to use renewal price for upgrades

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      Create new field on the packages table

      ALTER TABLE `packages` ADD `upgrade_use_renewal` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1'

      Add a checkbox to the package add/edit pages. Label it 'Use renewal prices for upgrades'. Also include a tooltip saying the following:

      When enabled, upgrading to this packages will use renewal prices if they are set. The same will apply to any configurable options that are altered in the upgrade. The regular price will be used if this setting is disabled.

      Update the upgrade interfaces/pricing presenter to consider this setting.

        Activity

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Fix Version/s 4.6.0-b1 [ 11117 ]
        jonathan Jonathan Reissmueller made changes -
        Component/s Staff Interface [ 10000 ]
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Description Create new field on the packages table
        {quote}ALTER TABLE `packages` ADD `upgrade_use_renewal` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1'{quote}

        Add a checkbox to the package add/edit pages. Label it 'Use renewal prices for upgrades'. Also include a tooltip saying the following:
        {quote}When enabled, this will cause the price of upgrading to this packages to use renewal prices if they are set. The same will apply to any configurable options that are altered in the upgrade. The regular price will be used if this setting is disabled.{quote}

        Update the upgrade interfaces/pricing presenter to consider this setting.
        Create new field on the packages table
        {quote}ALTER TABLE `packages` ADD `upgrade_use_renewal` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1'{quote}

        Add a checkbox to the package add/edit pages. Label it 'Use renewal prices for upgrades'. Also include a tooltip saying the following:
        {quote}When enabled, upgrading to this packages will use renewal prices if they are set. The same will apply to any configurable options that are altered in the upgrade. The regular price will be used if this setting is disabled.{quote}

        Update the upgrade interfaces/pricing presenter to consider this setting.
        Automated transition triggered when Jonathan Reissmueller created pull request #649 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        Automated transition triggered when Jonathan Reissmueller merged pull request #649 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/May/19

              Agile