Post by stevez » Wed Jun 10, 2020 8:03 pm

Hi,

After an upgrade from an old version (10 years old approx) to 3.0.3.2 we've found that the size selection that appears in products (and is a required field) does not appear in the confirmation email that goes out to the shop administrators.

Anyone seen this before and is there a fix?

Many thanks for any help!

New member

Posts

Joined
Thu May 21, 2020 9:38 pm

Post by straightlight » Wed Jun 10, 2020 8:06 pm

Please post the URL and route location you are referring to.

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 letxobnav » Wed Jun 10, 2020 8:20 pm

catalog/view/theme/default/template/mail/order_alert.twig

Code: Select all

{% if option %}
needs to be

Code: Select all

{% if product.option %}

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Wed Jun 10, 2020 8:38 pm

Already fixed on the pre-release version.

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 stevez » Wed Jun 10, 2020 8:41 pm

Here's an example - see the "available options". It doesn't appear in the confirmation email.

https://www.braggsschoolwear.co.uk/inde ... earch=OLM4

New member

Posts

Joined
Thu May 21, 2020 9:38 pm

Post by stevez » Wed Jun 10, 2020 8:52 pm

Thanks letxobnav. I see that it was just {% if option %}, so I've edited it.

I'm not familiar with .twig files. I re-named it to .txt to edit it, and then back to .twig. However, when mousing-over the file, windows recognises it as a "text document" whereas the other .twig files are recognised as "unknown".

Will having changed it from .twig to .txt and then back to .twig cause it not to operate as it should? I don't want to break the site...

Thanks!

New member

Posts

Joined
Thu May 21, 2020 9:38 pm

Post by letxobnav » Wed Jun 10, 2020 8:59 pm

Already fixed on the pre-release version.
Well, already.
It's been there since 3.0.1.1 and it still is in 3.1.0.0 alpha

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Wed Jun 10, 2020 9:02 pm

letxobnav wrote:
Wed Jun 10, 2020 8:59 pm
Already fixed on the pre-release version.
Well, already.
It's been there since 3.0.1.1 and it still is in 3.1.0.0 alpha
Which is why the pre-release exists; to let go of the past.

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 letxobnav » Wed Jun 10, 2020 9:02 pm

not sure what you are using to edit it, I always use notepad++, best editor out there.
twig files are just text files, as long as the extension is .twig it is fine.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by letxobnav » Wed Jun 10, 2020 9:03 pm

Which is why the pre-release exists; to let go of the past.
3.1.0.0 is not the past.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Wed Jun 10, 2020 9:05 pm

letxobnav wrote:
Wed Jun 10, 2020 9:03 pm
Which is why the pre-release exists; to let go of the past.
3.1.0.0 is not the past.
Compared to the latest changes in the pre-release and on the master branch, it is becoming the past. However, we won't see that for a fact until the master branch gets officially released (no date period can be provided).

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 stevez » Wed Jun 10, 2020 9:24 pm

Thanks again letxobnav. I've uploaded the edited .twig file.

New member

Posts

Joined
Thu May 21, 2020 9:38 pm

Post by paulfeakins » Thu Jun 11, 2020 7:17 pm

letxobnav wrote:
Wed Jun 10, 2020 8:59 pm
Already fixed on the pre-release version.
Well, already.
It's been there since 3.0.1.1 and it still is in 3.1.0.0 alpha
I wouldn't really recommend using that in production.

Instead the latest version is currently 3.0.3.3:
https://www.opencart.com/index.php?route=cms/download

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Thu Jun 11, 2020 7:43 pm

paulfeakins wrote:
Thu Jun 11, 2020 7:17 pm
letxobnav wrote:
Wed Jun 10, 2020 8:59 pm
Already fixed on the pre-release version.
Well, already.
It's been there since 3.0.1.1 and it still is in 3.1.0.0 alpha
I wouldn't really recommend using that in production.

Instead the latest version is currently 3.0.3.3:
https://www.opencart.com/index.php?route=cms/download
Or the 99% resolved issue of the pre-release version: viewtopic.php?f=2&t=218204

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 letxobnav » Thu Jun 11, 2020 9:17 pm

I wouldn't really recommend using that in production.
We are not talking about what to use where, we are talking about OC's disorganized release processes which will make fixed bugs re-appear in later releases.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Thu Jun 11, 2020 9:42 pm

letxobnav wrote:
Thu Jun 11, 2020 9:17 pm
I wouldn't really recommend using that in production.
We are not talking about what to use where, we are talking about OC's disorganized release processes which will make fixed bugs re-appear in later releases.
I'm not totally sure what you mean. Since 1.5 weeks, OC v3.0.3.4, pre-release version, seem to have been taken care of almost overall bugs where the Bug Reports section of the forum have been well-responded to those claims. Would you care to respond to that thought? Based on your feedback, it will be reviewed for quality assurance.

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 8 guests