Jump to content

Devias

Senior Member
  • Content count

    26
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Devias

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello all, If a customer orders a new product he automatically gets an email that a new invoice has been created and gets a invoice in pdf in the mailbox. Is it possible that customers get an e-mail that a new invoice has been created but not the invoice in pdf in the mailbox. (Let me keep it simple, no invoice (pdf) only e-mail that invoice has been created😉) The reason we want this is that we use other invoice software that is connected with WHMCS, so every time a customer orders a new product, he gets an e-mail, invoice from WHMCS (pdf) and invoice from our external invoice software. (with same product and amount as WHMCS invoice). I've search on the community and there is a lot to find about invoicing, but couldn't find anything about disabling/blocking invoice e-mails. I found some examples for hooks and invoicing on the WHMCS developer pages, but i don't know of this is what i'm looking for. https://developers.whmcs.com/hooks-reference/invoices-and-quotes/#invoicecreationpreemail Thanks,
  2. Devias

    Language override doesn't work

    Hello Brian, Sorry for my late response, I've been sick and after i was feeling better it was very busy on work, but i did follow up on your solution and it worked. I've put the code in the clientareadomains.tpl to display domain dates in dutch and it worked. I did the same in the clientareainvoices.tpl to display invoice dates in dutch. So if anyone else is having the same problem, you got to put the code in every .tpl file where date(s) are showing. Put this code after {...... .nextduedate} without the last accolade symbol |replace:'Monday':{lang key='dateTime.monday'}|replace:'Tuesday':{lang key='dateTime.tuesday'}|replace:'Wednesday':{lang key='dateTime.wednesday'}|replace:'Thursday':{lang key='dateTime.thursday'}|replace:'Friday':{lang key='dateTime.friday'}|replace:'Saturday':{lang key='dateTime.saturday'}|replace:'Sunday':{lang key='dateTime.sunday'}|replace:'January':{lang key='dateTime.january'}|replace:'February':{lang key='dateTime.february'}|replace:'March':{lang key='dateTime.march'}|replace:'April':{lang key='dateTime.april'}|replace:'May':{lang key='dateTime.may'}|replace:'June':{lang key='dateTime.june'}|replace:'July':{lang key='dateTime.july'}|replace:'August':{lang key='dateTime.august'}|replace:'September':{lang key='dateTime.september'}|replace:'October':{lang key='dateTime.october'}|replace:'November':{lang key='dateTime.november'}|replace:'December':{lang key='dateTime.december'}}</td> Thanks again Brian for helping out. The only thing I didn't succeed is to not show the th and nd text. I removed the nd - th - rd in the override, but it's still displaying. I only removed the text, but kept the qoutes in both the original file as in the dutch override file. May'be i'm doing something here??
  3. Hello everyone, I've been translating some text from english to dutch and everything i've translated works, accept the translation of the date in the client area. As an example, i changed "monday" to "maandag" or the month "march" to "maart", and the client sees everything in dutch accept the date. I've used the same file and method to translate the date and every other translation works. Are there any other setting(s) i need to modify or change before the date get translated?
  4. Devias

    Add items to topbar

    Hello Brian, Thanks Brian for pointing out which file i needed. That's something i have with whmcs, knowing which file i need. I added some links to the top bar. Greetings, Elias
  5. Hello, I want to add extra links on the topbar. Next to the language, login and register links. Can anyone point me to the right direction, which file to start or may'be with a hook? Thanks Elias
  6. Devias

    Table on productpage

    Hello Brian, Thanks for pointing out where to edit and put the code, works perfectly. Greetings, Elias
  7. Hello everyone, I'm looking for an option to add a table on a productpage. So on productpage gid=3 (for example) after the pricing, i want to add a table with specs (instead of the group features you can add). The same on productpage gid=1 but another table with specs (different than gid=3) The table we have now is in HTML like this: <table> <thead> <tr> <th>Packages</th> <th>Starter</th> <th>Basic</th> <th>Standard</th> <th>Plus</th> </tr> </thead> </div> <tbody> <tr> <td><b>Storage</b></td> <td>1 GB</td> <td>2 GB</td> <td>4 GB</td> <td>6 GB</td> </tr> <tr> This is just an example, not whole code of course 😉 Is it possible to add this with HTML or may'be there is a plugin or hook. Thanks for helping, Elias
  8. Thanks brian for (correcting) the code. Got it all working. Elias
  9. Hello Brian, Thanks for pointing out which files i need to modify the checkout. Your hook worked perfect and i got the tax id now mandatory. I want the company name te be mandatory to, so i used your hook and copy the code. You used &taxcode for the tax id, where can i find that code for the company name? I used this now: <?php # Make Field Required @ Checkout Hook # Written by brian! use App; add_hook('ShoppingCartValidateCheckout', 1, function ($vars) { $taxcode = App::getFromRequest('tax_id'); if (!$taxcode) { return Lang::trans('clientareaerrortaxid'); } $companyname = App::getFromRequest('companyname'); if (!$companyname) { return Lang::trans('clientareaerrorcompanyname'); } }); unfortunately this doesn't work. (tax id still works, but company name doesn't) Should i use the hook in a new file? but apart from this I have been able to adjust the checkout form to our wishes, thanks to your instructions. By the way: the topic that you linked to get the hook needed one correction. There was no quotation mark in the code after removing the optional text in the checkout.tpl. like this: <input type="text" name="tax_id" id="inputTaxId" class="field" placeholder="{lang key=\WHMCS\Billing\Tax\Vat::getLabel()} value="{$clientsdetails.tax_id}"{if $loggedin} readonly="readonly"{else} required{/if}> should be with a quotation mark after ::getLabel()}, <input type="text" name="tax_id" id="inputTaxId" class="field" placeholder="{lang key=\WHMCS\Billing\Tax\Vat::getLabel()}" value="{$clientsdetails.tax_id}"{if $loggedin} readonly="readonly"{else} required{/if}> So if anyone is wondering why you see the value= in your checkout form, you need to add the quotation mark.:) Thanks, Elias
  10. Hello, I want to make some corrections on the registration form, but i can't find where to start. We only sell B2B, that's why i want to modify the registration form so that the company name and tax ID is mandatory (instead of optional) Also i want to add a mandatory field where the customer can add their number of chambre of commerce. Can anyone point me to the right direction? where to start or which file a need to modify to make this happen. Thanks, Elias
  11. Hello, Thanks for your response. I looked at your template, but we are using whmcs for cloud services and not hosting. So the template is not suitable for us, but i will keep whmcs global services in mind if we ever need some customization. Greetings, Elias
  12. Hello Nadal Kumar, I've tried your addon and it looks great. It would be nice if you can display categories (instead of only products) to the homepage to. I will keep this mind. greetings, Elias
  13. Hello everyone, I know this question has been asked many many many times, but i want to show my products on the homepage of whmcs. I know there's a lot of instructions on google and here how to achieve this with hooks and stuff, but I'm looking for a addon/module that would do this (free or paid, doesn't matter). So if someone can point to module(s) who can achieve this, please let me know. thanks, Elias
  14. Hello everyone, I know this question has been asked many many many times, but i want to show my products on the homepage of whmcs. I know there's a lot of instructions on google and here how to achieve this with hooks and stuff, but I'm looking for a addon/module that would do this (free or paid, doesn't matter). So if someone can point to module(s) who can achieve this, please let me know. thanks, Elias
  15. Hello BrianA, I had the same issue and it turned to be a module, after i disabled the module i could save price again. So take a look at your modules, maybe you can disable them one by one to see if that is the issue. good luck
×

Important Information

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