Items formatting on invoice

0
I am setting up my email invoice and there are a number of issues but most important is the screwy way in which the invoice price is setup. I have a test invoice that I am charging $10 and here is what the email invoice spits out with just the token {items}.

BHBasic Hosting
Basic Hosting$10.001.00$0.000.00%$10.00

For one thing I do not need to have the SKU number and even so it should not be part of the item, it should be its own entity so I can properly format it. Then there is the issue where the name of the product is listed first and then it is listed again as part of the price. Not only that but there is no space between it and the price. Then the really screwy thing is the way everything else is just jumbled together at the end making it far more difficult to see what is owed than should be.

How do I remove the product name and the junk behind the price so it looks like this?

Basic Hosting
$10.00

Accepted Answer

Wednesday, February 25 2015, 09:06 PM - #Permalink
1
problem solved. what happened is that when you reinstalled, looks like the templates were not being re-created, so you still had the old ones. so I manually replaced the code for the original one. it's now ok.

you can now edit the template (using your logo and such), but PLEASE do it using the non-HTML mode! :)

PS: by the way, we are building a new template-rendering mode that will allow to use the HTML mode with no problems. but for now, please stick to the text edit option :)
The reply is currently minimized Show
Responses (19)
  • Accepted Answer

    Monday, February 23 2015, 11:07 PM - #Permalink
    0
    Just as a note, while I am not as proficient at php as I would like to be, I know my way around and really all I need is to be pointed in the right direction (show me the file('s)) that need editing and I can do the rest.

    Thanks...
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 24 2015, 05:56 PM - #Permalink
    0
    I hope this was just an oversight and that your support does not take days to reply. I need to get this online and working as soon as possible. Please dont make me regret my purchase.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 24 2015, 06:47 PM - #Permalink
    0
    Hello,

    Sorry for the delay. It is indeed on oversight, we had a few issues with the email and we didn't get all of them.. I'm now manually going to all the latest entries on the forum to see what didn't get responded. I know this is no excuse, I'm sorry for the late answer! usually we answer within 24 hours...

    as for your question:

    the screwy way the invoice looks is because you edited the invoice template using the HTML mode (which is highly not recommended). what happened then is that the joomla editor messed up the HTML code and that's why you see the invoice that way.

    the way to solve this is simple: just re-install invoice manager, and the template will be added again. if you then need to edit it (to remove SKU and the things you mention), please do it so using the TEXT edit mode (not the HTML) to avoid the same issue.

    Please let me know if that helps!

    once more, sorry for the delay!
    • Germinal Camps
      more than a month ago
      well actually that I see it.. your question is from yesterday, not even 24 hours ago..! I thought it was older... you said "I hope it does not take days to reply" so I asumed it was older... but it's not even 24h old, so it's actually within the normal response time... :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 06:04 PM - #Permalink
    0
    Thanks Germinal, yea I am in a bit of a hurry so was being impatient and I know we are half a world apart so the delay is to be expected...

    I will go through and do as you suggest and see if this fixes my issues. Thanks for getting back with me...;)

    By the way, I edited the template in code editor and did not use JCE (my editor of choice).
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 06:22 PM - #Permalink
    0
    So I did what you said and did nothing to the template and it still comes back with this funky price. See the attachment. This is using nothing but the default as set by a fresh install.

    All of the information below is coming right out of the {items} tag.
    Basic Hosting$10.001.00$0.000.00%$10.00
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 06:29 PM - #Permalink
    0
    Hello!

    please, remember to CHANGE the template assignation in the invoice (if you haven't changed this, it will still be pointing to the old, screwed up template)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 07:52 PM - #Permalink
    0
    As you can see from the screen shot it is the default template. What I am getting at is whatever field I put {items} in it returns "Basic Hosting$10.001.00$0.000.00%$10.00". I just want it to return Basic Hosting $10.00.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:12 PM - #Permalink
    0
    hello,

    I can't see that in the screenshot.. (which screenshot?)

    and, again. please go to the invoice and assign the right invoice template (the NEW one, which will have the same name, but it's not the same!)

    it will be called Invoice (Bootstrap), but there will be 2 of those. it has to be the newest one.

    Please, I'm 100% sure of what I'm saying, I've seen it many many many times. please check this guy: http://www.joomlathat.com/support/invoice-manager/general/very-bad-default-invoice-template

    he had the same exact issue as you. he complained and I told him the same. as you can see in his answer, he aknowledges that this is the solution!

    if you want I can do this for you in your website, but again, I'm absolutely certain of what I'm saying. I bet you a box of beer ;)

    please, just re-check it one more time

    thanks!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:17 PM - #Permalink
    0
    Sorry if I am being a pain, I assume when you say to assign the template you mean from the Invoice details tab to set the Template to Invoice (Bootstrap) correct?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:19 PM - #Permalink
    0
    yes exactly. if you want, send me a screenshot and I'll confirm you.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:37 PM - #Permalink
    0
    OK, I did that and it did reset the template. However my issue still persists. The template I made worked just fine for me but regardless what is returned for {items} is garbled. Please see the screenshot I am sending to you.
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:48 PM - #Permalink
    0
    please, send me backend access to the website and I'll indicate to you what was wrong and fix it.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:50 PM - #Permalink
    0
    I just reviewed the very first invoice I sent before I even knew there was a template manager and it too has the same issue I am asking for help with. Can you tell me which php file is responsible for populating for {items}?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:53 PM - #Permalink
    0
    hello,

    it's not the file. Please, trust me on this one. I don't you don't believe right now but the issue is what I'm saying.
    I've seen this so many times I can't even count. it's because the template was edited with the HTML mode and what this makes is to place the {items} tag outside of its natural place in the template.

    please, there's no point trying to convince you. if you just give me access to the website, I'll fix it and make a couple screenshots to show you what you were missing.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:54 PM - #Permalink
    0
    Sorry we submitted our replies at the same time, Where do I give you the details for a super admin login at?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 08:58 PM - #Permalink
    0
    I just used the contact form on your site to send you the login details, hope that was the correct way to do this for you?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 09:17 PM - #Permalink
    0
    Thanks Germinal, sorta confused though... you say not to use the non-html to edit. I understand that to mean not to use plain text but rather use the HTML editor? That goes against the instructions and I can relate to the built in editors messing this up and I never did use it. I see now that {items} is looking for a specific formatted table in order to populate the fields correctly. That is just weird to me, but very glad to hear you are building a new rendering mode for this.

    Thanks for the awesome support and for putting up with my ignorance. I learned something about php and populating forms today...;)

    BTW, how are you liking using EasyDiscuss for your support forum?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 09:21 PM - #Permalink
    0
    nono!
    USE the plain text.
    DO NOT USE html editor.
    sorry if I confused you! :)

    PS: pretty happy with EasyDicuss! :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 10:12 PM - #Permalink
    0
    Thanks again Germinal, I will backup what is there and see what I can do to clean up this template to my needs...
    The reply is currently minimized Show
Your Reply