Jump to content

Resolved - Invoices not displaying VAT Number / address / phone number


vidmarc
 Share

Recommended Posts

If you are referring to the Shipping/Packing Slip (which serves as an 'invoice'), the admin template file orders.print.php has this:

      <fieldset class="other"><legend>{$LANG.account.contact_details}</legend>
        <div><label>{$LANG.common.email}</label><span><a href="mailto:{$order.email}">{$order.email}</a></span></div>
        <div><label>{$LANG.address.phone}</label><span>{$order.phone}</span></div>
        <div><label>{$LANG.address.mobile}</label><span>{$order.mobile}</span></div>
      </fieldset>

We need to decide where to place the retailer's tax-id number. That number is entered on the Taxes, Tax Details tab, and would be different depending on which tax was applied to the order. If you want to place a specific note info into a static location on the form, I suggest in the footer block:

      <div id="thanks">{$LANG.orders.title_thanks}</div>
      <div id="footer">
        <p>{$STORE.address}, {$STORE.county}, {$STORE.postcode} {$STORE.country}</p>
        <p>VAT Registered 2013: 1234-5678</p>
      </div>

 

Link to comment
Share on other sites

From the Orders list, click the printer icon for any order. Nothing is changed about the order, so feel free to bring this up as often as necessary. Your browser should open the Print dialog window, but you will just dismiss this without having actually printed. Then use your browser's Print Preview feature to get a good idea what it will look like on paper.

Link to comment
Share on other sites

I'm not sure which email you want to modify, but Admin>File Manager>Email Templates>click on the appropriate flag of the email you want to edit. Be sure to edit not only the HTML but the text version. Some emails have code you can only see from the Source view that you don't want to mess up, so I always edit from the Source version, not the WYSIWYG.

Link to comment
Share on other sites

Where is the invoice company logo chosen for emails?

 

Create a variant of your logo that is (I estimate) no larger than 300x120 pixels.

 

In admin, Store Settings, Logos tab, upload that version of your logo. When it appears in the Current Logos list, enable it, and use the selector to assign it to Email Templates. Click Save.

 

The logo is placed in the email template at Email Templates, Email Templates tab, edit the Default Emails, HTML Content tab, then position the icon that looks like a dog-eared sheet of paper ripped in half.

Link to comment
Share on other sites

When that happens, the cause is very likely what mode the editor was in when editing the template: design mode or source-code mode.

 

In design mode, one selects the text and clicks the B tollbar button to make things bold. In source-code mode, one would have to make actual HTML code: <b>B</b>.

 

If you entered <b>B</b> in design mode, the editor converts that to &lt;b&gt;;B&lt;/b&gt;. This is the "htmlentities" conversion, and is necessary so as to show HTML markup code in a browser (or whatever you use to view HTML-based documents) without the browser actually rendering that HTML markup code (which it is doing when it shows a '<' instead of the &lt; sequence).

 

Or, in your email reader, you may be viewing the email's text variant (CubeCart sends both the HTML and the Plain text variants in the emails) that has HTML markup code in it. When editing the email template, this would happen if HTML markup code were entered in the admin Edit Email Template, Plain-Text tab.

Link to comment
Share on other sites

When editing in the textarea (the Plain Text tab) that is how the the layout will appear in an email when the email program is set to view the plain text part of the email. Generally, if you read your email at a web site, finding the command and getting that program to display the plain text component is very obscure to impossible.

Link to comment
Share on other sites

I have seen on the rare occasion, a messed up email reader that does not know how to show the HTML component, so it shows all of it in raw HTML form. When you are viewing this email sent to you, does any part of it appear as if it proper HTML-rendered, and only the edited stuff is raw HTML?

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.

 Share

×
×
  • Create New...