Jump to content
Sign in to follow this  
Nelson Neoh

How to capture correctly on Admin->Add New Order

Recommended Posts

Hi.

I have developed an Addon Module (says addOnModule), which requires some custom entry of details (says Domain Name, and/or hosting ID) while placing order.  On Paid, it will then have to write some additional details on a custom table (says tbl_customModule), aim for further management activities.  The module will carries all product under Other (myProductType).

The module works fine on Customer Panel, but facing issue when Add New Order in Admin Panel.  Hopefully I am able to get some hints/advice from kind people here.

Q. When admin performed Add New Order in Admin Panel -> Orders -> Add New Order, it can't read my module, but defaulting Product Type as hosting service, although the product name is listed under products options.  I can't find a correct way to overcome this issue.  How can I correct this issue?

Here's the desired workflow of the Addon Module:

1. When myProduct picked, it should capture the product type as myProductType.

2. The custom fields then populate under the product details section (refer to attached sample).

WHMCS-Module.png.d1c5cfa95b50c8829d7d781e4c724a06.png

3. After filled up the form and submit order, it will trigger my module to save required info into tbl_customModule.

 

At last, thank you for any input.

Best Regards,
Nelson Neoh

 

 

Edited by Nelson Neoh
add signature.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By steven99
      When clients sign up for your services, you may use configurable options to customize their services. Those options show up within the WHMCS cart's product configuration page. Sometimes it isn't clear what a configurable option is for based on the label. With this module, you can now add descriptions to configurable options so visitors have as much info as they need. You can even hide inputs on the product configuration page in the cart.
      Order now: $25 / yearly |
      View on the Marketplace

      Features
      Add descriptions to configurable options for visitors to see Hide inputs within the product configuration page in the cart Descriptions are displayed within: A tooltip that is shown when the input is hovered over A specified class - such as the bootstrap alert classes or any other CSS class Resize input containers to make those inputs larger or smaller - based on the input's container Input options can apply to all products or specific products
    • By Nelson Neoh
      Hi all.
      Recently I have a custom addon module which placing order through localAPI, but it seems this limits my client to purchase 1 item at a time, which brings not so good UX.
      I wish to get some input, what's the proper way to change the order placing through my custom addon module, direct to normal shopping cart.
      Thank you all in advance.
      Best Regards,
      Nelson Neoh
    • By Kian
      As you probably know WHMCS v8 no longer provides statistics on top of the page about pending orders, overdue invoices and tickets awaiting reply. This action hook adds them back to interface as you can see from the following screenshot.


      This badge is fully responsive and appears if there's at least one pending order, overdue invoice or ticket awaiting reply. If there's nothing to show it disappears. To avoid any possibility of confusion, the hook automatically detects if you're running v8.
      Get the Code »
    • By (Amr)
      Today, we're pleased to announce Lara v8, which is fully compatible with WHMCS v8.0.0!
      Want to change the default WHMCS Admin Template "i.e., Blend" ?! .. Welcome to Lara! Lara, is WHMCS & AdminLTE blended together, resulting in a beautiful WHMCS Admin Theme, that can be used on daily basis, without hurting your eyes!
      Don't just take our word for it, check a full working Demo by visiting our WHMCS Admin Demo.
      The theme comes with tons of options, beside the good looks :
      Google Analytics Widget : Without leaving your WHMCS admin area, check user sessions, countries, operating systems and other Google Analytics metrics. [ Free addon for Limited Time Only ] Google Real Time Monitor [Beta] : Real-Time allows you to monitor activity as it happens on your site or app. The reports are updated continuously and each hit is reported seconds after it occurs. For example, you can see how many people are on your site right now, which pages or events they're interacting with, and which goal conversions have occurred. Google Analytics Devices Report : See which devices or brands drives the most mobile traffic to your website, all in one place. Staff Chat Widget, Staff members can easily chat with each other, directly from within WHMCS admin interface. [ Free addon for Limited Time Only ] Advanced WHMCS orders/income integration : Fully customizable graph, with Google Analytics and WHMCS orders/income, broken down by any of the following : Product Type (Domain Names, Shared Hosting, Reseller Accounts, VPS/Servers and Other Products & Addons). Product Groups (as defined in your WHMCS). Individual Products.   Not only that, but with a dedicated Graph Options menu, each administrator can :
      Customize all graph options and colors. View all orders, new orders or renewal orders only.  
      Custom Image Logo: Easily customize the logo of your WHMCS admin interface (Text or Image Logo). Menu Search, The Only WHMCS Admin Theme with search in menu, for easy access to all WHMCS options. Intelligent Search, Search in WHMCS by (ticket number, invoice number, customer name, city .. etc). Menu Notifications, Detailed notifications ( number of open tickets, pending invoices .. etc.) shown directly in WHMCS menu. Home Page Widgets, Beautiful home page widgets. Right Side Bar, Providing easy access to “Advanced Search, Ticket Search, in-ticket menu and built in browser links. User Menu, Custom user menu, with quick links and notifications area. Full Source Code, 100% source code provided. No encoded/encrypted files. Updates & Support, 12 Months of Free updates and support. Including new features, bug fixes and WHMCS Updates. Dashboard Customization, Choose what to see on your dashboard. Hide/Show homepage widgets. 12 Different Skins, Enjoy 12 color-full skins for every taste, with a click of a button! Custom CSS & Javascript, Easily apply your custom modifications without the need to edit the theme files directly. Gravatar integration, Each admin will have his/her own gravatar icon. Support Tickets Count : Better algorithm for counting tickets, and including the numbers on every page. Fully customizable interface, with the ability to move, close and resize widgets according to your needs. Smart responsive layout, where the number of widgets per row will change according to your screen size ( 1 widget/row on smartphones, 2 widgets/row on tablets and finally, up-to 4 widgets/row on large screens). New Permissions Interface: Control all of the theme settings from one page, including admin groups permissions. Custom Logo: Without the need to edit any files, easily customize the logo of your WHMCS admin interface. Fixed Layout: Allowing the page contents to scroll while the side menus are fixed. Faster Loading Times: Thanks to the new combined assets system, loading time has decreased dramatically! Order Lara, WHMCS Admin Template  now for only $14.99 .. That's a 70% discounted price ! .. Act quickly, as THIS OFFER IS LIMITED.




    • By WevrLabs
      Hi everyone!
      Since I spend most of my time during the day on the WHMCS admin dashboard, answering tickets, activating services, following up with stuff, etc. I wanted to keep eye strain to a minimum, so I recently created this CSS file to turn our admin area into a dark look and feel.

      -------

       
      Today, I'd like to share with you steps to achieve that.
      The file is compatible with Blend theme of v7.9.2 of WHMCS, I haven't tested it on the other versions yet.
      The process is pretty simple and straightforward  IF YOU HAVEN'T MADE ANY CUSTOMIZATIONS to your Blend theme already.
      So just download the attached file (blend-dark.zip) and extract it anywhere in your computer.
       

       
      Next, open the folder and then the "images" folder to locate the (logo-dark.psd) file to edit it by placing your own logo there. Then save it as "logo-dark.gif" replacing the already existing file.
       

       
      Now you should end up with a file tree like this ...
      blend |__ css | |__ admin-dark.css | | |__ images | |__ logo-dark.gif | |__ logo-dark.psd | |__ header.tpl  
      Now back top and compress your "blend" folder ... Name it something memorable, like "blend-2222.zip" in this example.
       

       
      Next navigate to the "admin" folder inside your WHMCS installation, and open the "templates" folder (based on your customizations, the "admin" folder name may differ, so this here presumes the default setting).
      /path/to/whmcs/admin/templates/  
      Next make sure to ZIP and backup your current Blend theme folder (name it something like "blend-original.zip).
       

       
      Next, upload the "blend-2222.zip" you compressed earlier to the "templates" folder and unzip it, and you should be all set and ready!
       

       
      If you have any notes or additions, please feel free to add!
      Also, any mistakes or errors are unintentional, please feel free to share and highlight them.
      Wishing everyone a good day!
      - Mohamed
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated