Jump to content

Remove first letter from pdf invoice and dont show sumary product on email when its send a customer


loza

Recommended Posts

Hi!

first sorry for my english
I have 2 problems, with PDF data and email information, I will explain it below:

1º I bought a module to show all my products in a table format and easy to buy, the "problem" of this module is that I can only order alphabetically from A-Z or Z-A, only if I touch the code.

But I need to show the products in a specific order, so for that I have to put a letter in front of the product name. Example a.product, b.product.

My real problem comes here, when a customer or I are going to see the invoice, we can see the following data format in pdf: a.nameofproduct, b.nameofproduct (a and b are the letters I put before for my custom order). I want to delete the first letter. Any solution for this?

I've seen on a page that do the following: <a href="{$product.url}"> {$ product.name | truncate: 30: '...'} </a>

Is there any possibility of doing the same with the substring?

I was editing the following tpl: pdf / invoice.product-tab.tpl, I don't know if it's the correct tpl.

i will add image

----------------------

2nd After a customer buys in our store, he receives the following email (I will add an image of that) in the image you cannot see the breakdown of the peido. I don't know why this happens and I would like to show this information.
We have also noticed that the email is broken when received in thunderbird, in outlook there are no problems, I understand that this is because each mail client adds their styles and that is why this problem happensinvoice.thumb.jpg.c7938ea794125e45fcd5db08b775a874.jpgemail.thumb.jpg.c9d40ff01f9e98cabca9bb0080973b21.jpg

thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...