Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.1.0-b1
-
Component/s: Plugins, Staff Interface
-
Labels:None
-
Epic Link:
Description
TLD Pricing
A list of all TLDs and a grid of their pricing for 1-10 years can be found here. New TLDs can be added anytime, but we should default to the most common (com/net/org) (this list should be pulled in from the DomainManagerTlds model). Registrar modules are attached to TLDs.
TLD | Pricing | DNS Management | Email Forwarding | ID Protection | EPP Code | Module |
---|---|---|---|---|---|---|
.com | [Open Pricing Modal] | [x] | [x] | [x] | [x] | [Enom](dropdown, default "None") |
- Add a text field and a button "Add TLD" below the table
- When clicked, make an ajax call to create a new TLD to the database and create a new row at the end of the table
- Allow the TLD's to be sorted here, which will sort them within the Domain Package Group, and control the order in which TLDs are listed on the order form.
- We should be able to set whether or not each specific addon (DNS Management, Email Forwarding, and ID Protection) will be available for the TLD.
NOTE: We may want to consider leaving DNS Management, Email Forwarding, and ID Protection off of the initial release. If we add them, staff should be able to specify which Configurable Option maps to each of these options elsewhere in the Domain Manager configuration.
- When this page is submitted we should create a domain package group if none exists and assign all TLD packages to that package group.
- When this page is submitted we should assign appropriate config option groups to each TLD package based on the selected addons. There should be a company setting for each addon defining what config option group it corresponds to. These settings are configured on the Configuration page.
- A default hidden domain package group should be created when the plugin is installed and set in the domain_manager_package_group setting
- A default config option group should be created for each addon (DNS Management, Email Forwarding, and ID Protection) and assigned to a company setting
Pricing Modal
When clicking on the "Open Pricing" button, a modal should open with a table with the following options:
Years | Register | Transfer | Renew | Enabled |
---|---|---|---|---|
1 Year | 9.95 | 8.95 | 14.95 | [x] |
2 Years | 19.90 | 17.90 | 29.90 | [x] |
3 Years | 29.85 | 26.85 | 44.85 | [x] |
4 Years | 39.80 | 35.80 | 59.80 | [x] |
5 Years | 49.75 | 44.75 | 74.75 | [x] |
6 Years | 59.70 | 53.70 | 89.70 | [x] |
7 Years | 69.65 | 62.65 | 104.65 | [x] |
8 Years | 79.60 | 71.60 | 119.60 | [x] |
9 Years | 89.55 | 80.55 | 134.55 | [x] |
10 Years | 99.50 | 89.50 | 149.50 | [x] |
- A currency drop down should appear above the pricing table. When changed a new table should be revealed for the selected currency
- When saved, a Package should be created for the TLD if one does not already exist, and pricing updated. (Do not replace existing pricings with new ones, just update existing ones or add) so that a package.pricings will have at max 10 records for each currency, 1-10 years.