Jump to content

Modifying Invoice details in Templates


as3791

Recommended Posts

Forgive me in advance if my terminology is incorrect.

 

Problem to be addressed:

 

In our business model we will have few Clients (resellers) who will have lots of subscription product orders associated (for their downstream clients). When an order is placed for a Product the description field (in drop down list, and in invoice line item) is the generic product name, and does not help to display the downstream client the order is for.

 

Challenge:

 

So we need to find a way to either modify the display name for the order (e.g. add the client ID/name in the description field), or modify the invoice templates to show an additional field next to order description. We were thinking of using subscriptionID (from Order details), or a custom field from the product.

 

Or another solution....anyone, anyone?

 

Question:

 

- are we able to do anything to modify the order description so that this will flow automatically into the invoice line item displayed/emailed?

 

- Are we able to reference other fields/custom fields in templates, and if so now do we get these?

 

- Is their a definitive list of all variable names available to use in Smarty Templates (tpl) files? e.g. {$invoiceitem.description}, $invoiceitem.taxed etc..?

 

Thanks in advance! as3791

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