Edit Invoice Product Options

Hi there,

I want to have the product options in the invoice and order summary shown a little different, I want to replace the , for a

Plus I want to add a row underneath these options which should be filled with a custom products['extra'] variable.

But in the code, functions etc. I cannot find where this is handled. At what point in the code are the options taken from the database and send to the invoice? At what point can I do some manipulation?

Best regards,

Lianne

factuur-options.JPG

Try

design/themes/YOURTHEME/mail/templates/orders/invoice.tpl

Try

design/themes/YOURTHEME/mail/templates/orders/invoice.tpl

As far as I can see, Lianne-v-O uses new invoice editor

As far as I can see, Lianne-v-O uses new invoice editor

Yes, that is true!

This cannot be changed without diggin in to core..

This cannot be changed without diggin in to core..

I can handle digging in the core code!

But so far I could not find where to do this.

Might be easier to turn off the new Invoice Editor feature and go back and rearrange the layout in

design/themes/YOURTHEME/mail/templates/orders/invoice.tpl

to match your needs. I have done this for many of my clients. You have more control this way.

Might be easier to turn off the new Invoice Editor feature and go back and rearrange the layout in

design/themes/YOURTHEME/mail/templates/orders/invoice.tpl

to match your needs. I have done this for many of my clients. You have more control this way.

But still... that would be a step back wouldn't it... And I would have to do all mailtemplates all over again. Because I just made all documents and email templates the way the client wants.

And the variables must come from somewhere, not from outer space. I quess I just have to spent more time finding it myself...

I had to rebuild some parameters of invoice, part I needed found here

http://forum.cs-cart.com/topic/44054-easy-editing-of-invoices-and-email-notifications/?view=findpost&p=264398

probably options are somewhere near by..

But still... that would be a step back wouldn't it... And I would have to do all mailtemplates all over again. Because I just made all documents and email templates the way the client wants.

And the variables must come from somewhere, not from outer space. I quess I just have to spent more time finding it myself...

Hi there,

I ended up going back to the "old" mail/invoice system, where I could use the hooks to add info to where I wanted it too. Also found out that a purchased addon did not show up in the new invoice system as well. This also used hooks. So going back to the old system was the best solution. Much better to customize. Inspired by the new system, I re-modeled the layout, so it looked more like the new system. Well, only on the e-mail that is, because I liked the layout of the old invoice better.

Thanks everyone for inspiration.