Shipping and Handling

Is there a way for me to change the freight line on our invoices to Shipping and Handling? or add a line for Shipping and Handling?

Thanks,

Pat

Hi there,
I am not sure exactly which document you are looking at but I belive it is the invoice pdf.
In that case you can head over to Admin→Config Settings→Custom documents.
and download and open invoice pdf in your favorit text editor(recomend visual studio code).

find this line

in the editor.
Change it to what you like it to say. Save and upload it again.
And Bob’s your uncle.
//H

Looks to me like config settings is for defining who has rights. Not seeing a way to download the HTML.

Pat,

This is what Henrik is talking about:

It’ll take you to:

Just be careful if you are going to update the file. Make a backup copy of the document before making any changes.


Henrik,

I had to look at “And Bob’s your uncle.” :sweat_smile: . That’s not a common expression in in Texas, USA.

I thought it was a typical american expression…:joy:

BTW…is it really that important to make a backup?
You can always revert to default.
it’s really only important once you have made the first change and you want to be able to revert back to that if you make another change that fails for some reason.

I did save a copy. Hopefully all goes well now.

Right, I didn’t know if they have the original TT file, or if it was updated by them or CETEC. Better safe than sorry.

1 Like

So the Shipping and Handling showed up on the invoice as I wanted but the $ dollar amount did not fill in. What do I need to do here? Do I have to change the title where we enter freight charges?

if you provide us with a snippet of your code in the document I belive we can help.
//H

How can I send you pdf’s?

Hi,
either you attach them here.

Either by clicking the upload icon.
Or you can just copy the code snippet and paste it here using the “</>” icon.

or you can send a message to me with the docs attached.

//H

Hi Henrik,

Di you receive the docs I sent a couple of weeks ago?

Pat

Hi,
No, I do not have any messages in my inbox here on the forum from you.
I guess you tried to PM me here but in that case something has gone wrong.

I resent the docs a couple of days ago. did you receive them?

Hi Pat,
No I did not.
I tried sending you a message to see if you receive that.
If you do you can attach the docs there.

pdf_document (1).tt Rev 2.txt

pdf_document (1).tt original.txt

Alright I see what you did there.

<th class="align-right" style="text-align: right;">Freight:</th>
<th nowrap class="align-right"> [% invoice.freight.format_currency(total_precision, line.resale_currency.abbrev ) %] </th>

Above is the original code

Now you can change Freight text that is displayed to “Shipping and handling”

And that is the first element.

<th class="align-right" style="text-align: right;">Freight:</th>

But you cannot change the second element

<th nowrap class="align-right"> [% invoice.freight.format_currency(total_precision, line.resale_currency.abbrev ) %] </th>

becuse invoice.freight is the object that holds the informtion of the freight cost.
The format part after that is only to format the value to fit the rest of your system settings.

So you need to leave that untouched.

I hope that clear things up.
If not just get back to me.

//H

Did it work out alright for you?