Post by stevesnow50 » Fri May 18, 2018 9:09 pm

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!

Newbie

Posts

Joined
Thu Mar 29, 2018 12:34 am

Post by xxvirusxx » Sat May 19, 2018 12:14 am

You want admin mail to be like customer mail?

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by stevesnow50 » Mon May 21, 2018 3:10 pm

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?

Newbie

Posts

Joined
Thu Mar 29, 2018 12:34 am

Post by straightlight » Wed May 30, 2018 9:05 pm

Since customization is involved … I fail to see why this inquiry has been posted in the bug reports section of the forum.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by stevesnow50 » Sat Jun 02, 2018 4:08 am

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

Newbie

Posts

Joined
Thu Mar 29, 2018 12:34 am

Post by stevesnow50 » Fri Jun 22, 2018 11:32 pm

Does anyone have an answer to this one?
At all?

Newbie

Posts

Joined
Thu Mar 29, 2018 12:34 am

Post by straightlight » 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

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by stevesnow50 » Tue Jul 10, 2018 12:44 am

Hey thank you - I shall give that a go and post back.

Steve

Newbie

Posts

Joined
Thu Mar 29, 2018 12:34 am

Post by crosland » Mon Oct 14, 2019 12:48 am

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 :)

Active Member

Posts

Joined
Fri Sep 13, 2019 9:04 pm

Post by ArabianMaiden » Thu Oct 01, 2020 12:25 am

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. :-(

Newbie

Posts

Joined
Thu Oct 01, 2020 12:23 am

Post by straightlight » Thu Oct 01, 2020 11:00 pm

This issue has already been fixed on the master branch.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 62 guests