format {order_summary} - Forum | JoomShaper
Staff replied EasyStore

format {order_summary}

Asked by Webmediacontent 1 year ago Last activity 4 months ago

Hello

The order summary in the customer email doesn't look particularly good. See screenshot. How can I edit it? Or is there a way to display only certain details?

And there is the code {shipping_address} but how do I display the billing address?

Kind regards, Adrian

25 replies

Ofi Khan Staff

Hello Webmediacontent,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing.

You can customize {order_summary} here:

templates/allura/html/layouts/com_easystore/emails/order/summary.php

You have to create the path and override it.

We do not have variables for {billing_address} yet. I have asked the developer team to add it in the future version.

Best regards

Webmediacontent Asked this
1 year ago · edited

OK, thanks, I'll take a look. It might be great if you could format the emails with the SP Page Builder, just like the product pages.
The same should apply to the PDF of the invoice and the delivery note.

Where can I currently customize the PDF for the invoice?

When choosing a shop this time, I decided on easystore because I thought, "Wow, cool, easy to design without having to mess around with PHP files"
It works great on the product page. But there are just too many things wrong with the email and the PDF invoice, and now I have to mess around with PHP files again.

Ofi Khan Staff
1 year ago · edited

You are welcome 😊

All things did not go with your expectations. I understand that and can't do much about it. However, we will work on these areas and build more flexible options in the future. Currently, you have to use override system.

Sorry, you cannot edit the PDF.

Webmediacontent Asked this

Okay, I'll try. But these are only parts of the invoice. Where can I customize the invoice as a whole, for example, if I want to customize the footer?

Ofi Khan Staff

Apology for my previous reply. I have discussed the requirement with the developer team. Unfortunately, this invoice view cannot be edited for now. We will add an option in the future.

Webmediacontent Asked this

Hello, it's me again. I tried to adjust everything, but a lot of things aren't right.

I noticed that the summary.php in the email the shop owner receives is actually fine. However, it's received completely differently by the customer, and it should be the same as it is for the shop owner.

So if I make adjustments to the summary.php, only the appearance of the shop owner's email changes.

And another question about the path:
templates/allura/html/layouts/com_easystore/emails/order/summary.php

Should ALLURA be replaced with my template, or do I have to create the path exactly as it is?

And with the email notifications, there's also the problem that there's no gap between the currency and the amount.

Ofi Khan Staff

Thanks for your feedback. I have shared the issues with the developer team. Hopefully, it will be fixed soon.

Yes, instead of allura, you should use your template_name to create the overrides. For example, your template folder name is helix_ultimate, then the file location will be: templates/helix_ultimate/html/layouts/com_easystore/emails/order/summary.php

Webmediacontent Asked this

Okay, thanks. I just realized that it's probably Gmail that's causing the formatting to not display correctly.
If I order with a different email address, it will arrive correctly for the customer.

Ofi Khan Staff

You are welcome 😊

If the answer resolved your query, you can mark it as accepted to close the post and guide others with similar questions. You’ll find a button to accept answers below each comment.

If you need further assistance, feel free to let us know!

Webmediacontent Asked this
1 year ago · edited

Sorry, I have another question.
The delivery note has both the billing address and the delivery address on it.

The invoice only has the billing address. But I need both.

I think I could simply get the data from the delivery note files, but where is it stored?
Is it here? components/com_easystore/layouts/order

But now I see that in the address.php of the invoice both addresses should be displayed if different ones were specified or am I seeing this wrong?

Log in to reply.