Jump to content

Modifying print order form email


Guest imended

Recommended Posts

Guest imended

Hi,

I use print order form as payment. I have a mod that sends an email to customer when he places an order.

I'm trying to modify that email so it looks better, but I'm having a problem:

Product Qty Code Price

C018 1 C018 €15.00

Other example:

Product Qty Code Price

C018********** 1 C018 €15.00

In the second example, I used php strpad function to fill the right side of the product field with (*), but if the field is bigger it doesn't work because the other fields goes to another position.

How can I do that, so I can get a fixed lenght in the Product field, so the others fields remain on the same position?

Thank you.

NOTE: in this post there is no spaces between fields, but in my code there is.

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.

×
×
  • Create New...