Page 1 of 1

Email ordered product list design in Phoca cart

Posted: 26 Aug 2025, 19:28
by orangia
Hi!

I am sending two different emails, one to the customer and one to the vendor with different information. When using the tag {HTML.DOCUMENT} in the customized emails, I found the documents to change it (components> com_phocacart> layouts> mail> html> order> products.php). For example I don't want the price to be shown in that. But I can't find where the documents are for the tag {DOCUMENT}. Since I want different information in the two emails, I need to make some changes in that one too (of course I am making an override).

If anybody knows how to do that, I am so grateful! :)

Regards,
Johanna

Re: Email ordered product list design in Phoca cart

Posted: 26 Aug 2025, 21:30
by Jan
Hi, the document is rendered in this layout:

components/com_phocacart/layouts/order.php

e.g. if used in PDF

When it is used in email, depends of if it is a text or html version:
HTML:
components/com_phocacart/layouts/phocacart/mail/html/order.php
TEXT:
components/com_phocacart/layouts/phocacart/mail/text/order.php

the order.php loads sublayouts from order folder.

Jan

Re: Email ordered product list design in Phoca cart

Posted: 27 Aug 2025, 10:09
by orangia
Thank you for a quick answer Jan! :)

I made an override to make changes in the sublayouts and it works in the email that goes to the vendor.
It shows this: https://imgur.com/a/nwokDAu

The email to the customer shows this (I have put red marks over what I want to remove): https://imgur.com/a/ser7WhP

Both are used with html. The only difference is that with the vendor I use the tag {HTML.DOCUMENT} and to the customer I use the tag {DOCUMENT}.

Re: Email ordered product list design in Phoca cart

Posted: 28 Aug 2025, 10:25
by orangia
Another thing. If it is not possible to change the above question. Is it possible to add the category for each product ordered in the email? I would be very grateful if someone knows how to do that! :)
/Johanna