1. Home
  2. Docs
  3. WHMPress
  4. Shortcodes
  5. Price Matrix Extended

Price Matrix Extended

This is the extended version of the price matrix having order and detail button. This also includes the detail page of all services (Hosting Plans) having their description and prices along with billing cycles in it. This Lists all the services along with prices and billing cycles in the default currency. Used to show price matrix extended.

[whmpress_price_matrix_extended]

Parameters

  • html_template: Different templates are available in this shortcode. Here is the choice to choose different HTML templates.
  • html_id: add a custom id to the HTML element for further CSS customization.
  • html_class: Add a custom class to apply to the table.
  • table_id: add a custom id to the table element for further CSS customization.
  • 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.
  • type: comma-separated values of your service groups names or ids. No spaces in comma-separated values.
  • name: comma-separated values of your package names.
  • groups: comma-separated values of your service groups names or ids. No spaces in comma-separated values.
  • billingcycles: Billing cycle of service, one from one-time, monthly, quarterly, semi-annually, annually, biennially, triennially. If skipped all billing cycles are returned.
  • hide_columns: comma-separated column names to hide.
  • decimals: how many decimals to show if skipped no decimals are displayed.
  • show_hidden: weather to show plans set to hidden in whmcs, yes or no.
  • replace_empty: Text to replace empty values, the default value is “x”
  • replace_zero: Text to replace if the package value is zero (free). The default value is “-“
  • hide_search: Yes or No to hide or show search.
  • search_label: This overrides the label for a search field.
  • search_placeholder: This overrides the default value for the search field.
  • data_table: Yes or No to apply data tables or not. To apply data tables you need to enable data table library from WHMpress > settings > styles > Include data tables.
  • hide_columns: accepts comma-separated column names to hide them from price matrix. For example sr,id
  • titles: accepts comma separated title names, if you want to override default titles of price matrix. In this field first title overrides sr, the second title overrides ID and so on.
  • detail_page_billing_cycle: Comma separated billing cycles to show on the detail page of the product.
Was this article helpful to you? Yes No 1