Page 1 of 1

Product Options missing in Admin order alert email

Posted: Fri May 18, 2018 9:09 pm
by stevesnow50
I know that a similar topic has been posted in General Topics but I thought I would post it here as it really appears to be a bug.
I have version 3.0.2 installed and everything works OK except that on the admin order alert email, the product options simply do not appear in the email body.
The code looks OK to me.

Does anyone have any experience of this and more importantly does anyone have a resolution please?
Or - does anyone NOT have this issue with 3.0.2?

Thank you!

Re: Product Options missing in Admin order alert email

Posted: Sat May 19, 2018 12:14 am
by xxvirusxx
You want admin mail to be like customer mail?

Re: Product Options missing in Admin order alert email

Posted: Mon May 21, 2018 3:10 pm
by stevesnow50
No that's not a problem to me.
I have customised the admin email to include other details but the product options should appear by default as the code is there, but there is obviously a bug because they don't.
Anybody have any updates on this or is anyone experiencing the same?

Re: Product Options missing in Admin order alert email

Posted: Wed May 30, 2018 9:05 pm
by straightlight
Since customization is involved … I fail to see why this inquiry has been posted in the bug reports section of the forum.

Re: Product Options missing in Admin order alert email

Posted: Sat Jun 02, 2018 4:08 am
by stevesnow50
Thanks for the reply.

What I'm trying to say is that the code to show the product options in the admin order alert email is there by default but it doesn't work.
There's no customisation involved in that bit.
All I was trying to say is that I have customised the email by adding fields OK but the product options weren't even showing before I did that, so that had no effect.
All I can ask is give it a go with a default installation and see it these come through for you - they don't for me!
I know that there are one or two posts on the general forum commenting on this as well.
Does this work for you on 3.0.2?

Thanks

Re: Product Options missing in Admin order alert email

Posted: Fri Jun 22, 2018 11:32 pm
by stevesnow50
Does anyone have an answer to this one?
At all?

Re: Product Options missing in Admin order alert email

Posted: Fri Jun 22, 2018 11:45 pm
by straightlight
Already reported issue (but not yet fixed on GitHub, it seem). In catalog/view/theme/<your_theme>/template/mail/order_alert.twig file,

find:

Code: Select all

{% if option %}
replace with:

Code: Select all

{% if product.option %}
Then, ensure to have applied these steps before trying again: viewtopic.php?f=176&p=725084#p718325

Re: Product Options missing in Admin order alert email

Posted: Tue Jul 10, 2018 12:44 am
by stevesnow50
Hey thank you - I shall give that a go and post back.

Steve

Re: Product Options missing in Admin order alert email

Posted: Mon Oct 14, 2019 12:48 am
by crosland
stevesnow50 wrote:
Tue Jul 10, 2018 12:44 am
Hey thank you - I shall give that a go and post back.

Steve
Well, the OP never came back :(

For anyone else who is looking, I can confirm the fix works :)

Re: Product Options missing in Admin order alert email

Posted: Thu Oct 01, 2020 12:25 am
by ArabianMaiden
straightlight wrote:
Fri Jun 22, 2018 11:45 pm
Already reported issue (but not yet fixed on GitHub, it seem). In catalog/view/theme/<your_theme>/template/mail/order_alert.twig file,

find:

Code: Select all

{% if option %}
replace with:

Code: Select all

{% if product.option %}
Then, ensure to have applied these steps before trying again: viewtopic.php?f=176&p=725084#p718325
Link doesn't work. Seems this problem has been present for years and still not fixed unfortunately. :-(

Re: Product Options missing in Admin order alert email

Posted: Thu Oct 01, 2020 11:00 pm
by straightlight
This issue has already been fixed on the master branch.