# Quotes Automation For WHMCS

# (opens new window) About Quotes Automation For WHMCS (opens new window)

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
      • Use Merge Field Variables In Proposal Text, Customer And Admin 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/Addons/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
      • Require From Clients To Be Logged In To Access Assigned Quotes
      • 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/Addons/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 8.3 Back To PHP 8.2
    • Supports WHMCS Themes "Six", "Twenty-One" And "Lagom WHMCS Client Theme"
    • Supports WHMCS V9.X Back To WHMCS V8.10
    • Requires ionCube Loader V14 Or Later
    • Easy Module Upgrade To Open Source Version (opens new window)

# Installation

This tutorial will show you how to successfully install and configure Quotes Automation For WHMCS. (opens new window)

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.
Quotes Automation For WHMCS: client area Downloads tab with the latest version Download button marked
  1. Extract the package and upload its content into the main WHMCS directory.
    The content of the package to upload should look like this.

    Quotes Automation For WHMCS: extracted package with the modules folder and quotesautomation.php file
  2. 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/'. Rename it from 'license_RENAME.php' to 'license.php'.

    Quotes Automation For WHMCS: file manager with the license file being renamed to license.php
  3. 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'.

    Quotes Automation For WHMCS: license.php file with the license key entered between quotation marks
  4. In the next step, set up the 'storage' folder as recursively writable.
    This folder is available at 'yourWHMCS/modules/addons/quotesautomation/'.

Quotes Automation For WHMCS: file manager with the storage folder set to recursive write permissions

# Addon Activation

  1. 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.

    Quotes Automation For WHMCS: WHMCS Addon Modules list with the Activate button next to Quotes Automation
  2. 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'.

    Quotes Automation For WHMCS: Addon Modules access control with admin role checkboxes and Save Changes marked
  3. 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.

# Addon

# Home

In the 'Home' section you can find a short description of the module as well as the link to this Documentation article.
Move to the 'Settings' tab to configure your addon according to your needs.

Quotes Automation For WHMCS: module Home page with the overview text and key steps in the WHMCS admin area

# Settings

This tab allows you to define the 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 when adding a predefined product to a quote.
    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.

  6. Require Login For Assigned Quotes - if enabled, the client will have to be logged in to be able to view the quote. If left disabled, the client will be allowed to open and view the quote, but the option to accept it will remain blocked.

  • 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.

Quotes Automation For WHMCS: module Settings tab with general and invoice setting switches and Save Changes

# Templates

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.

Quotes Automation For WHMCS: module Templates tab with the template list and the Add New Template button

Give your template a unique name.

Quotes Automation For WHMCS: Add New Template dialog with a template name entered and the Confirm button

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 the 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
Quotes Automation For WHMCS: template edit page General tab with subject, stage, currency and notes fields

Please be informed that you may use WHMCS 'Client Related' merge fields to compose 'Proposal Text' as well as 'Customer' and 'Admin Notes'.
Here is a list of all available merge fields:

{$client.id}                    {$client.taxexempt}                {$client.bankacct}   
{$client.uuid}                  {$client.latefeeoveride}           {$client.gatewayid}   
{$client.firstname}             {$client.overideduenotices}        {$client.lastlogin}   
{$client.lastname}              {$client.separateinvoices}         {$client.ip}   
{$client.companyname}           {$client.disableautocc}            {$client.host}   
{$client.email}                 {$client.datecreated}              {$client.status}   
{$client.address1}              {$client.notes}                    {$client.language}   
{$client.address2}              {$client.billingcid}               {$client.pwresetkey}   
{$client.city}                  {$client.securityqid}              {$client.emailoptout}   
{$client.state}                 {$client.securityqans}             {$client.marketing_emails_opt_in}   
{$client.postcode}              {$client.groupid}                  {$client.overrideautoclose}   
{$client.country}               {$client.cardtype}                 {$client.allow_sso}   
{$client.phonenumber}           {$client.cardlastfour}             {$client.email_verified}   
{$client.tax_id}                {$client.cardnum}                  {$client.email_preferences}   
{$client.password}              {$client.startdate}                {$client.created_at}   
{$client.authmodule}            {$client.expdate}                  {$client.updated_at}   
{$client.authdata}              {$client.issuenumber}              {$client.pwresetexpiry}   
{$client.currency}              {$client.bankname}                 {$whmcs_company_name}   
{$client.defaultgateway}        {$client.banktype}                 {$whmcs_url}   
{$client.credit}                {$client.bankcode}                 {$whmcs_email}   

Now move to the 'Items' part. There is a list of all already added items to this template. Press 'Add Item' to start.

Quotes Automation For WHMCS: template edit page Items tab with the item list and the Add Item button

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
Quotes Automation For WHMCS: Add Item dialog Product Config tab with product, price override and discount

If you have set up product addons in your WHMCS, you can include them with the product. As seen on the screen below, its configuration is quite similar.

Quotes Automation For WHMCS: Add Item dialog Addons tab with a product addon enabled and its price settings

If the product you have selected in 'Product Config' has configurable options assigned to it, you will find another section where you can specify these.

Quotes Automation For WHMCS: Add Item dialog Configurable Options tab with option values for the product

The same applies to the product's custom fields. See an example on the screen below.
Remember to save the changes when ready.

Quotes Automation For WHMCS: Add Item dialog Custom Fields tab with custom field values and Save Changes

Below the configuration, there is a summary view of the sub total, tax and total due amounts of the template items.

Quotes Automation For WHMCS: template Items tab with the Sub Total, VAT and Total Due summary marked

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.

Quotes Automation For WHMCS: template Items tab with two items selected and the Convert Currencies button

Select the initial currency and the one that will be used for the selected items. The items price will be automatically recalculated adequately.

Quotes Automation For WHMCS: Convert Currencies dialog with From Currency and To Currency lists

There is also the possibility to 'Duplicate' the preferred 'Templates'. Simply, click on the following button:

Quotes Automation For WHMCS: Templates tab with the Additional Actions menu and the Duplicate option marked

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'.

Quotes Automation For WHMCS: Copy Configuration From Template dialog with a source template and Copy button

# 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. 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 the above limitations in the future version of the module.
    In order to create a new 'Product Set' click on the following button:

Quotes Automation For WHMCS: Product Sets tab in the addon with the product set list and the Add New Product Set button

Provide a name of your 'Product Set' and select the preferred products from the dropdown menu. Once ready, confirm your changes.

Quotes Automation For WHMCS: Add New Product Set dialog with the name field, product selection dropdown and Confirm

If you want to modify the name or choose 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.

Quotes Automation For WHMCS: Product Sets list with all rows selected and the mass Delete button, plus edit and delete

# Logs

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

Quotes Automation For WHMCS: Logs tab in the addon listing template actions with message, type and date columns

# Quotes

# 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.

Quotes Automation For WHMCS: Templates tab in the addon with the load to quote icon highlighted next to a template

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.

Quotes Automation For WHMCS: WHMCS quote page with Quotes Automation buttons Load Template, Place Order and Generate URL

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).

Quotes Automation For WHMCS: Load Template dialog with the template dropdown, Override Items switch and Confirm button

# 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 prices and applied discounts if and have been set up for the items.
At the very bottom, there are all the notes and proposal text which can still be modified.

Quotes Automation For WHMCS: WHMCS quote loaded from a template with line items and the proposal, customer and admin

Use the 'Add Predefined Item' button to add more items to the list.

Quotes Automation For WHMCS: WHMCS quote page with the Add Predefined Item button below the line items list

A new window where items can be composed with all module options will appear.

Quotes Automation For WHMCS: Add Predefined Item dialog with product config, override price, quantity and discount

The module offers also the option to assign additional custom items to those already on the list.

Quotes Automation For WHMCS: WHMCS quote line items with the Assigned icon highlighted for assigning a custom item

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'.

Quotes Automation For WHMCS: Assign Item dialog with product, billing cycle, unit price and replace recurring amount

Remember to save the changes if you have made any changes in the loaded quote. Otherwise, all of them will be gone.

Quotes Automation For WHMCS: WHMCS quote page with the Save Changes button highlighted above the Quotes Automation

# 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'.

Quotes Automation For WHMCS: WHMCS quote with the stage set to Accepted and the Place Order button highlighted

On the screen below you can see the invoice based on the accepted quote.

Quotes Automation For WHMCS: WHMCS admin invoice created from the accepted quote with invoice items, totals and Unpaid

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 values.

Quotes Automation For WHMCS: WHMCS Manage Orders page for the quote order with a Custom Items table and totals summary
# 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.

Quotes Automation For WHMCS: WHMCS quote with the stage set to Delivered and the Generate URL button highlighted

# Client Area

If you have marked 'Accept Quote & Order', the module will alter the quotes in the client area.
Find your quotes, view the ones you want to accept, and place an order instantly.

Quotes Automation For WHMCS: WHMCS client area My Quotes list with stage filter and Accepted and Delivered quotes to

# 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.

Quotes Automation For WHMCS: Client area quote view with Delivered status, Accept Quote button, proposal and quote items

As you can see, the status changes immediately once the quote has been accepted.

Quotes Automation For WHMCS: Client area quote view with Accepted status, proposal, quote items and totals

You can find now a new invoice to pay, generated after the automatically placed by the module order.

Quotes Automation For WHMCS: Client area invoice generated from the accepted quote with Apply Credit and invoice items

# Tips

  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 make any alterations to a quote. Before you load a template and after adding any extra items or otherwise you will lose all the data.

  3. "Lara" admin theme requirements:
    If you wish to switch to the "Lara" admin theme, you have to previously change the theme's files location.
    From:

modules/addons/quotesautomation/templates/admin/assets/css/lara/   

To:

modules/addons/quotesautomation/templates/admin/assets/css/   

# Update Instructions

An essential guidance through the process of updating the module is offered here.
Ensure successful completion of the module update by carefully following each step, thereby preventing data loss or any unforeseen issues.
Additionally, you will find a current list of supplementary actions necessary for a smooth update process there.

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.

# Upgrade Guide

Seeking a solution that offers greater flexibility, customization tailored to your precise needs, and unrestricted availability?
There is an option that not only proves to be cost-effective in the long run but also includes prioritized support services, making it a truly valuable investment.

Opt for the Open Source version (opens new window) of your Quotes Automation For WHMCS module to unlock these benefits.
Simply click on either the Get Source Code or Upgrade To Lifetime button found on the product's page in our client area to complete the one-step upgrade process, with a dedicated discount already applied.

Follow a comprehensive guide covering the transition process, the advantages it brings, and step-by-step instructions on what to do next after the order has been successfully finalized.

# 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 workflow.