Quantcast
Channel: WHMpress Documents
Viewing all 92 articles
Browse latest View live

order_combo

$
0
0

Displays price of a WHMCS Service (Hosting Plan) for all billing cycle in dropdown list along with optional order button. Service id is the only required parameters,

[whmpress_order_combo id = "" ][/whmpress_order_combo]

Parameters

  • id: Id of the service (Hosting Plan), You can find the IDs of all your services in WHMpress > Services/Products section.
  • 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.
  • combo_class: Add a custom class to the combo
  • button_class: Add a custom class to the button
  • 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.
  • billingcycles: Billing cycle of service, one from one-time, monthly, quarterly, semi-annually, annually, biennially, triennially. If skipped yearly price is returned.
  • decimals: how many decimals to show, if skipped no decimals are displayed.
  • show_button: weather to show order button or not. Default is “yes”
  • rows: 1 or 2
    • 1: Button is shown in same row along with price combo
    • 2: show button in next row, below the combo
  • button_text: Text to show on button
  • show_discount: weather to show discount or not. Default is “yes”
  • discount_type: monthly or yearly
    • monthly: Additionally shows calculated monthly price with multiyear prices.
    • Yearly: Additionally shows calculated discount in % with multiyear prices.
  • prefix: show currency prefix
  • suffix: show currency suffix

order_combo

$
0
0

Displays price of a WHMCS Service (Hosting Plan) for all billing cycle in dropdown list along with optional order button. Service id is the only required parameters,

[whmpress_order_combo id = "" ][/whmpress_order_combo]

Parameters

  • id: Id of the service (Hosting Plan), You can find the IDs of all your services in WHMpress > Services/Products section.
  • 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.
  • combo_class: Add a custom class to the combo
  • button_class: Add a custom class to the button
  • 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.
  • billingcycles: Billing cycle of service, one from one-time, monthly, quarterly, semi-annually, annually, biennially, triennially. If skipped yearly price is returned.
  • decimals: how many decimals to show, if skipped no decimals are displayed.
  • show_button: weather to show order button or not. Default is “yes”
  • rows: 1 or 2
    • 1: Button is shown in same row along with price combo
    • 2: show button in next row, below the combo
  • button_text: Text to show on button
  • show_discount: weather to show discount or not. Default is “yes”
  • discount_type: monthly or yearly
    • monthly: Additionally shows calculated monthly price with multiyear prices.
    • Yearly: Additionally shows calculated discount in % with multiyear prices.
  • prefix: show currency prefix
  • suffix: show currency suffix

order_button

$
0
0

Displays order button for given WHMCS Service (Hosting Plan). Service id is the only required parameters, if no other parameters is given yearly service price is returned.

[whmpress_order_button id = "" ] [/whmpress_order_button]

Parameters

  • id: Id of the service (Hosting Plan), You can find the IDs of all your services in WHMpress > Services/Products section.
  • 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.
  • billingcycle: Billing cycle of service, one from one-time, monthly, quarterly, semi-annually, annually, biennially, triennially. If skipped yearly price is returned.
  • button_text: Text to show on button.

price_matrix_domain

$
0
0

List all the domains that you offer along with price in table format and with search option for quick find.

[whmpress_price_table_domain html_id = ""][/whmpress_price_table_domain]

Parameters

  • html_id: add a custom id to the wrapper HTML element for further CSS customization.
  • html_class: Add a custom class to wrapper HTML element. (two builtin classes)
  • 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.
  • show_tlds: comma separated values of tlds to to list in table. Only tlds that exists in WHMCS will be added. No spaces in comma separated values.
  • show_tlds_wildcard: show only tlds matching with given string. Very useful if you want to show only tlds related to your country, e.g. “.in”
  • hide_search: Yes or No to hide or show search.

WHMCS is not Syncing

price_matrix

$
0
0

List all the services you offer along with prices and billing cycles in default currency. Used to show price matrix.

[whmpress_price_table html_id = "" ][/whmpress_price_table]

Parameters

  • html_id: add a custom id to the HTML element for further CSS customization.
  • html_class: Add a custom class to the apply to 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, default value is “x”
  • replace_zero: Text to replace if a package value is zero (free). Default value is “-“
  • hide_search: Yes or No to hide or show search.

Installation & Updates

$
0
0

Installation & Updates

Installation & Activation

WHMpress installation is no different from any other plugin installation process, so you might be familiar with this process already. If you are not, you can follow these steps.

  1. Login to your wordpress installation
  2. Go to Plugins > Add New
  3. Click Upload link
  4. Browse to the downloaded plugin zip file (it is a file named whmpress.zip located within the zip file you downloaded from CodeCanyon, you will need to extract the package from CodeCanyon first) and choose whmpress.zip
  5. Click “Install Now” button
  6. Wait while plugin is uploaded to your server
  7. Click “Activate Plugin” buttonStart Here will go here

FTP Installation

  1. Upload the folder whmpress located within the package file you downloaded from CodeCanyon (you will need to extract the package from CodeCanyon first) using the FTP program of your choice in wp-content/plugins folder.
  2. Go to Plugins screen and find the newly uploaded WHMpress plugin in the list.
  3. Click Activate Plugin to activate it.

Updates

To update WHMpress from older version, please follow these steps.

  1. Login to CodeCanyon and re-download WHMpress and extract it.
  2. Now navigate to the Plugins menu in your WordPress admin area.
  3. Deactivate WHMpress and then delete it.
  4. Upload new version and Activate WHMpress. (All your settings will be retained)

Quick Start Guide

$
0
0

Quick Start Guide

WHMpress is a unique plugin, it will help you quickly build your webhosting website with WordPress. If offers WHMCS elements that you can insert in your pages without coding a single line. If you have been manually inserting your hosting plans and prices in past, or taking helps of programmer to link WHMCS, those days are over.

We have prepared this Quick Start video for you to get you up and running. See yourself how easy it is to set up a webhosting website with WHMpress.


domain_price

$
0
0

Displays price of a Domain with a lot of customization options. TLD is the only required parameters.

[whmpress_domain_price domain_tld = ""]

Parameters

  • Domain_tld: TLD of domain with dot included e.g. “.com”, TLD must be added in WHMCS.
  • Type: Domain registration, renewal or transfer
  • 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 prefix
    • sup = show as super script
    • sub = show as subscript
  • suffix: currency suffix of selected or default currency, if skipped no currency suffix is displayed. Takes following options
    • yes = displays currency suffix
    • no = do not display suffix
    • sup = show as super script
    • sub = show as subscript
  • show_duration: yes for show duration with price
    • sub = show as subscript
    • sup = show as super script
    • no = do not display
    • yes = displays duration (billing cycle)
  • 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 duration selected in billing cycle.

price

$
0
0

Displays price of a WHMCS Service (Hosting Plan) in lot of customization options. Service id is the only required parameters, will return “Invlid id”  if service id does not exist. If no other parameter is given yearly service price is returned.

[whmpress_price id = ""]

Parameters

  • id: Id of the service (Hosting Plan), You can find the IDs of all your services in WHMpress > Services/Products section. Click products/services link under WHMpress to see WHMCS services IDs.
  • 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.
  • billingcycle: Billing cycle of service, one from one-time, monthly, quarterly, semi-annually, annually, biennially, triennially. If skipped yearly price is returned.
  • 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 prefix
    • sup = show as super script
    • sub = show as subscript
  • suffix: currency suffix of selected or default currency, if skipped no currency suffix is displayed. Takes following options
    • yes = displays currency suffix
    • no = do not display suffix
    • sup = show as super script
    • sub = show as subscript
  • show_duration: yes for show duration with price
    • sub = show as subscript
    • sup = show as super script
    • no = do not display
    • yes = displays duration (billing cycle)
  • 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 duration selected in billing cycle.

Requirements & LImitations

$
0
0

Requirements:

WordPress v.4.0+
PHP v.5.4+
cURL
mbstring

Limitations:

1. WHMCS Client Area Confilicts with “bridge addon for WHMCS” that comes with WHMCS-bridge. It is suggested that you uninstall it from WHMCS if you were previously using WHMCS-bridge Pro.

2. WHMCS logs will show your WP servers IP, You will need to install WHMpress Helper on WHMCS to overcome this.

3. Emails sent through WHMCS emails will still point to WHMCS directly. You will need to install WHMpress Helper on WHMCS to overcome this.

 

Using Visual Composer

$
0
0

After clicking Add Element in Visual composer, click on WHMpress link at top or search whmpress to view all the WHMpress Shortcodes.

whmpress-short-codes-visual-composer

 

Using Default Editor

$
0
0

WHMpress is WP plugin that comes with mega pack of Shortcodes. Inserting Shortcodes is really easy, with WHMpress shortcodes button in WordPress Editor.

whmpress-short-code-button

Just click the Shortcode button, select your product and options, hit insert.

 

Video Intro on Usage

$
0
0

Once WHMpress is installed you will see its icon in editor. Select the component that you want to insert, select your service, customize look and feel (if you want to) and click ok.

For Getting Use to how WHMpress works, see video below.

Setting & Configuration

$
0
0

Setting & Configuration

WHMpress configures itself by fetching your configuration values from WHMCS. During the process it also fetches all your services and prices.

  • Click WHMpress > Sync WHMCS
  • Enter following info

WHMCS Database Sever
Mostly it is localhost, if WHMCS resides on a different server use its IP or hostname

Database Name
Name of the WHMCS database, it is the same name you used while installing WHMCS

Database User
database user name for WHMCS database

Password
database user password

[message type=”info”]
As a security measure password is not saved and will be asked every time you want to sync your prices.
[/message]

  • Click Sync WHMCS press.
  • WHMpress will show the messages showing which information is being copied from WHMCS.
  • Once done, click on settings and chose weather your want to order with or with SSL.

domain_price

$
0
0

Displays price of a Domain with a lot of customization options. TLD is the only required parameters.

[whmpress_domain_price domain_tld = ""]

Parameters

  • Domain_tld: TLD of domain with dot included e.g. “.com”, TLD must be added in WHMCS.
  • Type: Domain registration, renewal or transfer
  • 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 prefix
    • sup = show as super script
    • sub = show as subscript
  • suffix: currency suffix of selected or default currency, if skipped no currency suffix is displayed. Takes following options
    • yes = displays currency suffix
    • no = do not display suffix
    • sup = show as super script
    • sub = show as subscript
  • show_duration: yes for show duration with price
    • sub = show as subscript
    • sup = show as super script
    • no = do not display
    • yes = displays duration (billing cycle)
  • 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 duration selected in billing cycle.

price

$
0
0

Displays price of a WHMCS Service (Hosting Plan) in lot of customization options. Service id is the only required parameters, will return “Invlid id”  if service id does not exist. If no other parameter is given yearly service price is returned.

[whmpress_price id = ""]

Parameters

  • id: Id of the service (Hosting Plan), You can find the IDs of all your services in WHMpress > Services/Products section. Click products/services link under WHMpress to see WHMCS services IDs.
  • 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.
  • billingcycle: Billing cycle of service, one from one-time, monthly, quarterly, semi-annually, annually, biennially, triennially. If skipped yearly price is returned.
  • 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 prefix
    • sup = show as super script
    • sub = show as subscript
  • suffix: currency suffix of selected or default currency, if skipped no currency suffix is displayed. Takes following options
    • yes = displays currency suffix
    • no = do not display suffix
    • sup = show as super script
    • sub = show as subscript
  • show_duration: yes for show duration with price
    • sub = show as subscript
    • sup = show as super script
    • no = do not display
    • yes = displays duration (billing cycle)
  • 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 duration selected in billing cycle.

How to clear smarty cache while making your own templates

$
0
0

While developing your own templates you may need to modify HTML of your templates repeatedly. If changes you made do not reflect in output, you can clear the template cache from following path.

/plugins/whmpress/includes/smarty/data/cache

Settings

$
0
0

5.Currencies

Are you selling in multiple currencies? Assuming you have already  configured your WHMCS with both of these currencies. You can override the default currency in WHMCS, and then you can set per country currency.

for example you sell in Danish Krone and in US Dollars. You will set default currency to USD and then “Danish Krone” for Denmark only.

Settings-5-currencies

 

 

Why there is less price control on how to show price in Pricing Table

$
0
0

WHMpress offer highest level of flexibility. It allows you to customize shortcode defaults from WHMpress > setting shortcode defaults and then allows you to override these defaults while inserting shortcode.

Pricing table is a composite shortcode, it includes product name,description,price,price combo and order button shortcode. Pricing table (and all composite shortcodes) will use default values for the shortcodes used within it. You are able to customize Pricing table itself through default values or through menu while inserting the shortdoce. But to customize order button or pricing etc, you will need to change the default values of pricing and order button.

 

Viewing all 92 articles
Browse latest View live