Jump to content

Add 'Quantity' to the Invoices page


nathan.lawson

Recommended Posts

Umh... why don't you simply write for example "Hosting plan Premium x10" and insert the price multiplied by 10?

 

A lot of our clients like to see the price individually for the products without needing to dig out a calculator to figure it out.

 

This is the method we have been using but have heard no end of complaints... Lazy clients are the problem here most likely!

Link to comment
Share on other sites

Got it. It's doable and not a bad idea. For example I managed to achieve this goal in few minutes (see here) in a script of mine.

 

With an action hook you have to look inside $items["description"], find [quantity:10], create a substring to get the x10, divide the $items["amount"] by 10, send everything to frontend and add a variable in your viewinvoice.tpl and invoicepdf.tpl files.

Link to comment
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.

  • 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