Jump to content

Recommended Posts

14 hours ago, wulfric said:

How do I hide Configurable options on invoice?

you modify either the tblinvoiceitems database table, or the invoice template(s). :idea:

Share this post


Link to post
Share on other sites

Hi,

The status "Under Consideration" is the default status for new feature requests.  During this time we gather votes and comments on the feature. If we decide to pick up on an idea, it moves through Investigating, Planned, In Progress and finally Completed status.

Share this post


Link to post
Share on other sites

Hi,

 

This Request has been under Consideration for at least 5 Years, and every now and again it pops up as a "New Request", which puts it in the Same Default new feature request.

The last one I see is: https://requests.whmcs.com/topic/configurable-options-on-invoices_1

Only 4 Months back !

I am not that great with code and trying to find where to go to: quote   " you modify either the tblinvoiceitems database table, or the invoice template(s)."  as mentioned in a request post from 2017. 

I am un-keen on editing template files in case I stuff something up and the site breaks ( yeah I know- Back up, Back up Back up!!!)

So 3 years on from that people are still asking for this feature 🙂

Is this going to be implemented OR is there a simple solution NOW!  that I am unaware of?

I have been searching the internet and community but cannot find HOW to (easily ) change it. It does seem a little crazy having your Customers Call you saying they didn't order those services from you, then having to explain that there is a "NO" after the invoice item that they neglected to see.

Help | Suggestions | New Feature  ???

Regards,

Wayne

 

Share this post


Link to post
Share on other sites

You can remove configurable options with action hook using InvoiceCreated and InvoiceCreationPreEmail hook points. Select items descriptions, remove configurable options then override all descriptions so that they don't include configurable options.

Share this post


Link to post
Share on other sites
11 hours ago, Crashtest007 said:

I am not that great with code and trying to find where to go to: quote   " you modify either the tblinvoiceitems database table, or the invoice template(s)."  as mentioned in a request post from 2017. 

I think it would take longer to explain exactly how to do it than it would to actually just do it... I know a few developers, outside of this place, who get a regular income from selling hooks that solve this issue and i'm always reluctant to damage their income by revealing too much about the specifics.

11 hours ago, Crashtest007 said:

I am un-keen on editing template files in case I stuff something up and the site breaks ( yeah I know- Back up, Back up Back up!!!)

well unless you edit the database with hooks, you would certainly have to edit the pdf template as that can only be altered directly (unless the database source is altered).

11 hours ago, Crashtest007 said:

Is this going to be implemented OR is there a simple solution NOW!  that I am unaware of?

WHMCS won't give you a time-frame - it's not a feature of the v8 betas, so it's not going to be implemented this year.

i'm unaware of an off-the-shelf solution, but no doubt, Kian will produce one of his trojan hooks at some point for this - i'm surprised he hasn't already. 🙄

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.


  • Similar Content

    • By jljubich
      I have noted in WHMCS 5.2.10 (and now in 5.2.12) that Configurable Options were unable to add or edit items when there are about 7 in a list. I mean that items can be added or edited in new lists; but, when reaching a determined number of items, they are not able to be added or edited anymore. Did you also note this issue as well?
    • By Webdomain.com
      Actually the Configurable options quantity slider only allows to have a quantity to start from but not to bill from.
      For example, if you configure a Disk Space to start from 5GB and bill each GB 1 Euro, the customer will be invoiced 5 Euros per default.
      What if I wanted to offer the first 5GB?
      Will I will need to configure a coupon code, a bundle or use the dropdown list?
      Which is really not a good commercial ergonomic.
       
      Actually, I already opened a feature request but seeing how long we already asked for Multilingual products titles and descriptions I am not that optimist to see this implemented anytime soon.
    • By J666GAK
      Hello I have recently installed the NHP2014 Theme
       
      It may be coincidence, but not I am unable to login to my admin account. I am prompted for my credentials which I enter, and am then presented with a blank page at URL ../admin/dologin.php
       
      I don't know what to try?
       
      Please help if you can
    • By Stephenitsg
      Since WHM wont add it as a feature, here is the code to do it yourself...
       
      Code uses a couple Regex searches to remove the offending lines and leave your invoices squeaky clean.
       
      viewinvoice.tpl
      (Replace the Foreach loop)

      {foreach key=num item=invoiceitem from=$invoiceitems} {php} $text = preg_replace("/\:\s0\sx\s/","+",$this->_tpl_vars['invoiceitem']['description']); $text = preg_replace("/.*\+/","+",$text); $text = preg_replace("/\+.*/","",$text); $this->_tpl_vars['invoiceitem']['description'] = $text; {/php} <tr bgcolor=#ffffff><td id="invoiceitemsrow" style="border:1px solid #cccccc;border-bottom:0px;">{$invoiceitem.description}{if $invoiceitem.taxed eq "true"} *{/if}</td><td align="center" id="invoiceitemsrow" style="border:1px solid #cccccc;border-bottom:0px;border-left:0px;">{$invoiceitem.amount}</td></tr> {/foreach}
       
       
      invoicePDF.tpl
      (Replace the Foreach loop)

      foreach ($invoiceitems AS $item) { //These 3 lines remove 0 Quantity items, and the 4th line set the new string to the running variable $text = preg_replace("/\:\s0\sx\s/","+",$item['description']); $text = preg_replace("/.*\+/","+",$text); $text = preg_replace("/\+.*(\n?)/","",$text); $item['description'] = $text; $rowcount = $pdf->getNumLines($item['description'], 140); $pdf->MultiCell(140,$rowcount * 5,$item['description'],1,'L',0,0); $pdf->MultiCell(40,$rowcount * 5,$item['amount'],1,'C',0,0); $pdf->Ln(); }
       
       
      Removes 0 quantity configurable addon lines from invoices so your customers don't think they are being billed for stuff they didn't sign up for.
       
      Enjoy,
      -Stephen
    • By joedavis
      Hi,
       
      I would like to modify the configureproduct.tpl in the Ajax cart template to update the pricing information next the configurable options based on the selected billing cycle, if they have pricing for the billing cycle. If the options do not have pricing for the selected billing cycle, I would hide or disable them.
       
      I know how to get to the proper values for the configurable options but these do not update when the billing cycle changes and the configurable options objects do not contain pricing for all of the cycles, therefore I have to force the page to reload when the billing cycle is changed so that the proper prices are displayed according to the billing cycle. This seems kind of silly when I can update the order summary with the recalctotals ajax call.
       
      So, I am left with two questions:
      1) Is there documentation somewhere on what ajax actions are available for the cart.php?
      2) Is there some way to do what I am asking without reloading the page?
       
      Thanks,
      Joe
  • 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