I have added a few tables and done some editing on invoice.tpl under mails/templates/orders/ so that customers making a new order gets that new template. But if i try and print out a order from backend it shows the old template.
Where must i apply the same changes so the backend template is the same as the new and edited customer invoice template?
I have the newest version of cs cart
hi Aron,
CS-Cart is tricky about it so if you modify invoice, you should do it in 2 folders:
- design/themes/[THEME]/mail/templates/orders where [THEME] is “responsive” or “basic” (meaning CS-Cart theme of your store);
- design/backend/mail/templates/orders
The invoice templates by default are identical in these 2 folders so if you modify template file in one folder, you may simply copy it to the other.
p.s. it is advised to make a backup copy of old invoice templates.
[quote name='Damir (WSA-team)' timestamp='1426746674' post='208322']
hi Aron,
CS-Cart is tricky about it so if you modify invoice, you should do it in 2 folders:
- design/themes/[THEME]/mail/templates/orders where [THEME] is “responsive” or “basic” (meaning CS-Cart theme of your store);
- design/backend/mail/templates/orders
The invoice templates by default are identical in these 2 folders so if you modify template file in one folder, you may simply copy it to the other.
p.s. it is advised to make a backup copy of old invoice templates.
[/quote]
Is there not any invoice editors our there that you can change the layout with instead of going directly in the code and make changes? I tried Ecom Labs invoice editor but it does looks like this only affect the one i am actually editing.
I updated the invoice.tpl on design/backend/mail/templates/orders but it did not affect anything when i tried to print out a pdf file for a order. Any ideas?
Hi,
I still have the problem when i print out a pdf from backend. The text will not update itself, even tho i have updated invoice.tpl under
[quote]/design/themes/responsive/mail/templates/orders[/quote] and
[quote]/design/backend/mail/templates/orders[/quote]
Also when a customer logs in and wants to print out the order/pdf it has the old text etc… Its not update. Any idea what i am doing wrong here? Cache etc is cleared.
hi,
please try to remove the cache folder manually. For CS-Cart 4.x:
- var/cache
if it does not help, please provide ftp access via Personal Messanger.
best regards,
WSA team
[quote name='Damir (WSA-team)' timestamp='1434650506' post='219436']
hi,
please try to remove the cache folder manually. For CS-Cart 4.x:
- var/cache
if it does not help, please provide ftp access via Personal Messanger.
best regards,
WSA team
[/quote]
So via FTP i just delete the cache folder all together?
[quote name='Aron' timestamp='1434651376' post='219439']
So via FTP i just delete the cache folder all together?
[/quote]
Yes, it will regenerate, but if concerned rename it to something else first
[quote name=‘johnbol1’ timestamp=‘1434651736’ post=‘219440’]
Yes, it will regenerate, but if concerned rename it to something else first
[/quote]
Did not work it seems I have sent you a Personal message damir
we will do our best to assist
best regards,
WSA team
If the problem is still actual, please PM me
Big thanks to Damir. The issue was a third party module “easy invoice managment” that blocked my changes to the invoice template.
After deactiving the module it showed the invoice template like i want it to