Displays price of a Domain with a lot of customization options. TLD is the only required parameters.
[whmpress_domain_price tld = ""]
Parameters
- tld: TLD of domain with dot included e.g. “.com”, TLD must be added in WHMCS.
- type: Domain registration, renewal or transfer
- domainregister: It will show the registration price of selected TLD.
- domainrenew: It will show the renewal price of the selected TLD.
- domaintransfer: It will show the transfer price of the selected TLD.
- html_id: add a custom id to the table element for further CSS customization.
- html_class: Add a custom class to the wrapping HTML element.
- currency: Used with multi-currency, set the Currency in which price is displayed, if not mentioned session currency is used (which user have selected), if no session is found, currency set as default in WHMCS is used.
- years: No of years to return the price for
- decimals: how many decimals to show. If skipped no decimals are displayed.
- hide_decimal: hide decimal if needed
- decimals_tag: HTML tag to wrap decimals, e.g. strong, b, sup or sub
- prefix: currency prefix of selected or default currency, if skipped no currency prefix is displayed. Takes following options
- yes = displays currency prefix
- no = do not display the prefix
- sup = show as superscript
- sub = show as a subscript
- b = show prefix as bold
- i = show prefix as italic
- u = show prefix as underlined
- suffix: currency suffix of selected or default currency, if skipped no currency suffix is displayed. Takes following options
- yes = displays currency prefix
- no = do not display the prefix
- sup = show as superscript
- sub = show as a subscript
- b = show prefix as bold
- i = show prefix as italic
- u = show prefix as underlined
- show_duration: yes for show duration with price
- yes = displays currency prefix
- no = do not display the prefix
- sup = show as superscript
- sub = show as a subscript
- b = show prefix as bold
- i = show prefix as italic
- u = show prefix as underlined
- show_duration_as: format to show duration
- long = displays complete duration e.g. year
- short = show short duration e.g. yr
- convert_monthly: shows calculated monthly price based on the duration selected in the billing cycle.