Personal tools


Quotes Automation For WHMCS

From ModulesGarden Wiki
Jump to: navigation, search


About Quotes Automation For WHMCS

Quotes Automation For WHMCS will allow you to create templates for quotes. You will be able to add, edit and delete templates as well as manage included products.

The module will also simplify the process of placing an order. Once a quote is ready, both you and your clients will be able to place an order directly from a quote page.

  • Admin Area:
✔ Create Quote Templates:
✔ Add Template Name And Quote Subject
✔ Choose Quote Default Stage
✔ Set Quote Currency
✔ Define Validity Period
✔ Add Proposal Text
✔ Add Customer And Admin Only Notes
✔ Add Items To Quote Template:
✔ Choose Item Type:
✔ Product
✔ Addon
✔ Domain
✔ Product Set
✔ Custom
✔ Assign WHMCS Product/Addon/Domain To Item
✔ Define Billing Cycle/Configurable Options/Custom Fields Of Product Item
✔ Define Name/TLD/Registration Type/Registration Period/Addons Of Domain Item
✔ Add Custom Item
✔ Use Assigned Item Unit Price Or Override It With Custom Price
✔ Define Whether To Apply Overridden Product Price To First Payment Only Or To Recurring Price
✔ Define Item Quantity
✔ Define Item Percentage Discount
✔ Toggle Tax For Item
✔ View Quote Template Sub Total, Tax, And Total Due Value
✔ Convert Currency Of Items Prices
✔ Duplicate Quote Templates
✔ Create Quote Directly From Templates List
✔ Configure Module Settings:
✔ Include Product Descriptions In Quotes
✔ Display "Accept Quote & Order" Functionality In Client Area
✔ Redirect Client To Invoice After Quote Acceptance
✔ Show Retired Products When Adding Items
✔ Show Hidden Configurable Options When Adding Items
✔ Display Custom Fields On Invoice
✔ Display Configurable Options On Invoice
✔ Define Product Sets
✔ View Module Logs
  • Quote Management:
✔ Load Template To Existing Quote:
✔ Replace Already Added Items
✔ Append To Existing Items
✔ Add/Change/Remove Quote Items Assignment To WHMCS Products/Addons/Domains
✔ Add Additional Predefined Items To Quote:
✔ Choose Item Type:
✔ Product
✔ Addon
✔ Domain
✔ Product Set
✔ Custom
✔ Assign WHMCS Product/Addon/Domain With Item
✔ Define Billing Cycle/Configurable Option/Custom Fields Of Product Item
✔ Define Name/TLD/Registration Type/Registration Period/Addons Of Domain Item
✔ Add Custom Item
✔ Use Assigned Item Unit Price Or Override It With Custom Price
✔ Define Whether To Apply Overridden Product Price To First Payment Only Or To Recurring Price
✔ Define Item Quantity
✔ Define Item Percentage Discount
✔ Toggle Tax For Item
✔ Generate Quote Dedicated URL For Clients And Guest Customers
✔ Place Order And Create Invoice On Quote Page
✔ View Quote Custom Items On Order Summary
  • Client Area Features:
✔ Create Orders And Invoices Automatically On Quote Acceptance
✔ Override Product/Domain Price With Price Shown On Quote
✔ Choose Products On Quote From Provided Product Sets
✔ View Quote As Registered Or Guest Customer
  • General Info:
✔ Multi-Language Support
✔ Supports PHP 7.2 Up To PHP 7.4
✔ Supports WHMCS Theme "Six"
✔ Supports WHMCS V7.10 And Later
✔ Easy Module Upgrade To Open Source Version


This tutorial will show you how to successfully install and configure Quotes Automation For WHMCS.

We will guide you step by step through the whole installation and configuration process.

Note: If you are still using any of the module's previous versions prior to v2.x, follow these instructions.

1. Log in to our client area and download the module.
QA2 1.png
2. In the downloaded file you might find one or two packages that support different PHP versions.

In the most recent versions of the module, you will find only one package that supports PHP 7.2 and later.

PHP72 74.png
Previous updates of the module may contain two packages dedicated to various PHP versions.

The first one that supports PHP 5.6 up to PHP 7.1, and the second one addressed to PHP 7.2 up to PHP 7.4.
Note: Keep in mind that PHP versions 5.6 up to 7.1 are no longer officially supported and their security issues are not fixed or released any more. Find more info here.

PHP56 74.png
Note: You can check the current PHP version in your WHMCS. To do so, proceed to 'Utilities' → 'System' → 'PHP Info'.
3. Extract the package and upload its content into the main WHMCS directory.

The content of the package to upload should look like this.

QA3 1.png
4. When you install Quotes Automation For WHMCS for the first time you have to rename the 'license_RENAME.php' file.

The file is located in 'modules/addons/quotesautomation/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'.

QA 3.png
5. In order to configure your license key, you have to edit the previously renamed 'license.php' file.

Enter your license key between quotation marks as presented on the following screen. You can find your license key in our client area → 'My Products'.

QA3 3.png
6. In the next step, set up the 'storage' folder as recursively writable.

This folder is available at 'yourWHMCS/modules/addons/quotesautomation/' .

QA3 4.png

Addon Activation

7. Now you have to activate the module in your WHMCS system.

Log in to your WHMCS admin area. Go to 'Setup' 'Addon Modules'. Afterwards, find 'Quotes Automation' and press the 'Activate' button.

QA3 5.png
8. In the next step you need to permit access to this module.

To do so, click the 'Configure' button, tick 'Full Administrator' and press 'Save Changes'.

QA3 6.png
9. You have just successfully installed Quotes Automation For WHMCS!

You can access your module at 'Addons' 'Quotes Automation'.

Configuration and Management

Quotes Automation For WHMCS is a module which allows you to create and use quote templates as well as automate the ordering process.



In the 'Home' section you can find a short description of the module as well as the link to this Wiki article.

Move to the 'Settings' tab to configure your addon according to your needs.

QA3 7 1.png


This tab allows you to define behavior of the module.

In order to set up the behavior of the module, mark checkboxes and press 'Save Changes'.

  • General Settings

1. Include Product Descriptions In Quotes - if chosen, the description of products from their configuration in WHMCS will be automatically filled in the item description field once adding a predefined product to quote.
Moreover, if the description has the HTML code, it will be removed from the quotation.
2. Accept Quote & Order - if marked, as soon as your client accepts a quote, it will be converted into an invoice and an order.
3. Redirect To Invoice - when selected, after accepting a quote, the client is automatically redirected to the invoice if such was created.
4. Show Retired Products - switch it off if you do not want to show items from product dropdown menus, which are marked as retired in their configuration options.
5. Show Hidden Configurable Options - toggle on if you want to display hidden product configurable options on the quote.

  • Invoice Settings

1. Custom Fields - toggle on if you want to display product custom fields on the invoice.
2. Configurable Options - when enabled, product configurable options will be shown on the invoice.

QA3 8.png


Move to 'Addons' → 'Quotes Automation' → 'Templates'.
You will find there a list of all created quote templates.

Let's see now what the process of creating a quote template looks like. Start by clicking the 'Add New Template' button.

QA3 9.png
Give your template a unique name.
QA3 10.png
You will be moved to the template edit form. This part is divided into two sections: 'General' and 'Items'. We will take a look at the first one.

Here, you must specify the basic information that will be used in a quote such as:

  • Quote Subject
  • Stage - Draft/Delivered/On Hold/Accepted/Lost/Dead
  • Currency - change the template currency used to calculate the price on the quote
  • Validity Period - enter a number of days the quote will remain valid once delivered
  • Proposal Text - used as a header
  • Customer Notes - used as a footer
  • Admin Notes - not included in the final quote

Save the changes when ready.

QA3 11.png
Now move to the 'Items' part. There is a list of all already added items to this template. Press 'Add Item' to start.
QA3 12.png
In the beginning you need to select the item type: 'Product', 'Domain', 'Addon' or a 'Custom'. Then:
  • Select the actual item
  • Depending on the selected type, appropriate options to choose will appear (TLD, addon name, etc.)
  • Override Price - if selected a new unit price will be bound to the item in this template only
    • Replace Recurring Amount - toggle to apply pricing changes the billing cycle price, not only the first payment
  • Discount - you may also add a discount to the item, just provide a percentage value
  • Taxed - toggle this option to tax the item

Save the changes when ready.

QA3 13.png
Below the configuration there is a summary view of the sub total, tax and total due amounts of the template items.
QA3 14.png
You may add several different items to one template of course. Use action buttons to: (1.) edit an item and (2.) delete the item.

If the currency of the template has been previously changed, then here the items prices can be converted and recalculated with the current Base Conv. Rate set at the WHMCS currency settings.
Select the items if you want to recalculate the final price.

Keep in mind that templates, once loaded to a quote still can be modified and items added or removed.

QA3 15.png
Select the initial currency and the one that will be used for the selected items. The items price will be automatically recalculated adequately.
QA3 15 1.png
There is also the possibility to 'Duplicate' the preferred 'Templates' . Simply, click on the following button:
QA3 15 1 1.png
Now, provide a name of your new 'Template' and choose one of the existing templates that the configuration should be copied from.
Once selected, do not forget to press 'Copy' .
QA3 15 1 2.png

Product Sets

This section grants you the possibility to create your 'Product Sets' with the selected products.
Later, your new 'Product Set' can be added to the 'Template' and then your 'Template' may be loaded to WHMCS and finally you can 'Generate URL' of the quote there.

Please note that:
1. All products that belong to the particular 'Product Set' will have the same billing cycle and price.
2. When you add a product that has Configurable Options or Custom Fields determined, you will not be able to define Configurable Options nor Custom Fields here.
3. You need to provide a domain for each 'Product Set' .
4. A client will have to choose one of the products specified in your 'Product Set' (currently there is no possibility to select a few products or none of them on the quote).
We are currently working to solve all above limitations in the future version of the module.

In order to create a new 'Product Set' click on the following button:

QA3 15 2.png
Provide a name of your 'Product Set' and select the preferred products from the dropdown menu. Once ready, confirm your changes.
QA3 15 3.png
If you want to modify the name or chosen products in your 'Product Set' then click on the edit icon.
If some 'Product Sets' are no longer needed, you can easily delete them using the mass delete button.
QA3 15 4.png


The last section in the addon gives detailed information on any actions with templates. Check logs to follow all the processes.
QA3 16.png


Load Template To Quote

There are two ways to load a template as quote.

The first way - load a template directly from the addon → 'Templates' section. Press the 'Load To Template' button next to a desired draft.
You will be automatically redirected to the WHMCS quote page.

QA3 17.png
Alternatively, move to 'WHMCS' → 'Billing' → 'Quotes'. Create a new quote or open any existing quote.
There you will see the Quotes Automation dedicated buttons: 'Load Template' and 'Place Order'.
Press the former one to load the template.
QA3 18.png
A new window where you may select from the module templates will appear. Choose a quote draft of your need.
At this point you may also override the already existing items on the quote (if any have already been added).
QA3 19.png

Manage Quote

A template draft has been loaded to a quote. Underneath the client details, all items included in the template are visible, with unit price and applied discounts if and have been set up for the items.
At the very bottom, there are all notes and proposal text which surely can be still modified.
QA3 20.png
Use the 'Add Predefined Item' button to add more items to the list.
QA3 21.png
A new window where items can be composed with all module options will appear.
QA3 22.png
The module offers also the option to assign additional custom items to those already on the list.
QA3 23.png
Prepare the item to be assigned and press 'Confirm' when ready.
In case you no longer want to assign any item to that product, simply leave the item type field as 'Not Assigned'.
QA3 24.png
Remember to save the changes if you have made any changes in the loaded quote. Otherwise, all of them will be gone.
QA3 25.png

Convert Quote To Order

As soon as the customer accepts the quote, you can quickly create an invoice and an order from it. Press 'Place Order'.
QA3 26.png
On the screen below you can see the invoice based on the accepted quote.
QA3 27.png
The order is also made right away with the specified price.
At the bottom of the order there are listed any assigned custom items (WHMCS does not include them in ordered items by default) with calculated value.
QA3 28.png

Generate URL

If you added your 'Product Set' to the 'Template' that is loaded here, now you can use the 'Generate URL' button to get a direct link to the quote.
Copy the generated link and send it to your client who will have to choose one of the products from the quote.
QA3 28 1.png

Client Area

If you have marked 'Accept Quote & Order', the module will alter the quotes in the client area.

Find your quotes and view the ones you want to accept and place order instantly.

QA3 29.png

Accept & Order

Additional actions will be made upon pressing 'Accept Quote & Place Order' on the order itself.

This way, the module automatically generates the invoice and the order from the quote.

QA3 30.png
As you can see, the status changed immediately once the quote has been accepted.
QA3 31.png
You can find now a new invoice to pay, generated after the automatically placed by the module order.
QA3 32.png


1. Before you choose a product, an addon or a domain to add to a quote, always make sure it is properly configured in the system to avoid any confusion.
2. Always save the changes when you do any alteration in a quote. Before you load a template and after adding any extra items or otherwise you will lose all the data.

Update Instructions

An essential guidance through the process of updating the module is offered here.

Keep in mind there is a quick and easy option in our client area that will let you upgrade the license of your module to an open source version at any time - and at a lower price!
To take advantage of it, simply use the License Upgrade button located on the product's page and a discounted invoice will be generated automatically.

Please be informed that when migrating the module from version 1.x to 2.0 and later, all your existing templates, items and addon settings are migrated.
Although you should lose no data during the process, it is advised to verify your templates due to huge changes in the storing system and make any alterations if necessary.

Common Problems

1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
2. "Replace Recurring Amount" option is applicable only to items of a product type.
3. The addon type items assigned to products must have the same billing cycle as the main product, otherwise the addons will not be included in the quote.
This restriction is caused by WHMCS API limitation and will be solved in the upcoming versions of the module.
4. We do not recommend using Quotes Automation For WHMCS module either with Multibrand For WHMCS or with Resellers Center For WHMCS.

Integration between these modules is hampered due to specific features of each one of them and their individual work flow.

WHMCS Modules
WHMCS Translations
cPanel Modules
Magento Extensions
Magento Themes
PrestaShop Modules
Blesta Extensions
Quotes Automation For WHMCS